Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") 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.6 MB / 293.1 MB, free: 10.2 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.001369/0.001369, allocations: 180.4 kB / 361.4 MB, free: 6.809 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.582/1.582, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.000878/0.000878, allocations: 89.31 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.217e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5637, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.7341, allocations: 142.5 MB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.7344, allocations: 90.64 kB / 1.104 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.7613, allocations: 10.08 MB / 1.113 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7614, allocations: 0 / 1.113 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.7614, allocations: 12 kB / 1.113 GB, free: 3.203 MB / 0.7136 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.0006651/0.7621, allocations: 0.572 MB / 1.114 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.7621, allocations: 8.031 kB / 1.114 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.7622, allocations: 44.47 kB / 1.114 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.7628, allocations: 351.9 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.7628, allocations: 3.938 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7628, allocations: 4 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.934e-05/0.7629, allocations: 32 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.7631, allocations: 69.66 kB / 1.114 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7631, allocations: 4 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.7631, allocations: 0 / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7631, allocations: 7.984 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.7638, allocations: 448.4 kB / 1.115 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7639, allocations: 62.69 kB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.764, allocations: 31.34 kB / 1.115 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.764, allocations: 0 / 1.115 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.7641, allocations: 71.33 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.7641, allocations: 0 / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002245/0.7644, allocations: 121.1 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7644, allocations: 59.41 kB / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.7649, allocations: 453.3 kB / 1.116 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.7649, allocations: 29.7 kB / 1.116 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.7651, allocations: 219.9 kB / 1.116 GB, free: 476 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7651, allocations: 15.81 kB / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.7651, allocations: 0 / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7653, allocations: 358.8 kB / 1.116 GB, free: 92 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.7654, allocations: 51.98 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.7655, allocations: 79.81 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.7657, allocations: 61.22 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7657, allocations: 112 / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003493/0.7661, allocations: 212.9 kB / 1.117 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7661, allocations: 7.984 kB / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7661, allocations: 0 / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7661, allocations: 4 kB / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.7662, allocations: 24 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.7662, allocations: 7.984 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.7664, allocations: 8 kB / 1.117 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.7664, allocations: 15.94 kB / 1.117 GB, free: 15.61 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 7.882e-05/0.7665, allocations: 105.9 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.7665, allocations: 43.44 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.7668, allocations: 133.5 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7668, allocations: 0 / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7668, allocations: 0 / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7668, allocations: 0 / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.767, allocations: 287.6 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7671, allocations: 0 / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.7671, allocations: 4 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7671, allocations: 0 / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7671, allocations: 1.5 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.7671, allocations: 7.984 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7671, allocations: 0 / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.7673, allocations: 152.5 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.7674, allocations: 120.5 kB / 1.118 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.7675, allocations: 0 / 1.118 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.7676, allocations: 11.98 kB / 1.118 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.7676, allocations: 7.984 kB / 1.118 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.7676, allocations: 14.06 kB / 1.118 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003248/0.768, allocations: 334.9 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/0.768, allocations: 4 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003175/0.7683, allocations: 48 kB / 1.118 GB, free: 14.28 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.0008051/0.7691, allocations: 398.9 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.7693, allocations: 95.91 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7693, allocations: 0 / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.7694, allocations: 27.98 kB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.7697, allocations: 48.3 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.7704, allocations: 453.4 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.7708, allocations: 0.8279 MB / 1.12 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.829e-05/0.7709, allocations: 30.98 kB / 1.12 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.771, allocations: 19.44 kB / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.771, allocations: 0 / 1.12 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.006244/0.7772, allocations: 2.686 MB / 1.122 GB, free: 9.871 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)