Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001668, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5488 GB, free: 12.82 MB / 462.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.001483/0.001483, allocations: 71.22 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2553, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004989/0.2603, allocations: 3.067 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.2639, allocations: 1.678 MB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.2643, allocations: 11.94 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.2654, allocations: 307.2 kB / 0.7883 GB, free: 8.375 MB / 0.6075 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.0004553/0.2659, allocations: 194.9 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.2668, allocations: 358.6 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.2676, allocations: 0.7573 MB / 0.7896 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.2682, allocations: 471.5 kB / 0.79 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.2685, allocations: 263 kB / 0.7903 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2688, allocations: 278.7 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2689, allocations: 52 kB / 0.7906 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.2692, allocations: 112 kB / 0.7907 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.2694, allocations: 199.3 kB / 0.7909 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.2696, allocations: 314 kB / 0.7912 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.2704, allocations: 0.7668 MB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2704, allocations: 0 / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2704, allocations: 0 / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2704, allocations: 0 / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001566/0.272, allocations: 1.027 MB / 0.7929 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.272, allocations: 12.03 kB / 0.793 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.2722, allocations: 83.91 kB / 0.793 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.2728, allocations: 496.6 kB / 0.7935 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.2729, allocations: 75.02 kB / 0.7936 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2731, allocations: 59.98 kB / 0.7936 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.274, allocations: 0.6099 MB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.274, allocations: 7.922 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.2741, allocations: 24 kB / 0.7943 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2741, allocations: 15.94 kB / 0.7943 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.2748, allocations: 379.5 kB / 0.7946 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.2777, allocations: 2.659 MB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.2783, allocations: 271.7 kB / 0.7975 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.2785, allocations: 137.4 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2786, allocations: 4.281 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.279, allocations: 211 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.305e-06/0.279, allocations: 0 / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008205/0.2798, allocations: 457.3 kB / 0.7983 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.2799, allocations: 85.11 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.2805, allocations: 0.6207 MB / 0.799 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.2806, allocations: 45.7 kB / 0.799 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2809, allocations: 364.3 kB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.281, allocations: 94.83 kB / 0.7994 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.2812, allocations: 146.2 kB / 0.7996 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2814, allocations: 378.8 kB / 0.7999 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2816, allocations: 137.2 kB / 0.8001 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.282, allocations: 322.9 kB / 0.8004 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.2826, allocations: 408.8 kB / 0.8008 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2826, allocations: 0 / 0.8008 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007833/0.2834, allocations: 0.5228 MB / 0.8013 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.2834, allocations: 11.94 kB / 0.8013 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2834, allocations: 4 kB / 0.8013 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2835, allocations: 12 kB / 0.8013 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2837, allocations: 67.84 kB / 0.8014 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.2837, allocations: 15.92 kB / 0.8014 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.284, allocations: 55.44 kB / 0.8014 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.284, allocations: 35.98 kB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,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,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2) * 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.0003029/0.2843, allocations: 266.9 kB / 0.8017 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.2844, allocations: 63.19 kB / 0.8018 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.2851, allocations: 391.4 kB / 0.8022 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2851, allocations: 7.938 kB / 0.8022 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2851, allocations: 0 / 0.8022 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2852, allocations: 7.984 kB / 0.8022 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2866, allocations: 1.048 MB / 0.8032 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2866, allocations: 0 / 0.8032 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.2867, allocations: 19.92 kB / 0.8032 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.2867, allocations: 4 kB / 0.8032 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.2868, allocations: 12 kB / 0.8032 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2868, allocations: 0 / 0.8032 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2868, allocations: 0 / 0.8032 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.2874, allocations: 491 kB / 0.8037 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2875, allocations: 136.3 kB / 0.8038 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2876, allocations: 8 kB / 0.8038 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2878, allocations: 23.98 kB / 0.8039 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2879, allocations: 31.95 kB / 0.8039 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2879, allocations: 19.98 kB / 0.8039 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004512/0.2884, allocations: 411 kB / 0.8043 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2884, allocations: 4 kB / 0.8043 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005184/0.2889, allocations: 131.6 kB / 0.8044 GB, free: 7.199 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (nor.active,off.active,warUp.localActive,warUp.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001102/0.29, allocations: 439 kB / 0.8048 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.2909, allocations: 414.7 kB / 0.8052 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2909, allocations: 0 / 0.8052 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.2912, allocations: 179.7 kB / 0.8054 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.2917, allocations: 97.7 kB / 0.8055 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2934, allocations: 1.099 MB / 0.8066 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.2939, allocations: 0.926 MB / 0.8075 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.2941, allocations: 80.33 kB / 0.8076 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2943, allocations: 47.42 kB / 0.8076 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2943, allocations: 0 / 0.8076 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of Templates: time 0.01123/0.3055, allocations: 5.483 MB / 0.813 GB, free: 14.61 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)