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.0008874/0.0008874, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001149/0.001149, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001731/0.001731, allocations: 234.1 kB / 260.2 MB, free: 12.84 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.7191/0.7191, allocations: 138.4 MB / 455.2 MB, free: 1.516 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 2.514e-06/2.514e-06, allocations: 0 / 0.555 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.789e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.005917/0.005955, allocations: 1.801 MB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.01056, allocations: 1.087 MB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.01065, allocations: 0 / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.625e-05/0.01071, allocations: 11.86 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.01083, allocations: 31.7 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.01143, allocations: 187.2 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.01159, allocations: 99.47 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.01172, allocations: 23.92 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.01189, allocations: 63.81 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.01198, allocations: 31.91 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.012, allocations: 4 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.01234, allocations: 191.7 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.01236, allocations: 19.92 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.0124, allocations: 19.94 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.01274, allocations: 227.3 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01275, allocations: 8 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01275, allocations: 0 / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01276, allocations: 0 / 0.5588 GB, free: 12.75 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.003532/0.01629, allocations: 451.9 kB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.01633, allocations: 8.75 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01647, allocations: 20.88 kB / 0.5592 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.01665, allocations: 140.4 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.01666, allocations: 8.375 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.01667, allocations: 4.375 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.01681, allocations: 74.88 kB / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.01682, allocations: 192 / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.01683, allocations: 4.375 kB / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01684, allocations: 3.938 kB / 0.5594 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.0169, allocations: 15.98 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.01732, allocations: 319.5 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.01741, allocations: 43.05 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.01743, allocations: 11.69 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.01751, allocations: 20.02 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.01754, allocations: 37.39 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.01754, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.01773, allocations: 57.62 kB / 0.5599 GB, free: 11.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.01776, allocations: 55.41 kB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.01801, allocations: 192.9 kB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.01803, allocations: 25.7 kB / 0.5602 GB, free: 11.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.01809, allocations: 146.8 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.01811, allocations: 7.938 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.01815, allocations: 23.38 kB / 0.5604 GB, free: 10.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01827, allocations: 0.4922 MB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.0183, allocations: 11.94 kB / 0.5608 GB, free: 10.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.01831, allocations: 4 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.01836, allocations: 15.69 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01836, allocations: 112 / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.027e-05/0.01845, allocations: 61.56 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01846, allocations: 4 kB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01847, allocations: 0 / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01848, allocations: 0 / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.01856, allocations: 8 kB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01857, allocations: 3.984 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.0186, allocations: 15.86 kB / 0.561 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.01861, allocations: 4 kB / 0.561 GB, free: 10.29 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.826e-05/0.01868, allocations: 160.5 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.01871, allocations: 7.953 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.01886, allocations: 66.02 kB / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01886, allocations: 0 / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01887, allocations: 0 / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01887, allocations: 0 / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.02205, allocations: 144.5 kB / 0.5613 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02205, allocations: 0 / 0.5613 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.0221, allocations: 11.98 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02211, allocations: 8 kB / 0.5613 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.02212, allocations: 4 kB / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02212, allocations: 0 / 0.5613 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.02213, allocations: 3.938 kB / 0.5613 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.02227, allocations: 203.8 kB / 0.5615 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.02228, allocations: 7.953 kB / 0.5615 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.0223, allocations: 0 / 0.5615 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.02235, allocations: 3.984 kB / 0.5615 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.02239, allocations: 4 kB / 0.5616 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.02239, allocations: 4.422 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.02246, allocations: 147.2 kB / 0.5617 GB, free: 9.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02246, allocations: 0 / 0.5617 GB, free: 9.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.0228, allocations: 67.7 kB / 0.5618 GB, free: 9.395 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.000276/0.02308, allocations: 174.9 kB / 0.5619 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.02319, allocations: 27.61 kB / 0.562 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0232, allocations: 0 / 0.562 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.02322, allocations: 23.67 kB / 0.562 GB, free: 9.156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.0235, allocations: 7.938 kB / 0.562 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.02419, allocations: 218.7 kB / 0.5622 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.02423, allocations: 59.34 kB / 0.5623 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.02427, allocations: 11.92 kB / 0.5623 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.02431, allocations: 12.5 kB / 0.5623 GB, free: 8.793 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02431, allocations: 4 kB / 0.5623 GB, free: 8.789 MB / 490.7 MB Notification: Performance of Templates: time 0.01072/0.03503, allocations: 1.963 MB / 0.5642 GB, free: 6.848 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.605982344597578]