Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009951/0.009951, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004133, allocations: 15.28 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3739, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003645/0.3776, allocations: 2.73 MB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.3803, allocations: 1.775 MB / 1.079 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.3805, allocations: 11.94 kB / 1.079 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3816, allocations: 411 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.382, allocations: 231.1 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.383, allocations: 426.6 kB / 1.08 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.3839, allocations: 0.7833 MB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.3844, allocations: 443.5 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.3847, allocations: 250.8 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3851, allocations: 266.6 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.3851, allocations: 20 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3853, allocations: 95.88 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.3855, allocations: 179.3 kB / 1.082 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3858, allocations: 331.5 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.3866, allocations: 0.7588 MB / 1.083 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3866, allocations: 0 / 1.083 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3866, allocations: 0 / 1.083 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3866, allocations: 0 / 1.083 GB, free: 14.88 MB / 0.8419 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.001461/0.3881, allocations: 0.9918 MB / 1.084 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3881, allocations: 16.02 kB / 1.084 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3883, allocations: 91.81 kB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.389, allocations: 0.5088 MB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.3891, allocations: 75.25 kB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.3892, allocations: 55.94 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.3901, allocations: 0.5502 MB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3901, allocations: 0 / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.3901, allocations: 24 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.3902, allocations: 12 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.3908, allocations: 343.6 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.3931, allocations: 1.94 MB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.3937, allocations: 358.8 kB / 1.087 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.394, allocations: 169.3 kB / 1.088 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3941, allocations: 7.75 kB / 1.088 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.3945, allocations: 266.5 kB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.3945, allocations: 0 / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.000972/0.3955, allocations: 0.4896 MB / 1.088 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.3956, allocations: 191.9 kB / 1.089 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.3965, allocations: 0.7423 MB / 1.089 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.3965, allocations: 49.69 kB / 1.089 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3968, allocations: 376.7 kB / 1.09 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3969, allocations: 114.5 kB / 1.09 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3971, allocations: 85.66 kB / 1.09 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3972, allocations: 334 kB / 1.09 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.3975, allocations: 137.3 kB / 1.09 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.3979, allocations: 315.5 kB / 1.091 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.3985, allocations: 385.2 kB / 1.091 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3985, allocations: 7.938 kB / 1.091 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008568/0.3994, allocations: 0.5148 MB / 1.091 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3994, allocations: 12.12 kB / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3994, allocations: 7.938 kB / 1.091 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.3994, allocations: 8 kB / 1.091 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.3997, allocations: 71.83 kB / 1.092 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.3997, allocations: 15.92 kB / 1.092 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.4, allocations: 63.52 kB / 1.092 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.4001, allocations: 24 kB / 1.092 GB, free: 5.055 MB / 0.8419 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.0003416/0.4004, allocations: 285.5 kB / 1.092 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.4005, allocations: 75.06 kB / 1.092 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.4013, allocations: 420.1 kB / 1.092 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4013, allocations: 4 kB / 1.092 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4013, allocations: 4 kB / 1.092 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4013, allocations: 7.984 kB / 1.092 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.4028, allocations: 1.071 MB / 1.093 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4029, allocations: 0 / 1.093 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.403, allocations: 35.86 kB / 1.093 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.403, allocations: 4 kB / 1.093 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.403, allocations: 11.98 kB / 1.094 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.403, allocations: 0 / 1.094 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4031, allocations: 11.94 kB / 1.094 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.4038, allocations: 0.5201 MB / 1.094 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4039, allocations: 148.1 kB / 1.094 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.404, allocations: 19.98 kB / 1.094 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4042, allocations: 19.98 kB / 1.094 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4044, allocations: 47.89 kB / 1.094 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.4045, allocations: 19.98 kB / 1.094 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000721/0.4052, allocations: 0.4951 MB / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4052, allocations: 0 / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006541/0.4058, allocations: 139.6 kB / 1.095 GB, free: 1.617 MB / 0.8419 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.001317/0.4072, allocations: 463.7 kB / 1.095 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009287/0.4081, allocations: 386.2 kB / 1.096 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.4081, allocations: 4 kB / 1.096 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.4085, allocations: 195.7 kB / 1.096 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.4094, allocations: 126.7 kB / 1.096 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4118, allocations: 1.469 MB / 1.097 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.4124, allocations: 0.9614 MB / 1.098 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.4127, allocations: 92.78 kB / 1.098 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4129, allocations: 55.41 kB / 1.099 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.4129, allocations: 0 / 1.099 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of Templates: time 0.01386/0.4267, allocations: 6.365 MB / 1.105 GB, free: 7.684 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)