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.001339/0.001339, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001743/0.001743, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.001717/0.001717, allocations: 233.1 kB / 260.5 MB, free: 12.88 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.7323/0.7323, allocations: 138.4 MB / 455.4 MB, free: 1.531 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 6.773e-06/6.773e-06, allocations: 0 / 0.555 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.55e-05, allocations: 5.828 kB / 0.555 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002539/0.002565, allocations: 1.786 MB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003898, allocations: 1.086 MB / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.003979, allocations: 0 / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.033e-05/0.004029, allocations: 11.86 kB / 0.5578 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.004139, allocations: 31.72 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.004704, allocations: 187.2 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.004852, allocations: 99.41 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004969, allocations: 23.97 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.005115, allocations: 59.83 kB / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.005192, allocations: 27.91 kB / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.00521, allocations: 12 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.005467, allocations: 191.7 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.005484, allocations: 15.86 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.005521, allocations: 31.92 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005787, allocations: 219.4 kB / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00579, allocations: 0 / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00579, allocations: 0 / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005794, allocations: 0 / 0.5586 GB, free: 13.13 MB / 490.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.0004155/0.00621, allocations: 459.8 kB / 0.5591 GB, free: 12.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.006249, allocations: 12.75 kB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.006357, allocations: 20.89 kB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.006516, allocations: 143.5 kB / 0.5593 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.006526, allocations: 8.312 kB / 0.5593 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.006537, allocations: 4.375 kB / 0.5593 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.006652, allocations: 66.94 kB / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006659, allocations: 192 / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.00667, allocations: 4.375 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006679, allocations: 3.938 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.00673, allocations: 23.98 kB / 0.5594 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.007123, allocations: 323.5 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.007205, allocations: 43.05 kB / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.007229, allocations: 11.69 kB / 0.5597 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/0.0073, allocations: 4.094 kB / 0.5597 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.007325, allocations: 45.31 kB / 0.5598 GB, free: 11.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.007327, allocations: 0 / 0.5598 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.007491, allocations: 57.62 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.007521, allocations: 55.41 kB / 0.5599 GB, free: 11.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.007624, allocations: 189.9 kB / 0.5601 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007636, allocations: 25.7 kB / 0.5601 GB, free: 11.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.007694, allocations: 150.8 kB / 0.5602 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.007716, allocations: 8.062 kB / 0.5602 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.007745, allocations: 27.3 kB / 0.5603 GB, free: 11.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.007873, allocations: 0.4883 MB / 0.5607 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.00789, allocations: 4 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.007907, allocations: 11.92 kB / 0.5608 GB, free: 10.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.007946, allocations: 19.69 kB / 0.5608 GB, free: 10.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007948, allocations: 0 / 0.5608 GB, free: 10.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.679e-05/0.008025, allocations: 57.64 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.008038, allocations: 4 kB / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008042, allocations: 0 / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008054, allocations: 0 / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.008121, allocations: 11.98 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008126, allocations: 0 / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.008147, allocations: 3.938 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.008154, allocations: 4 kB / 0.5609 GB, free: 10.67 MB / 490.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 7.029e-05/0.008224, allocations: 164.4 kB / 0.561 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.008242, allocations: 11.95 kB / 0.561 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.008355, allocations: 66.02 kB / 0.5611 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008357, allocations: 4 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.008361, allocations: 0 / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008364, allocations: 0 / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.008477, allocations: 140.5 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008478, allocations: 0 / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.008508, allocations: 8 kB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.00851, allocations: 0 / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008518, allocations: 4 kB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00852, allocations: 3.984 kB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008521, allocations: 4 kB / 0.5612 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.00863, allocations: 207.8 kB / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.00864, allocations: 7.953 kB / 0.5614 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.008652, allocations: 4 kB / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.008684, allocations: 0 / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.008713, allocations: 3.984 kB / 0.5615 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.00872, allocations: 4.422 kB / 0.5615 GB, free: 9.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.008773, allocations: 142.3 kB / 0.5616 GB, free: 9.844 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008773, allocations: 0 / 0.5616 GB, free: 9.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.008999, allocations: 75.69 kB / 0.5617 GB, free: 9.77 MB / 490.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.0001963/0.009195, allocations: 170.9 kB / 0.5618 GB, free: 9.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.009281, allocations: 35.59 kB / 0.5619 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.009283, allocations: 0 / 0.5619 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.009307, allocations: 19.67 kB / 0.5619 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.009498, allocations: 11.94 kB / 0.5619 GB, free: 9.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.01006, allocations: 222.7 kB / 0.5621 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.0101, allocations: 59.34 kB / 0.5622 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.01012, allocations: 4 kB / 0.5622 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.01015, allocations: 16.48 kB / 0.5622 GB, free: 9.164 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01015, allocations: 0 / 0.5622 GB, free: 9.164 MB / 490.7 MB Notification: Performance of Templates: time 0.003236/0.01339, allocations: 1.773 MB / 0.5639 GB, free: 7.41 MB / 490.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.7419282980263233]