Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000907/0.000907, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9957/0.9957, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001522/0.001522, allocations: 249.6 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6793/0.6793, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 462.2 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.523e-05, allocations: 3.953 kB / 462.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002913/0.002929, allocations: 1.795 MB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004791, allocations: 1.096 MB / 465.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.004874, allocations: 3.922 kB / 465.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.887e-05/0.004923, allocations: 12.47 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.005055, allocations: 42.58 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.005719, allocations: 179.1 kB / 465.4 MB, free: 15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.005895, allocations: 103.5 kB / 465.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.006002, allocations: 24.28 kB / 465.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.006183, allocations: 61.81 kB / 465.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006285, allocations: 35.56 kB / 465.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.006304, allocations: 5.625 kB / 465.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.006707, allocations: 192.6 kB / 465.8 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.006734, allocations: 13.45 kB / 465.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.006778, allocations: 30.66 kB / 465.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.007158, allocations: 220.6 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00716, allocations: 0.8438 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007161, allocations: 1.031 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.007165, allocations: 0 / 466 MB, free: 14.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004603/0.007625, allocations: 333.2 kB / 466.4 MB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.007664, allocations: 9.906 kB / 466.4 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.007793, allocations: 16.45 kB / 466.4 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.00795, allocations: 133.2 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.007961, allocations: 3.344 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.007975, allocations: 4.219 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.008101, allocations: 70.7 kB / 466.6 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.008109, allocations: 1.312 kB / 466.6 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.008121, allocations: 5.969 kB / 466.6 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008129, allocations: 5.031 kB / 466.6 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.008169, allocations: 15.17 kB / 466.6 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.008488, allocations: 199.8 kB / 466.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.008568, allocations: 35 kB / 466.9 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.008589, allocations: 15.77 kB / 466.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.009096, allocations: 160.7 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.009122, allocations: 34.56 kB / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.009123, allocations: 0 / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001376/0.00926, allocations: 45.62 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.009289, allocations: 51.41 kB / 467.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.009378, allocations: 132.9 kB / 467.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.009392, allocations: 29.7 kB / 467.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.009434, allocations: 96.06 kB / 467.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.009455, allocations: 16.94 kB / 467.4 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.009491, allocations: 21.69 kB / 467.4 MB, free: 13.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.009582, allocations: 318.8 kB / 467.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.009596, allocations: 8.859 kB / 467.8 MB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.009608, allocations: 0.7969 kB / 467.8 MB, free: 13.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.009641, allocations: 14.27 kB / 467.8 MB, free: 13.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.009644, allocations: 0 / 467.8 MB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.278e-05/0.009717, allocations: 56.45 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.009728, allocations: 4 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009733, allocations: 1.5 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.009745, allocations: 0.7812 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.009806, allocations: 8 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.009811, allocations: 6.656 kB / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.009836, allocations: 0 / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.009841, allocations: 0 / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/0.00991, allocations: 109.8 kB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.009936, allocations: 10.53 kB / 468 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.01004, allocations: 58.61 kB / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.01004, allocations: 0 / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01005, allocations: 0.5 kB / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01005, allocations: 0 / 468 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.01019, allocations: 89.86 kB / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01019, allocations: 0 / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.01023, allocations: 5.375 kB / 468.1 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01023, allocations: 3.938 kB / 468.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.01024, allocations: 4.891 kB / 468.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01024, allocations: 13.34 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01024, allocations: 0 / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.01033, allocations: 144.5 kB / 468.3 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.01034, allocations: 3.953 kB / 468.3 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01036, allocations: 13.56 kB / 468.3 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.01041, allocations: 0 / 468.3 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.01044, allocations: 3.984 kB / 468.3 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.01045, allocations: 4 kB / 468.3 MB, free: 12.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.725e-05/0.01047, allocations: 22.72 kB / 468.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01047, allocations: 1 kB / 468.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.01077, allocations: 67.73 kB / 468.4 MB, free: 12.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.01102, allocations: 154.4 kB / 468.6 MB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.04e-05/0.01109, allocations: 17.7 kB / 468.6 MB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.01109, allocations: 4 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.01111, allocations: 17.53 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.0113, allocations: 9.938 kB / 468.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.01184, allocations: 216.4 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.01189, allocations: 63.3 kB / 468.9 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.01192, allocations: 10.7 kB / 468.9 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.01198, allocations: 56.44 kB / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01198, allocations: 0 / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of Templates: time 0.003242/0.01522, allocations: 1.96 MB / 470.9 MB, free: 10.06 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & ./BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4852844807319343]