Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.647/1.647, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.00119/0.00119, allocations: 180.9 kB / 366.7 MB, free: 1.664 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.637/1.637, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0009054/0.0009054, allocations: 84.11 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.411e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7154, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.9082, allocations: 143.4 MB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.9085, allocations: 95.92 kB / 1.114 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.9353, allocations: 10.08 MB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9353, allocations: 4 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.919e-05/0.9353, allocations: 4 kB / 1.123 GB, free: 12.46 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007358/0.9361, allocations: 0.5676 MB / 1.124 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.9361, allocations: 12.03 kB / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.9362, allocations: 43.44 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.9368, allocations: 355.2 kB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.9368, allocations: 7.938 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.9369, allocations: 4 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.937, allocations: 31.98 kB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.9371, allocations: 69.67 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9371, allocations: 3.938 kB / 1.124 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.9371, allocations: 0 / 1.124 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9372, allocations: 3.094 kB / 1.124 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.9378, allocations: 445.1 kB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.9379, allocations: 62.61 kB / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.938, allocations: 24.97 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.938, allocations: 4 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.9382, allocations: 77.14 kB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.9382, allocations: 0 / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002638/0.9384, allocations: 121.1 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.9385, allocations: 51.41 kB / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.939, allocations: 457.3 kB / 1.126 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.939, allocations: 25.7 kB / 1.126 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.9391, allocations: 223.9 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.9392, allocations: 15.81 kB / 1.126 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.9392, allocations: 3.938 kB / 1.126 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9393, allocations: 358.8 kB / 1.126 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.9394, allocations: 51.98 kB / 1.126 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/0.9395, allocations: 75.5 kB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.9397, allocations: 65.92 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9398, allocations: 112 / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003822/0.9401, allocations: 217 kB / 1.127 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9402, allocations: 9.188 kB / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9402, allocations: 0 / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9402, allocations: 0 / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.9403, allocations: 23.98 kB / 1.127 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.9404, allocations: 0 / 1.127 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.9405, allocations: 8 kB / 1.127 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.9405, allocations: 15.94 kB / 1.127 GB, free: 8.879 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.605e-05/0.9406, allocations: 117 kB / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001575/0.9408, allocations: 119.7 kB / 1.127 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.9409, allocations: 43.44 kB / 1.127 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.9411, allocations: 127.8 kB / 1.127 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9411, allocations: 4 kB / 1.127 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9411, allocations: 3.953 kB / 1.127 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9411, allocations: 3.281 kB / 1.127 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.9414, allocations: 274.1 kB / 1.127 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9414, allocations: 7.938 kB / 1.127 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.9414, allocations: 8 kB / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.9414, allocations: 0 / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9415, allocations: 0 / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9415, allocations: 0 / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9415, allocations: 0 / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.9417, allocations: 152.5 kB / 1.127 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.9418, allocations: 128.5 kB / 1.128 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.9418, allocations: 4 kB / 1.128 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.9419, allocations: 7.984 kB / 1.128 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.942, allocations: 15.98 kB / 1.128 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.942, allocations: 3.25 kB / 1.128 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003318/0.9423, allocations: 338.9 kB / 1.128 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9423, allocations: 0 / 1.128 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002858/0.9426, allocations: 48 kB / 1.128 GB, free: 7.418 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001208/0.9438, allocations: 0.9819 MB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.944, allocations: 95.91 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.944, allocations: 1.594 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.243e-05/0.9441, allocations: 24 kB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.9444, allocations: 52.19 kB / 1.129 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.9454, allocations: 0.5458 MB / 1.13 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.9458, allocations: 0.8271 MB / 1.13 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.42e-05/0.9459, allocations: 24.36 kB / 1.13 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.946, allocations: 115.4 kB / 1.131 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.946, allocations: 0 / 1.131 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.973, allocations: 6.726 MB / 1.137 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.9733, allocations: 195.8 kB / 1.137 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.995, allocations: 6.031 kB / 1.137 GB, free: 14.04 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)