Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006763/0.006763, allocations: 100.5 kB / 15.73 MB, free: 6 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.001348/0.001348, allocations: 191.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.006918/0.2938, allocations: 3.181 MB / 0.8312 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.2978, allocations: 1.732 MB / 0.8329 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.2985, allocations: 15.94 kB / 0.8329 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.3003, allocations: 305.9 kB / 0.8332 GB, free: 10.97 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001165/0.3015, allocations: 186.8 kB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3029, allocations: 379.3 kB / 0.8337 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3044, allocations: 0.8233 MB / 0.8345 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.3053, allocations: 0.5248 MB / 0.835 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.3059, allocations: 290.8 kB / 0.8353 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.3064, allocations: 314.4 kB / 0.8356 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3065, allocations: 60 kB / 0.8357 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.3069, allocations: 120 kB / 0.8358 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.3071, allocations: 211.3 kB / 0.836 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.3076, allocations: 353.8 kB / 0.8363 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3089, allocations: 0.895 MB / 0.8372 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.309, allocations: 0 / 0.8372 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.309, allocations: 0 / 0.8372 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.145e-05/0.309, allocations: 0 / 0.8372 GB, free: 6.84 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002406/0.3114, allocations: 1.098 MB / 0.8383 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3115, allocations: 8.031 kB / 0.8383 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.3118, allocations: 95.81 kB / 0.8384 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.3128, allocations: 0.5163 MB / 0.8389 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.313, allocations: 87.27 kB / 0.8389 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.3131, allocations: 60 kB / 0.839 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.3143, allocations: 0.6598 MB / 0.8396 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3144, allocations: 0 / 0.8396 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.3144, allocations: 31.98 kB / 0.8397 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3145, allocations: 16 kB / 0.8397 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.3154, allocations: 411.5 kB / 0.8401 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.3187, allocations: 2.697 MB / 0.8427 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.3194, allocations: 274.8 kB / 0.843 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3196, allocations: 136.6 kB / 0.8431 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.3197, allocations: 8 kB / 0.8431 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.32, allocations: 191 kB / 0.8433 GB, free: 272 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/0.3201, allocations: 0 / 0.8433 GB, free: 272 kB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.0009231/0.321, allocations: 429.1 kB / 0.8437 GB, free: 15.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3211, allocations: 85.11 kB / 0.8438 GB, free: 15.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.322, allocations: 0.6716 MB / 0.8444 GB, free: 15.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.322, allocations: 45.7 kB / 0.8445 GB, free: 15 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.3224, allocations: 392.2 kB / 0.8449 GB, free: 14.62 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.3226, allocations: 94.75 kB / 0.845 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.3228, allocations: 150.2 kB / 0.8451 GB, free: 14.37 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3231, allocations: 386.8 kB / 0.8455 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3234, allocations: 137.2 kB / 0.8456 GB, free: 13.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.3239, allocations: 365 kB / 0.8459 GB, free: 13.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.3245, allocations: 430.7 kB / 0.8464 GB, free: 12.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3246, allocations: 4 kB / 0.8464 GB, free: 12.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001029/0.3256, allocations: 0.5435 MB / 0.8469 GB, free: 12.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3256, allocations: 4 kB / 0.8469 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.3256, allocations: 8 kB / 0.8469 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.3257, allocations: 8 kB / 0.8469 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3259, allocations: 71.84 kB / 0.847 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.326, allocations: 15.92 kB / 0.847 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3264, allocations: 75.3 kB / 0.8471 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/0.3264, allocations: 28 kB / 0.8471 GB, free: 12.13 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0004142/0.3269, allocations: 275 kB / 0.8474 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.327, allocations: 63.16 kB / 0.8474 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.3278, allocations: 384.2 kB / 0.8478 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3278, allocations: 4 kB / 0.8478 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3278, allocations: 8 kB / 0.8478 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3278, allocations: 7.938 kB / 0.8478 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3293, allocations: 0.9947 MB / 0.8488 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3293, allocations: 0 / 0.8488 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3294, allocations: 27.92 kB / 0.8488 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3294, allocations: 15.81 kB / 0.8488 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3295, allocations: 7.984 kB / 0.8488 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3295, allocations: 4 kB / 0.8488 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3295, allocations: 0 / 0.8488 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.3301, allocations: 460.4 kB / 0.8493 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.3303, allocations: 148.1 kB / 0.8494 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.3304, allocations: 12 kB / 0.8494 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3306, allocations: 15.98 kB / 0.8494 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3307, allocations: 47.94 kB / 0.8495 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.3308, allocations: 12 kB / 0.8495 GB, free: 9.559 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005483/0.3313, allocations: 431 kB / 0.8499 GB, free: 9.145 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3313, allocations: 4 kB / 0.8499 GB, free: 9.141 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006088/0.3319, allocations: 139.6 kB / 0.85 GB, free: 9.004 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001222/0.3332, allocations: 448.3 kB / 0.8505 GB, free: 8.715 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008313/0.334, allocations: 392 kB / 0.8508 GB, free: 8.332 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.334, allocations: 4 kB / 0.8508 GB, free: 8.328 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.3343, allocations: 160.8 kB / 0.851 GB, free: 8.172 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.3349, allocations: 99.52 kB / 0.8511 GB, free: 8.078 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3371, allocations: 1.138 MB / 0.8522 GB, free: 6.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.3377, allocations: 0.9571 MB / 0.8531 GB, free: 5.926 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.338, allocations: 72.53 kB / 0.8532 GB, free: 5.855 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3381, allocations: 51.41 kB / 0.8533 GB, free: 5.805 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/0.3381, allocations: 0 / 0.8533 GB, free: 5.805 MB / 0.67 GB Notification: Performance of Templates: time 0.0137/0.3518, allocations: 5.838 MB / 0.859 GB, free: 20 kB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)