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.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001375/0.001376, allocations: 184.4 kB / 371.6 MB, free: 3.359 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.421/1.421, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009392/0.0009392, allocations: 93 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.433e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2653, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7982/1.064, allocations: 147.7 MB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.064, allocations: 96.06 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03707/1.101, allocations: 15.39 MB / 1.139 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.322e-06/1.101, allocations: 0 / 1.139 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.248e-05/1.101, allocations: 16 kB / 1.139 GB, free: 29.38 MB / 0.7448 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.001344/1.102, allocations: 0.9063 MB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.102, allocations: 9.062 kB / 1.14 GB, free: 28.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/1.103, allocations: 101.5 kB / 1.14 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/1.103, allocations: 91.73 kB / 1.14 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/1.103, allocations: 458.2 kB / 1.141 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/1.104, allocations: 88.19 kB / 1.141 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/1.104, allocations: 64.94 kB / 1.141 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/1.104, allocations: 0.6395 MB / 1.142 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.105, allocations: 3.938 kB / 1.142 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/1.105, allocations: 26.88 kB / 1.142 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.105, allocations: 16 kB / 1.142 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/1.105, allocations: 402.3 kB / 1.142 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/1.108, allocations: 2.707 MB / 1.145 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/1.108, allocations: 269.5 kB / 1.145 GB, free: 24.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/1.109, allocations: 136.9 kB / 1.145 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.109, allocations: 4.75 kB / 1.145 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/1.109, allocations: 189.2 kB / 1.145 GB, free: 24.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/1.109, allocations: 4 kB / 1.145 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005625/1.109, allocations: 323.7 kB / 1.146 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.11, allocations: 93.14 kB / 1.146 GB, free: 24.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/1.11, allocations: 0.5927 MB / 1.146 GB, free: 23.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/1.11, allocations: 48.16 kB / 1.146 GB, free: 23.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/1.111, allocations: 391.4 kB / 1.147 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/1.111, allocations: 94.31 kB / 1.147 GB, free: 23.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/1.111, allocations: 14.44 kB / 1.147 GB, free: 23.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.111, allocations: 379.1 kB / 1.147 GB, free: 23.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/1.111, allocations: 144.6 kB / 1.147 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/1.111, allocations: 356.2 kB / 1.148 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/1.112, allocations: 163.6 kB / 1.148 GB, free: 22.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.112, allocations: 0.75 kB / 1.148 GB, free: 22.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008091/1.113, allocations: 0.5296 MB / 1.148 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.113, allocations: 8.797 kB / 1.148 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.113, allocations: 8 kB / 1.148 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/1.113, allocations: 8 kB / 1.148 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.113, allocations: 87.16 kB / 1.148 GB, free: 22.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.113, allocations: 17.64 kB / 1.148 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/1.113, allocations: 79.06 kB / 1.148 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.113, allocations: 29.86 kB / 1.148 GB, free: 22.12 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.0001377/1.114, allocations: 164.9 kB / 1.149 GB, free: 21.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/1.114, allocations: 63.67 kB / 1.149 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/1.114, allocations: 396.1 kB / 1.149 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.114, allocations: 8.75 kB / 1.149 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.114, allocations: 0 / 1.149 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.114, allocations: 6.203 kB / 1.149 GB, free: 21.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/1.116, allocations: 1.011 MB / 1.15 GB, free: 20.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.116, allocations: 0 / 1.15 GB, free: 20.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/1.116, allocations: 42.06 kB / 1.15 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.116, allocations: 4 kB / 1.15 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/1.116, allocations: 13.28 kB / 1.15 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.116, allocations: 4 kB / 1.15 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.116, allocations: 0.6562 kB / 1.15 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/1.117, allocations: 454.8 kB / 1.151 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.117, allocations: 143.8 kB / 1.151 GB, free: 20.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/1.117, allocations: 22.34 kB / 1.151 GB, free: 20.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/1.117, allocations: 30.03 kB / 1.151 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.118, allocations: 62.12 kB / 1.151 GB, free: 20.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/1.118, allocations: 13.33 kB / 1.151 GB, free: 20.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005156/1.118, allocations: 439.1 kB / 1.151 GB, free: 20.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.118, allocations: 0 / 1.151 GB, free: 20.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006381/1.119, allocations: 130 kB / 1.151 GB, free: 19.97 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.00159/1.12, allocations: 1.311 MB / 1.153 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007128/1.121, allocations: 392 kB / 1.153 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.121, allocations: 8.188 kB / 1.153 GB, free: 18.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/1.121, allocations: 164.8 kB / 1.153 GB, free: 18.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/1.122, allocations: 89.66 kB / 1.153 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/1.124, allocations: 0.9832 MB / 1.154 GB, free: 17.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/1.125, allocations: 0.967 MB / 1.155 GB, free: 16.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003334/1.125, allocations: 78.97 kB / 1.155 GB, free: 16.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/1.125, allocations: 274.5 kB / 1.156 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/1.125, allocations: 0 / 1.156 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/1.156, allocations: 12.99 MB / 1.168 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.156, allocations: 206.3 kB / 1.168 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.705, allocations: 0 / 1.168 GB, free: 8.484 MB / 0.7448 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)