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.619/1.619, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.001174/0.001174, allocations: 179.8 kB / 371.6 MB, free: 3.398 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.344/1.344, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008724/0.0008724, allocations: 87.95 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.322e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7177/0.9725, allocations: 144.1 MB / 1.121 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.9729, allocations: 83.83 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.9966, allocations: 10.17 MB / 1.131 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9966, allocations: 0 / 1.131 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.9966, allocations: 4 kB / 1.131 GB, free: 34.97 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008424/0.9975, allocations: 0.5732 MB / 1.131 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.9976, allocations: 12.03 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.9976, allocations: 34.12 kB / 1.131 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.9977, allocations: 48.58 kB / 1.131 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.9983, allocations: 350.6 kB / 1.132 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.9983, allocations: 11.27 kB / 1.132 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.9983, allocations: 11.92 kB / 1.132 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.9985, allocations: 76.36 kB / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.9985, allocations: 0 / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9985, allocations: 3.125 kB / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.9985, allocations: 0 / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.9986, allocations: 35.47 kB / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.9993, allocations: 477.8 kB / 1.132 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9995, allocations: 61.89 kB / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.9995, allocations: 27.61 kB / 1.132 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.9996, allocations: 4 kB / 1.132 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.9997, allocations: 77.94 kB / 1.132 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.9997, allocations: 0 / 1.132 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002605/1, allocations: 127.5 kB / 1.132 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1, allocations: 52.06 kB / 1.133 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/1.001, allocations: 478.7 kB / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.001, allocations: 29.7 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.001, allocations: 223.7 kB / 1.133 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/1.001, allocations: 22.59 kB / 1.133 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/1.001, allocations: 3.562 kB / 1.133 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/1.001, allocations: 356.1 kB / 1.134 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/1.001, allocations: 53.45 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/1.001, allocations: 88.41 kB / 1.134 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/1.001, allocations: 58.44 kB / 1.134 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.001, allocations: 0 / 1.134 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002598/1.001, allocations: 208.5 kB / 1.134 GB, free: 32.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.001, allocations: 8 kB / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.001, allocations: 1.016 kB / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.001, allocations: 0 / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.002, allocations: 27.97 kB / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.002, allocations: 3.953 kB / 1.134 GB, free: 32.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/1.002, allocations: 19.44 kB / 1.134 GB, free: 32.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/1.002, allocations: 8 kB / 1.134 GB, free: 32.04 MB / 0.7448 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 5.697e-05/1.002, allocations: 114.4 kB / 1.134 GB, free: 31.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/1.002, allocations: 43.44 kB / 1.134 GB, free: 31.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/1.002, allocations: 131.4 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.002, allocations: 0 / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.002, allocations: 1.188 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.002, allocations: 3.953 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/1.002, allocations: 314.5 kB / 1.135 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.002, allocations: 0 / 1.135 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/1.002, allocations: 4 kB / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.002, allocations: 0.6562 kB / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.002, allocations: 0 / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.002, allocations: 4.625 kB / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.002, allocations: 0 / 1.135 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/1.003, allocations: 159.7 kB / 1.135 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/1.003, allocations: 128.5 kB / 1.135 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/1.003, allocations: 7.406 kB / 1.135 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/1.003, allocations: 5.688 kB / 1.135 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/1.003, allocations: 14.7 kB / 1.135 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.003, allocations: 3.938 kB / 1.135 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002823/1.003, allocations: 361.4 kB / 1.135 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/1.003, allocations: 0 / 1.135 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002969/1.003, allocations: 55.56 kB / 1.135 GB, free: 30.93 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: 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.001147/1.005, allocations: 1.004 MB / 1.136 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000181/1.005, allocations: 101.9 kB / 1.136 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.005, allocations: 0 / 1.136 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/1.005, allocations: 26.14 kB / 1.136 GB, free: 30 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/1.005, allocations: 52.8 kB / 1.136 GB, free: 29.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/1.006, allocations: 0.5574 MB / 1.137 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/1.006, allocations: 0.8207 MB / 1.138 GB, free: 28.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.523e-05/1.006, allocations: 27.84 kB / 1.138 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.006, allocations: 113.6 kB / 1.138 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.006, allocations: 1.406 kB / 1.138 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.026, allocations: 7.605 MB / 1.145 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.026, allocations: 207.6 kB / 1.146 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.998, allocations: 0 / 1.146 GB, free: 23.82 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)