Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007943/0.007943, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 13.45 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002725/0.3667, allocations: 1.88 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.369, allocations: 1.331 MB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3692, allocations: 3.938 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.3698, allocations: 179.7 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.3701, allocations: 119.5 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.3705, allocations: 127.4 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.3708, allocations: 223.1 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3709, allocations: 32.67 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3711, allocations: 83.52 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3713, allocations: 99.44 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3713, allocations: 4 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3715, allocations: 47.95 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3716, allocations: 83.67 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3717, allocations: 148.6 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.3721, allocations: 342.5 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3721, allocations: 0 / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3722, allocations: 0 / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3722, allocations: 8 kB / 1.079 GB, free: 2.809 MB / 0.8262 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.001008/0.3732, allocations: 0.6276 MB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3732, allocations: 8.031 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.3733, allocations: 44.38 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3738, allocations: 356.2 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3738, allocations: 8.375 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3739, allocations: 11.94 kB / 1.08 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.374, allocations: 77.66 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3741, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3741, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3741, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3742, allocations: 35.98 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.3749, allocations: 464.5 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3751, allocations: 66.66 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.3752, allocations: 24.84 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3752, allocations: 8.047 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.3754, allocations: 79.33 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3754, allocations: 0 / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003448/0.3758, allocations: 137.2 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3758, allocations: 55.34 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.3764, allocations: 0.5332 MB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3765, allocations: 37.64 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3766, allocations: 216 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3767, allocations: 23.69 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3767, allocations: 25.7 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3769, allocations: 362.8 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.377, allocations: 47.98 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3771, allocations: 75.95 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3773, allocations: 84.12 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3773, allocations: 0 / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003097/0.3776, allocations: 201 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3777, allocations: 8 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3777, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3777, allocations: 3.984 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3778, allocations: 27.88 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3778, allocations: 256 / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3779, allocations: 20.02 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.378, allocations: 8 kB / 1.082 GB, free: 14.94 MB / 0.8419 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.3782, allocations: 182.3 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3782, allocations: 43.44 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.3783, allocations: 39.81 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3783, allocations: 7.938 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3783, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3783, allocations: 3.984 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.3786, allocations: 297.5 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3786, allocations: 4 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.3786, allocations: 7.984 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3786, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3786, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3786, allocations: 7.875 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3787, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3789, allocations: 148.5 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.379, allocations: 124.4 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.379, allocations: 12 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.3791, allocations: 7.938 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.3792, allocations: 11.97 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3792, allocations: 4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003732/0.3796, allocations: 362.8 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3796, allocations: 0 / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002667/0.3798, allocations: 40 kB / 1.083 GB, free: 13.57 MB / 0.8419 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.3809, allocations: 431.9 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.3812, allocations: 91.91 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3812, allocations: 0 / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.3813, allocations: 31.92 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3817, allocations: 55.23 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3828, allocations: 0.7456 MB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3833, allocations: 0.8257 MB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.06e-05/0.3834, allocations: 25.48 kB / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.3834, allocations: 19.44 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3834, allocations: 4 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.00706/0.3905, allocations: 2.695 MB / 1.088 GB, free: 8.773 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)