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.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001135/0.001135, allocations: 181 kB / 377.1 MB, free: 1.504 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.529/1.529, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.0008657/0.0008655, allocations: 90.66 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2942, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8136/1.108, allocations: 147.8 MB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.108, allocations: 95.98 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04341/1.152, allocations: 15.44 MB / 1.148 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.786e-06/1.152, allocations: 0 / 1.148 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.114e-05/1.152, allocations: 20 kB / 1.148 GB, free: 17.7 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.001597/1.153, allocations: 0.9906 MB / 1.149 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.153, allocations: 12.02 kB / 1.149 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/1.154, allocations: 104.6 kB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/1.154, allocations: 99.72 kB / 1.149 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/1.154, allocations: 457.5 kB / 1.15 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/1.155, allocations: 84.28 kB / 1.15 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/1.155, allocations: 60.66 kB / 1.15 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.156, allocations: 0.6694 MB / 1.15 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.156, allocations: 0 / 1.15 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/1.156, allocations: 25.83 kB / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/1.156, allocations: 19.94 kB / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/1.157, allocations: 452.4 kB / 1.151 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/1.159, allocations: 2.72 MB / 1.154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/1.16, allocations: 295 kB / 1.154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.16, allocations: 0 / 1.154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/1.16, allocations: 216.3 kB / 1.154 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 1.502e-06/1.16, allocations: 0 / 1.154 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0009728/1.161, allocations: 489.3 kB / 1.154 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.161, allocations: 82.19 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/1.162, allocations: 0.6069 MB / 1.155 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/1.162, allocations: 51.06 kB / 1.155 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/1.162, allocations: 386 kB / 1.156 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/1.162, allocations: 95.73 kB / 1.156 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/1.163, allocations: 12 kB / 1.156 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.163, allocations: 382.6 kB / 1.156 GB, free: 10 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/1.163, allocations: 161.1 kB / 1.156 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/1.163, allocations: 383.3 kB / 1.157 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/1.164, allocations: 177.8 kB / 1.157 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/1.164, allocations: 4 kB / 1.157 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009338/1.165, allocations: 0.571 MB / 1.157 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.165, allocations: 8 kB / 1.157 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.165, allocations: 8 kB / 1.157 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.165, allocations: 8.531 kB / 1.157 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.165, allocations: 88.58 kB / 1.157 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.165, allocations: 21.53 kB / 1.157 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/1.165, allocations: 63.75 kB / 1.157 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.165, allocations: 29.55 kB / 1.157 GB, free: 8.543 MB / 0.7292 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 () * 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.0003428/1.166, allocations: 273.3 kB / 1.158 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/1.166, allocations: 63.16 kB / 1.158 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/1.167, allocations: 441.1 kB / 1.158 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.167, allocations: 4 kB / 1.158 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.167, allocations: 1.938 kB / 1.158 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.167, allocations: 6.906 kB / 1.158 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.168, allocations: 1.065 MB / 1.159 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.168, allocations: 3.984 kB / 1.159 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/1.168, allocations: 34.45 kB / 1.159 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.168, allocations: 0 / 1.159 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/1.168, allocations: 18.48 kB / 1.159 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.168, allocations: 6.062 kB / 1.159 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.168, allocations: 4 kB / 1.159 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/1.169, allocations: 490.9 kB / 1.16 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.169, allocations: 139.6 kB / 1.16 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/1.169, allocations: 17.73 kB / 1.16 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/1.169, allocations: 33.95 kB / 1.16 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.17, allocations: 58.73 kB / 1.16 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/1.17, allocations: 16.84 kB / 1.16 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004535/1.17, allocations: 441.6 kB / 1.16 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.17, allocations: 0 / 1.16 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005502/1.171, allocations: 131.3 kB / 1.161 GB, free: 5.652 MB / 0.7292 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) * Number of clocked states: 0 () * 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.002016/1.173, allocations: 1.402 MB / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008089/1.174, allocations: 438.2 kB / 1.162 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.174, allocations: 4.062 kB / 1.162 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.174, allocations: 183.8 kB / 1.163 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/1.174, allocations: 85.47 kB / 1.163 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/1.182, allocations: 7.687 MB / 1.17 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/1.183, allocations: 0.9613 MB / 1.171 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003921/1.183, allocations: 84.92 kB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/1.183, allocations: 271.3 kB / 1.171 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.184, allocations: 0 / 1.171 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/1.217, allocations: 12.88 MB / 1.184 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.218, allocations: 237.5 kB / 1.184 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.797, allocations: 2.109 kB / 1.184 GB, free: 13.55 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)