Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.4 MB / 298 MB, free: 5.961 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.001144/0.001144, allocations: 180.8 kB / 366.4 MB, free: 2.07 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.427/1.427, allocations: 205.1 MB / 0.6248 GB, free: 7.699 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.0007727/0.0007727, allocations: 88.42 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.611e-05/4.613e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6843, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.8869, allocations: 146.8 MB / 1.114 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.8872, allocations: 91.94 kB / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04157/0.9288, allocations: 15.4 MB / 1.129 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9289, allocations: 0 / 1.129 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.839e-05/0.9289, allocations: 18.62 kB / 1.129 GB, free: 5.461 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.001444/0.9304, allocations: 0.9111 MB / 1.13 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.9305, allocations: 16.02 kB / 1.13 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.9306, allocations: 96.58 kB / 1.13 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.9308, allocations: 94.88 kB / 1.131 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.9315, allocations: 464 kB / 1.131 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.9316, allocations: 75.02 kB / 1.131 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.9317, allocations: 64 kB / 1.131 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.9328, allocations: 0.6457 MB / 1.132 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.9328, allocations: 0 / 1.132 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.9329, allocations: 28 kB / 1.132 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.9329, allocations: 12 kB / 1.132 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.9336, allocations: 407.7 kB / 1.132 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.9367, allocations: 2.702 MB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.9372, allocations: 275 kB / 1.135 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.9375, allocations: 137.8 kB / 1.135 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.9375, allocations: 4 kB / 1.135 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.9379, allocations: 187.7 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 3.536e-06/0.9379, allocations: 3.938 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0006824/0.9386, allocations: 324.2 kB / 1.136 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.9386, allocations: 81.11 kB / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.9394, allocations: 0.6008 MB / 1.136 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.9395, allocations: 45.7 kB / 1.136 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.9398, allocations: 396.1 kB / 1.137 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.9399, allocations: 94.84 kB / 1.137 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.94, allocations: 12 kB / 1.137 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.9402, allocations: 382.8 kB / 1.137 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.9404, allocations: 141.5 kB / 1.137 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.9408, allocations: 365.6 kB / 1.138 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.9411, allocations: 152 kB / 1.138 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.9412, allocations: 0 / 1.138 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008642/0.942, allocations: 0.5397 MB / 1.138 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.9421, allocations: 8 kB / 1.138 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9421, allocations: 8.094 kB / 1.138 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.9421, allocations: 12 kB / 1.138 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.9425, allocations: 79.83 kB / 1.139 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.9425, allocations: 19.88 kB / 1.139 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.9429, allocations: 75.58 kB / 1.139 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.9429, allocations: 30.86 kB / 1.139 GB, free: 11.6 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.0001788/0.9431, allocations: 162 kB / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.9432, allocations: 63.16 kB / 1.139 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.9439, allocations: 392.4 kB / 1.139 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9439, allocations: 8 kB / 1.139 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9439, allocations: 0 / 1.139 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.944, allocations: 11.94 kB / 1.139 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.9455, allocations: 1.014 MB / 1.14 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9455, allocations: 0 / 1.14 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.9457, allocations: 40.53 kB / 1.14 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9457, allocations: 0 / 1.14 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.9457, allocations: 15.95 kB / 1.14 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.9457, allocations: 0 / 1.14 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.9457, allocations: 8.328 kB / 1.14 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.9463, allocations: 454.7 kB / 1.141 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.9465, allocations: 148.1 kB / 1.141 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.9466, allocations: 14.81 kB / 1.141 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.9468, allocations: 43.92 kB / 1.141 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.947, allocations: 55.91 kB / 1.141 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.947, allocations: 12 kB / 1.141 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005256/0.9475, allocations: 435.1 kB / 1.141 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9475, allocations: 0 / 1.141 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005489/0.9481, allocations: 127.9 kB / 1.142 GB, free: 8.535 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.001838/0.9499, allocations: 1.316 MB / 1.143 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.9507, allocations: 386.6 kB / 1.143 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9507, allocations: 1.562 kB / 1.143 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.951, allocations: 163.9 kB / 1.143 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.9515, allocations: 95.2 kB / 1.143 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.9535, allocations: 0.983 MB / 1.144 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.9541, allocations: 0.9711 MB / 1.145 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.9544, allocations: 83.16 kB / 1.145 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.9547, allocations: 275.3 kB / 1.146 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.9548, allocations: 3.938 kB / 1.146 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.983, allocations: 13 MB / 1.158 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.9832, allocations: 212.9 kB / 1.159 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/3.299, allocations: 0 / 1.159 GB, free: 7.41 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)