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.001484/0.001484, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00156/0.00156, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.456/1.456, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001356/0.001356, allocations: 69.33 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2434, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004727/0.2482, allocations: 3.206 MB / 0.7867 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.2512, allocations: 1.706 MB / 0.7883 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.2516, allocations: 11.94 kB / 0.7883 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2526, allocations: 283.5 kB / 0.7886 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.2531, allocations: 163.2 kB / 0.7888 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.2539, allocations: 330.7 kB / 0.7891 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008522/0.2548, allocations: 0.8197 MB / 0.7899 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.2555, allocations: 0.5481 MB / 0.7904 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.2558, allocations: 290.9 kB / 0.7907 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.2561, allocations: 318.5 kB / 0.791 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/0.2562, allocations: 60 kB / 0.791 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.2564, allocations: 116 kB / 0.7912 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.2566, allocations: 207.2 kB / 0.7914 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.2568, allocations: 357.8 kB / 0.7917 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.2575, allocations: 0.6549 MB / 0.7923 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2575, allocations: 0 / 0.7923 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.489e-06/0.2575, allocations: 0 / 0.7923 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2576, allocations: 7.938 kB / 0.7923 GB, free: 4.816 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.001609/0.2592, allocations: 1.098 MB / 0.7934 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2592, allocations: 12.02 kB / 0.7934 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2594, allocations: 99.81 kB / 0.7935 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.2601, allocations: 0.5124 MB / 0.794 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/0.2602, allocations: 83.33 kB / 0.7941 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.2603, allocations: 64 kB / 0.7942 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.2613, allocations: 0.6559 MB / 0.7948 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2613, allocations: 3.938 kB / 0.7948 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.2614, allocations: 31.94 kB / 0.7948 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.2614, allocations: 16 kB / 0.7949 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.2621, allocations: 411.6 kB / 0.7952 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.2648, allocations: 2.693 MB / 0.7979 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.2653, allocations: 274.6 kB / 0.7981 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2656, allocations: 136.8 kB / 0.7983 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2656, allocations: 7.75 kB / 0.7983 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.266, allocations: 199.1 kB / 0.7985 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.535e-06/0.266, allocations: 0 / 0.7985 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008364/0.2669, allocations: 425 kB / 0.7989 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.2669, allocations: 81.11 kB / 0.7989 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.2676, allocations: 0.66 MB / 0.7996 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.2677, allocations: 49.69 kB / 0.7996 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2679, allocations: 392.1 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.268, allocations: 106.7 kB / 0.8001 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2682, allocations: 154.2 kB / 0.8003 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2684, allocations: 382.8 kB / 0.8006 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2686, allocations: 141.2 kB / 0.8008 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.269, allocations: 361 kB / 0.8011 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.2696, allocations: 426.7 kB / 0.8015 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2696, allocations: 4 kB / 0.8015 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008746/0.2705, allocations: 0.5429 MB / 0.802 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2705, allocations: 8 kB / 0.8021 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2705, allocations: 8 kB / 0.8021 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2706, allocations: 8.75 kB / 0.8021 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.2708, allocations: 83.77 kB / 0.8021 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.2708, allocations: 12 kB / 0.8022 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2711, allocations: 67.3 kB / 0.8022 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/0.2712, allocations: 28 kB / 0.8023 GB, free: 10.11 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,$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.inPort[2].occupied,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.enableFire,transition2.enableFire,transition2.condition,transition1.enableFire,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,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.0003344/0.2716, allocations: 267.4 kB / 0.8025 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.2716, allocations: 63.16 kB / 0.8026 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.2724, allocations: 399.8 kB / 0.8029 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2724, allocations: 4 kB / 0.803 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2724, allocations: 0 / 0.803 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2724, allocations: 7.969 kB / 0.803 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2737, allocations: 0.999 MB / 0.8039 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2737, allocations: 4 kB / 0.8039 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2739, allocations: 35.92 kB / 0.804 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2739, allocations: 3.938 kB / 0.804 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.2739, allocations: 11.98 kB / 0.804 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2739, allocations: 3.938 kB / 0.804 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2739, allocations: 0 / 0.804 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.2746, allocations: 454.4 kB / 0.8044 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.2747, allocations: 148.1 kB / 0.8046 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.2748, allocations: 12 kB / 0.8046 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2749, allocations: 15.98 kB / 0.8046 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.2751, allocations: 47.94 kB / 0.8046 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2751, allocations: 15.98 kB / 0.8047 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004586/0.2756, allocations: 431 kB / 0.8051 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2756, allocations: 0 / 0.8051 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005209/0.2761, allocations: 135.6 kB / 0.8052 GB, free: 6.984 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 (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.001007/0.2771, allocations: 456.1 kB / 0.8056 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008463/0.278, allocations: 421.4 kB / 0.806 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.278, allocations: 4.188 kB / 0.806 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.2783, allocations: 163.8 kB / 0.8062 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.2789, allocations: 98.83 kB / 0.8063 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.2809, allocations: 1.424 MB / 0.8077 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.2814, allocations: 0.9455 MB / 0.8086 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.2816, allocations: 51.42 kB / 0.8086 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of SimCode: time 8.62e-07/0.2816, allocations: 0 / 0.8086 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.01224/0.2939, allocations: 8.306 MB / 0.8168 GB, free: 11.29 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (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)