Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000979/0.000979, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001018/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.758/1.758, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004866/0.0004867, allocations: 16.34 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.003782/0.2431, allocations: 2.671 MB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.2461, allocations: 1.608 MB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.2468, allocations: 11.94 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.248, allocations: 254.8 kB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007218/0.2488, allocations: 171.5 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.2499, allocations: 307 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2509, allocations: 0.5004 MB / 0.7925 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.2517, allocations: 438.1 kB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.252, allocations: 227 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2524, allocations: 246.7 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2525, allocations: 24 kB / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2528, allocations: 67.89 kB / 0.7935 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2529, allocations: 151.4 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2531, allocations: 141.3 kB / 0.7937 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.2538, allocations: 0.612 MB / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2538, allocations: 0 / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2538, allocations: 0 / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2538, allocations: 0 / 0.7943 GB, free: 4.527 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00147/0.2553, allocations: 0.9619 MB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2553, allocations: 12.03 kB / 0.7953 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2555, allocations: 98.77 kB / 0.7954 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.2562, allocations: 499.8 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.2563, allocations: 86.94 kB / 0.7959 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.2564, allocations: 68 kB / 0.796 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.2574, allocations: 0.6404 MB / 0.7966 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2574, allocations: 3.938 kB / 0.7966 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.2575, allocations: 24 kB / 0.7967 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.2575, allocations: 19.95 kB / 0.7967 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.2582, allocations: 415.5 kB / 0.7971 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.2608, allocations: 2.689 MB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.2613, allocations: 263.1 kB / 0.7999 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2614, allocations: 11.98 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.2617, allocations: 195.3 kB / 0.8001 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.2617, allocations: 0 / 0.8001 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0007633/0.2625, allocations: 421.1 kB / 0.8005 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.2626, allocations: 85.11 kB / 0.8006 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.2632, allocations: 0.6561 MB / 0.8013 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.2633, allocations: 53.69 kB / 0.8013 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.2636, allocations: 396.1 kB / 0.8017 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.2637, allocations: 94.83 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.2637, allocations: 12 kB / 0.8018 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2639, allocations: 382.8 kB / 0.8022 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2641, allocations: 149.1 kB / 0.8023 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.2646, allocations: 357.1 kB / 0.8026 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.2648, allocations: 155.8 kB / 0.8028 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2649, allocations: 0 / 0.8028 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008589/0.2657, allocations: 0.5353 MB / 0.8033 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2658, allocations: 11.98 kB / 0.8033 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2658, allocations: 8 kB / 0.8033 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.2658, allocations: 8 kB / 0.8033 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.2661, allocations: 76.41 kB / 0.8034 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2661, allocations: 19.98 kB / 0.8034 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.2663, allocations: 63.44 kB / 0.8035 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.2664, allocations: 35.94 kB / 0.8035 GB, free: 10.64 MB / 0.6231 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.2667, allocations: 266.8 kB / 0.8038 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.2668, allocations: 67.16 kB / 0.8038 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.2675, allocations: 396.2 kB / 0.8042 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.2675, allocations: 4 kB / 0.8042 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2675, allocations: 0 / 0.8042 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2675, allocations: 3.984 kB / 0.8042 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2688, allocations: 1.002 MB / 0.8052 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2688, allocations: 3.984 kB / 0.8052 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.269, allocations: 31.92 kB / 0.8052 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.269, allocations: 0 / 0.8052 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.269, allocations: 8 kB / 0.8053 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.269, allocations: 4 kB / 0.8053 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.269, allocations: 3.953 kB / 0.8053 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.2696, allocations: 451.2 kB / 0.8057 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.2698, allocations: 148.1 kB / 0.8058 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.2698, allocations: 16 kB / 0.8058 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.27, allocations: 15.98 kB / 0.8059 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.2701, allocations: 59.81 kB / 0.8059 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2702, allocations: 16 kB / 0.8059 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004448/0.2706, allocations: 427 kB / 0.8063 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2706, allocations: 0 / 0.8063 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004808/0.2711, allocations: 135.6 kB / 0.8065 GB, free: 7.512 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009407/0.2721, allocations: 449.8 kB / 0.8069 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006636/0.2727, allocations: 380.9 kB / 0.8073 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2728, allocations: 4.125 kB / 0.8073 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.273, allocations: 156.9 kB / 0.8074 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.2735, allocations: 95.45 kB / 0.8075 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2752, allocations: 1.325 MB / 0.8088 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.2757, allocations: 0.9653 MB / 0.8097 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000266/0.276, allocations: 84.67 kB / 0.8098 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2761, allocations: 51.34 kB / 0.8099 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2761, allocations: 4 kB / 0.8099 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of Templates: time 0.0111/0.2872, allocations: 5.275 MB / 0.815 GB, free: 14.9 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) Environment - environmentSimulation: