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.001261/0.001261, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001417/0.001417, allocations: 169 kB / 23.27 MB, free: 1.219 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.9844/0.9844, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001669/0.001669, allocations: 241.3 kB / 260.5 MB, free: 12.66 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.7159/0.7159, allocations: 138.4 MB / 455.5 MB, free: 30.06 MB / 410.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 3.166e-06/3.166e-06, allocations: 4 kB / 0.5555 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.515e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.005983/0.006008, allocations: 1.79 MB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.01067, allocations: 1.079 MB / 0.5583 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.01074, allocations: 4 kB / 0.5583 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.01079, allocations: 11.86 kB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.01089, allocations: 31.7 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.01145, allocations: 183.2 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.01159, allocations: 107.4 kB / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.01169, allocations: 19.98 kB / 0.5587 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.01184, allocations: 59.88 kB / 0.5587 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.01191, allocations: 27.91 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.01194, allocations: 8 kB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.01227, allocations: 203.6 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.01228, allocations: 11.92 kB / 0.559 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.01232, allocations: 27.98 kB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.01263, allocations: 223.3 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01263, allocations: 0 / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01263, allocations: 0 / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.01264, allocations: 0 / 0.5592 GB, free: 12.15 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.003484/0.01612, allocations: 451.9 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01615, allocations: 9.938 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.01629, allocations: 28.83 kB / 0.5597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.01643, allocations: 148.3 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.01644, allocations: 384 / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.01645, allocations: 4.375 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01656, allocations: 68.14 kB / 0.5599 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.01657, allocations: 4.188 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.01658, allocations: 4.375 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.01659, allocations: 3.938 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.01663, allocations: 23.91 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.01701, allocations: 304.1 kB / 0.5602 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.01708, allocations: 46.92 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.0171, allocations: 11.69 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.01717, allocations: 8 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.0172, allocations: 37.39 kB / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.0172, allocations: 0 / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000154/0.01735, allocations: 53.72 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.01738, allocations: 51.41 kB / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.01748, allocations: 196.7 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.0175, allocations: 25.7 kB / 0.5606 GB, free: 10.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.01756, allocations: 150.8 kB / 0.5608 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.01757, allocations: 7.891 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.01761, allocations: 19.38 kB / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01774, allocations: 0.4923 MB / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.01775, allocations: 0 / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.01777, allocations: 7.984 kB / 0.5613 GB, free: 9.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.01781, allocations: 23.67 kB / 0.5613 GB, free: 9.812 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01781, allocations: 3.938 kB / 0.5613 GB, free: 9.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.59e-05/0.0179, allocations: 45.64 kB / 0.5613 GB, free: 9.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01791, allocations: 12 kB / 0.5614 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01792, allocations: 0 / 0.5614 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.01793, allocations: 0 / 0.5614 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.018, allocations: 11.92 kB / 0.5614 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01801, allocations: 3.984 kB / 0.5614 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.01803, allocations: 7.938 kB / 0.5614 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.01804, allocations: 0 / 0.5614 GB, free: 9.723 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.472e-05/0.01811, allocations: 160.6 kB / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.01814, allocations: 15.89 kB / 0.5615 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.01826, allocations: 58.02 kB / 0.5616 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01826, allocations: 4 kB / 0.5616 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01827, allocations: 0 / 0.5616 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01827, allocations: 3.984 kB / 0.5616 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.01841, allocations: 113.2 kB / 0.5617 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01841, allocations: 0 / 0.5617 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.01846, allocations: 8 kB / 0.5617 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01846, allocations: 7.875 kB / 0.5617 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.01847, allocations: 4.359 kB / 0.5617 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01847, allocations: 0 / 0.5617 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01847, allocations: 4 kB / 0.5617 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.0186, allocations: 203.9 kB / 0.5619 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01862, allocations: 11.89 kB / 0.5619 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.01863, allocations: 0 / 0.5619 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.01869, allocations: 8 kB / 0.562 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.01871, allocations: 7.984 kB / 0.562 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.01871, allocations: 0 / 0.562 GB, free: 9.062 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003068/0.02178, allocations: 139.2 kB / 0.5621 GB, free: 8.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02178, allocations: 0 / 0.5621 GB, free: 8.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.02211, allocations: 71.73 kB / 0.5622 GB, free: 8.855 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.000251/0.02236, allocations: 163 kB / 0.5623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.105e-05/0.02244, allocations: 31.61 kB / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02245, allocations: 0 / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.02247, allocations: 19.67 kB / 0.5624 GB, free: 8.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.02274, allocations: 11.95 kB / 0.5624 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.02334, allocations: 222.7 kB / 0.5626 GB, free: 8.359 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.02338, allocations: 67.28 kB / 0.5627 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.02341, allocations: 4 kB / 0.5627 GB, free: 8.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.02348, allocations: 78.19 kB / 0.5627 GB, free: 8.191 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02348, allocations: 0 / 0.5627 GB, free: 8.191 MB / 490.7 MB Notification: Performance of Templates: time 0.01072/0.0342, allocations: 1.984 MB / 0.5647 GB, free: 6.23 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.530370555818081]