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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 112.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 186.5 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 289.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9428/0.9428, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 91.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3729, allocations: 86.98 MB / 0.767 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002635/0.3756, allocations: 1.737 MB / 0.7687 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3771, allocations: 1.03 MB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3772, allocations: 0 / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.3772, allocations: 11.86 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3773, allocations: 27.72 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.3778, allocations: 171.4 kB / 0.7699 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.378, allocations: 95.53 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3781, allocations: 31.88 kB / 0.77 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.3782, allocations: 39.84 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.3783, allocations: 35.8 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3783, allocations: 15.94 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3787, allocations: 191.7 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3787, allocations: 11.98 kB / 0.7703 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3788, allocations: 39.75 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3791, allocations: 206.1 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3791, allocations: 0 / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3791, allocations: 0 / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3791, allocations: 0 / 0.7705 GB, free: 200 kB / 0.5294 GB 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.0005174/0.3796, allocations: 419.1 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3797, allocations: 12.02 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3797, allocations: 12.78 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.3799, allocations: 196 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3799, allocations: 4.359 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3799, allocations: 8.375 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3801, allocations: 69.98 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3801, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3801, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3801, allocations: 8 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.3803, allocations: 47.97 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.3808, allocations: 384 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3809, allocations: 46.56 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.381, allocations: 24.94 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.3811, allocations: 89.09 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3811, allocations: 30.56 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.3811, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002794/0.3814, allocations: 85.52 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3814, allocations: 51.41 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3816, allocations: 140.4 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3816, allocations: 29.81 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.3816, allocations: 104 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3817, allocations: 11.91 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.3817, allocations: 13.7 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.3818, allocations: 322.8 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.3819, allocations: 15.98 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.3819, allocations: 15.98 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.382, allocations: 40.78 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.382, allocations: 0 / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001468/0.3822, allocations: 69.58 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3822, allocations: 8 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3822, allocations: 0 / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3822, allocations: 0 / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.3823, allocations: 4 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3823, allocations: 11.92 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.3824, allocations: 15.88 kB / 0.7727 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3824, allocations: 4 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB 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.614e-05/0.3825, allocations: 113.8 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.3825, allocations: 7.906 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3827, allocations: 86.17 kB / 0.7729 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3827, allocations: 48 / 0.7729 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3828, allocations: 3.984 kB / 0.7729 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3828, allocations: 88.95 kB / 0.773 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3828, allocations: 4 kB / 0.773 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.3829, allocations: 7.984 kB / 0.773 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.383, allocations: 4 kB / 0.773 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000201/0.3832, allocations: 148.9 kB / 0.7732 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002167/0.3834, allocations: 254.6 kB / 0.7734 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.036e-05/0.3835, allocations: 19.98 kB / 0.7734 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.3835, allocations: 111.3 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.3835, allocations: 0 / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.3841, allocations: 162.1 kB / 0.7737 GB, free: 12.63 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005686/0.3847, allocations: 0.6476 MB / 0.7743 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Templates: time 0.004313/0.389, allocations: 1.841 MB / 0.7761 GB, free: 10.11 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1)