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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.9 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 93.67 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.247e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6622, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.8701, allocations: 147.1 MB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.8704, allocations: 88.45 kB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04005/0.9105, allocations: 15.17 MB / 1.132 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9105, allocations: 0 / 1.132 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.9106, allocations: 20 kB / 1.132 GB, free: 3.77 MB / 0.7292 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.001359/0.9119, allocations: 0.9072 MB / 1.133 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.912, allocations: 8.031 kB / 1.133 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.9121, allocations: 98.86 kB / 1.133 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.9128, allocations: 452.1 kB / 1.133 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.9129, allocations: 58.95 kB / 1.133 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.913, allocations: 39.94 kB / 1.133 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006689/0.9137, allocations: 354.5 kB / 1.134 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.9145, allocations: 0.5643 MB / 1.134 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.9146, allocations: 3.953 kB / 1.134 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.9146, allocations: 4 kB / 1.134 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9146, allocations: 20 kB / 1.134 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.9172, allocations: 2.588 MB / 1.137 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.9177, allocations: 250.6 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.9179, allocations: 128.8 kB / 1.137 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.9179, allocations: 4 kB / 1.137 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.9182, allocations: 179.4 kB / 1.137 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/0.9183, allocations: 4 kB / 1.137 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005295/0.9188, allocations: 296.5 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.9189, allocations: 85.11 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.9194, allocations: 0.542 MB / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.9195, allocations: 33.7 kB / 1.138 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.9198, allocations: 396 kB / 1.139 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.9199, allocations: 90.86 kB / 1.139 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.9199, allocations: 0 / 1.139 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9201, allocations: 390.7 kB / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.9203, allocations: 125.5 kB / 1.139 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.9207, allocations: 337.6 kB / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.9209, allocations: 139.8 kB / 1.14 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9209, allocations: 1.688 kB / 1.14 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007354/0.9217, allocations: 477.9 kB / 1.14 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9217, allocations: 11.94 kB / 1.14 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.9217, allocations: 12.11 kB / 1.14 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.9218, allocations: 11.98 kB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.9221, allocations: 91.75 kB / 1.14 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.9221, allocations: 15.94 kB / 1.14 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.9224, allocations: 51.66 kB / 1.14 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.9225, allocations: 32 kB / 1.14 GB, free: 10.61 MB / 0.7448 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,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$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,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$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 () * 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.000163/0.9227, allocations: 146 kB / 1.141 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004444/0.9231, allocations: 304.3 kB / 1.141 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.9232, allocations: 59.25 kB / 1.141 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.9239, allocations: 366.9 kB / 1.141 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.9239, allocations: 8 kB / 1.141 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9239, allocations: 0 / 1.141 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.9239, allocations: 7.938 kB / 1.141 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9253, allocations: 0.9122 MB / 1.142 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9253, allocations: 0 / 1.142 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.9254, allocations: 37.31 kB / 1.142 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9255, allocations: 4 kB / 1.142 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.9255, allocations: 11.98 kB / 1.142 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9255, allocations: 3.953 kB / 1.142 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9255, allocations: 2.312 kB / 1.142 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.9261, allocations: 431.2 kB / 1.143 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.9262, allocations: 144.2 kB / 1.143 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.9263, allocations: 4 kB / 1.143 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.9266, allocations: 23.98 kB / 1.143 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.9267, allocations: 67.78 kB / 1.143 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.9268, allocations: 19.98 kB / 1.143 GB, free: 8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004334/0.9272, allocations: 379.1 kB / 1.143 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9272, allocations: 0 / 1.143 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005409/0.9277, allocations: 111.8 kB / 1.143 GB, free: 7.523 MB / 0.7448 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.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * 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.001685/0.9294, allocations: 1.263 MB / 1.145 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.93, allocations: 356.8 kB / 1.145 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9301, allocations: 0 / 1.145 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.9303, allocations: 156.2 kB / 1.145 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.9308, allocations: 87.12 kB / 1.145 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.9325, allocations: 0.9382 MB / 1.146 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.9331, allocations: 0.9668 MB / 1.147 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000254/0.9333, allocations: 78.48 kB / 1.147 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.9337, allocations: 275.3 kB / 1.147 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.9338, allocations: 0 / 1.147 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.9685, allocations: 11.83 MB / 1.159 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.9688, allocations: 173.5 kB / 1.159 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.276, allocations: 4 kB / 1.159 GB, free: 7.637 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)