Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",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.526/2.526, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001474/0.001474, allocations: 176.9 kB / 360.6 MB, free: 7.258 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.063/2.063, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001127/0.001126, allocations: 90.94 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.395e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8004, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/1.044, allocations: 145.8 MB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.045, allocations: 92.47 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05915/1.104, allocations: 14.15 MB / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/1.104, allocations: 0 / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.207e-05/1.104, allocations: 12 kB / 1.12 GB, free: 12.48 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00159/1.106, allocations: 0.8339 MB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.106, allocations: 16.03 kB / 1.121 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/1.106, allocations: 79.06 kB / 1.121 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.107, allocations: 444.2 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.107, allocations: 55 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.107, allocations: 36 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009495/1.108, allocations: 314.5 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.109, allocations: 0.5377 MB / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.109, allocations: 3.938 kB / 1.122 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/1.109, allocations: 4 kB / 1.122 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/1.11, allocations: 12 kB / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/1.113, allocations: 2.551 MB / 1.124 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/1.114, allocations: 247.6 kB / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/1.114, allocations: 125.4 kB / 1.125 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.114, allocations: 288 / 1.125 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/1.115, allocations: 187.5 kB / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 2.484e-06/1.115, allocations: 0 / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0008759/1.116, allocations: 312.4 kB / 1.125 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.116, allocations: 93.09 kB / 1.125 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/1.117, allocations: 0.5253 MB / 1.126 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/1.117, allocations: 41.64 kB / 1.126 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/1.117, allocations: 360.4 kB / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/1.117, allocations: 90.86 kB / 1.126 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/1.117, allocations: 1.5 kB / 1.126 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002298/1.118, allocations: 378.8 kB / 1.127 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/1.118, allocations: 113.5 kB / 1.127 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/1.118, allocations: 307.4 kB / 1.127 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/1.119, allocations: 132.7 kB / 1.127 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.119, allocations: 0 / 1.127 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001098/1.12, allocations: 459 kB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.12, allocations: 9.719 kB / 1.128 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.12, allocations: 4 kB / 1.128 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/1.12, allocations: 15.94 kB / 1.128 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.121, allocations: 71.83 kB / 1.128 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.121, allocations: 11.94 kB / 1.128 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/1.121, allocations: 32.28 kB / 1.128 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.121, allocations: 27.98 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000207/1.121, allocations: 145.5 kB / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007721/1.122, allocations: 328.5 kB / 1.128 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.122, allocations: 62.53 kB / 1.128 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.123, allocations: 378.7 kB / 1.129 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.123, allocations: 4 kB / 1.129 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.123, allocations: 3.984 kB / 1.129 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.123, allocations: 0 / 1.129 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/1.125, allocations: 0.9472 MB / 1.13 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.125, allocations: 0 / 1.13 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.126, allocations: 31.92 kB / 1.13 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.126, allocations: 0 / 1.13 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/1.126, allocations: 7.984 kB / 1.13 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.126, allocations: 0 / 1.13 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.126, allocations: 4 kB / 1.13 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/1.127, allocations: 455.2 kB / 1.13 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/1.127, allocations: 144.2 kB / 1.13 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/1.127, allocations: 0 / 1.13 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.127, allocations: 15.98 kB / 1.13 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/1.128, allocations: 43.94 kB / 1.13 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/1.128, allocations: 15.98 kB / 1.13 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006772/1.128, allocations: 374.9 kB / 1.131 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/1.128, allocations: 0 / 1.131 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007527/1.129, allocations: 103.9 kB / 1.131 GB, free: 0.5664 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: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.002367/1.131, allocations: 1.299 MB / 1.132 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009567/1.132, allocations: 341.7 kB / 1.132 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.133, allocations: 1.562 kB / 1.132 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/1.133, allocations: 159.8 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/1.134, allocations: 77.23 kB / 1.133 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.136, allocations: 0.8971 MB / 1.133 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/1.137, allocations: 0.9458 MB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004212/1.137, allocations: 79.28 kB / 1.134 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/1.138, allocations: 239.3 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/1.138, allocations: 4 kB / 1.135 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/1.196, allocations: 11.25 MB / 1.146 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/1.197, allocations: 183.4 kB / 1.146 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/4.194, allocations: 3.938 kB / 1.146 GB, free: 1.434 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)