Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.218/2.218, allocations: 391.2 MB / 407 MB, free: 10.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 187.5 kB / 499.1 MB, free: 4.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 106.8 kB / 0.9329 GB, free: 7 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 53.09 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3086, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00397/0.3126, allocations: 3.112 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3153, allocations: 1.81 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.3157, allocations: 11.94 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3168, allocations: 407 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.3172, allocations: 238.9 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3183, allocations: 422.9 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006157/0.3189, allocations: 0.7914 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/0.3194, allocations: 459.6 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3196, allocations: 274.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.3198, allocations: 310.5 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.3199, allocations: 40 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.3201, allocations: 95.95 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3203, allocations: 203.3 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3205, allocations: 325.8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.3211, allocations: 0.7862 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3211, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.051e-06/0.3211, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3211, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001372/0.3225, allocations: 1.137 MB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3226, allocations: 11.98 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.3227, allocations: 99.81 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3233, allocations: 0.5203 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-05/0.3234, allocations: 71.27 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.3234, allocations: 55.94 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.3241, allocations: 0.5502 MB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3242, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.3242, allocations: 19.98 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3242, allocations: 16 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3247, allocations: 351.6 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.3265, allocations: 1.913 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.327, allocations: 356.7 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3272, allocations: 163.4 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.3273, allocations: 8 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.3276, allocations: 262.5 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.3276, allocations: 0 / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.000785/0.3284, allocations: 496.1 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3285, allocations: 196.3 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.3291, allocations: 0.75 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3292, allocations: 45.7 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3294, allocations: 372.8 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.3294, allocations: 122.4 kB / 1.234 GB, free: 99.99 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3296, allocations: 138.3 kB / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.3296, allocations: 333.9 kB / 1.235 GB, free: 99.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3299, allocations: 137.2 kB / 1.235 GB, free: 99.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.3301, allocations: 327.5 kB / 1.235 GB, free: 98.99 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.3306, allocations: 377.2 kB / 1.236 GB, free: 98.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3306, allocations: 3.938 kB / 1.236 GB, free: 98.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006664/0.3312, allocations: 0.5221 MB / 1.236 GB, free: 98.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3313, allocations: 8 kB / 1.236 GB, free: 98.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3313, allocations: 4.594 kB / 1.236 GB, free: 98.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3313, allocations: 15.98 kB / 1.236 GB, free: 98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3315, allocations: 67.84 kB / 1.236 GB, free: 97.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3316, allocations: 11.94 kB / 1.236 GB, free: 97.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.3318, allocations: 55.52 kB / 1.236 GB, free: 97.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.3318, allocations: 31.98 kB / 1.236 GB, free: 97.84 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.000238/0.3321, allocations: 277.6 kB / 1.237 GB, free: 97.56 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3322, allocations: 79.05 kB / 1.237 GB, free: 97.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.3328, allocations: 422.5 kB / 1.237 GB, free: 97.06 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3328, allocations: 11.94 kB / 1.237 GB, free: 97.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3328, allocations: 0 / 1.237 GB, free: 97.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3328, allocations: 3.984 kB / 1.237 GB, free: 97.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.334, allocations: 1.067 MB / 1.238 GB, free: 95.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.334, allocations: 0 / 1.238 GB, free: 95.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.3341, allocations: 31.92 kB / 1.238 GB, free: 95.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3341, allocations: 4 kB / 1.238 GB, free: 95.88 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3341, allocations: 11.98 kB / 1.238 GB, free: 95.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3341, allocations: 4 kB / 1.238 GB, free: 95.87 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3341, allocations: 3.938 kB / 1.238 GB, free: 95.86 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3351, allocations: 1.336 MB / 1.239 GB, free: 94.46 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3353, allocations: 152 kB / 1.24 GB, free: 94.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.3354, allocations: 12 kB / 1.24 GB, free: 94.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3355, allocations: 23.98 kB / 1.24 GB, free: 94.26 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3357, allocations: 47.94 kB / 1.24 GB, free: 94.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3357, allocations: 19.98 kB / 1.24 GB, free: 94.19 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004319/0.3361, allocations: 0.4951 MB / 1.24 GB, free: 93.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3361, allocations: 3.938 kB / 1.24 GB, free: 93.69 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000579/0.3367, allocations: 139.7 kB / 1.24 GB, free: 93.55 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0009678/0.3377, allocations: 467.5 kB / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005836/0.3383, allocations: 389 kB / 1.241 GB, free: 92.87 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3383, allocations: 1.188 kB / 1.241 GB, free: 92.87 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.3386, allocations: 183.8 kB / 1.241 GB, free: 92.69 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.3392, allocations: 135.3 kB / 1.241 GB, free: 92.56 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3409, allocations: 1.721 MB / 1.243 GB, free: 90.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3413, allocations: 0.9759 MB / 1.244 GB, free: 89.79 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.3415, allocations: 92.77 kB / 1.244 GB, free: 89.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3417, allocations: 55.42 kB / 1.244 GB, free: 89.64 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.3417, allocations: 0 / 1.244 GB, free: 89.64 MB / 0.823 GB Notification: Performance of Templates: time 0.01089/0.3526, allocations: 6.645 MB / 1.251 GB, free: 83.05 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)