Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.413/2.413, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001534/0.001534, allocations: 176.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001112/0.001111, allocations: 85.39 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.876e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7986, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/1.042, allocations: 145.9 MB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/1.043, allocations: 92.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06354/1.106, allocations: 15.18 MB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.144e-06/1.106, allocations: 4 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.572e-05/1.107, allocations: 12 kB / 1.121 GB, free: 11.25 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.001902/1.108, allocations: 0.9073 MB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.108, allocations: 12.03 kB / 1.122 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/1.109, allocations: 96.19 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/1.11, allocations: 456.1 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/1.11, allocations: 59 kB / 1.122 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.11, allocations: 40 kB / 1.122 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/1.111, allocations: 350.5 kB / 1.123 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.112, allocations: 0.5689 MB / 1.123 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.112, allocations: 1 kB / 1.123 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/1.112, allocations: 11.98 kB / 1.123 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/1.112, allocations: 15.98 kB / 1.123 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/1.116, allocations: 2.587 MB / 1.126 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/1.117, allocations: 255.1 kB / 1.126 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/1.117, allocations: 120.8 kB / 1.126 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/1.118, allocations: 4 kB / 1.126 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/1.118, allocations: 187.6 kB / 1.126 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 3.206e-06/1.118, allocations: 6.906 kB / 1.126 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0008278/1.119, allocations: 284.6 kB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.119, allocations: 89.09 kB / 1.127 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/1.12, allocations: 0.5381 MB / 1.127 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/1.12, allocations: 41.69 kB / 1.127 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/1.12, allocations: 392 kB / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.121, allocations: 90.84 kB / 1.128 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/1.121, allocations: 4 kB / 1.128 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.121, allocations: 382.8 kB / 1.128 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.121, allocations: 129.5 kB / 1.128 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/1.122, allocations: 332.8 kB / 1.129 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/1.122, allocations: 143.8 kB / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.122, allocations: 0 / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001194/1.123, allocations: 480.8 kB / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.123, allocations: 12.12 kB / 1.129 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.123, allocations: 8 kB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/1.123, allocations: 11.94 kB / 1.129 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/1.124, allocations: 79.83 kB / 1.129 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.124, allocations: 15.94 kB / 1.129 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/1.125, allocations: 55.66 kB / 1.129 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/1.125, allocations: 35.94 kB / 1.129 GB, free: 2.102 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 () * 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.0002526/1.125, allocations: 149.9 kB / 1.13 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007495/1.126, allocations: 308.3 kB / 1.13 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.126, allocations: 59.25 kB / 1.13 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.127, allocations: 360.5 kB / 1.13 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.127, allocations: 7.984 kB / 1.13 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.127, allocations: 3.953 kB / 1.13 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.127, allocations: 4 kB / 1.13 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/1.129, allocations: 0.9095 MB / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.129, allocations: 0 / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/1.129, allocations: 39.91 kB / 1.131 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.129, allocations: 5.312 kB / 1.131 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.129, allocations: 3.953 kB / 1.131 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.129, allocations: 4 kB / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.129, allocations: 0 / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/1.13, allocations: 435.2 kB / 1.132 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/1.131, allocations: 144.2 kB / 1.132 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.131, allocations: 4 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/1.131, allocations: 31.92 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.131, allocations: 55.91 kB / 1.132 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/1.131, allocations: 16 kB / 1.132 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006546/1.132, allocations: 383.1 kB / 1.132 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.61e-07/1.132, allocations: 0 / 1.132 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008404/1.133, allocations: 107.8 kB / 1.132 GB, free: 15.02 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.002401/1.135, allocations: 1.274 MB / 1.134 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009975/1.136, allocations: 357.3 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.136, allocations: 0.5625 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/1.137, allocations: 155.9 kB / 1.134 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/1.138, allocations: 83.42 kB / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/1.14, allocations: 0.9386 MB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/1.141, allocations: 0.9731 MB / 1.136 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004322/1.142, allocations: 76.69 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/1.142, allocations: 271.3 kB / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/1.142, allocations: 0 / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/1.219, allocations: 11.82 MB / 1.148 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.22, allocations: 189.8 kB / 1.148 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.343, allocations: 0 / 1.148 GB, free: 15.21 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)