Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.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.7.0.x_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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003247/0.003247, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.706/1.706, allocations: 251.7 MB / 0.5092 GB, free: 3.098 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002233, allocations: 71.89 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5299, allocations: 104.7 MB / 0.7245 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004231/0.5342, allocations: 2.204 MB / 0.7267 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.5361, allocations: 1.144 MB / 0.7278 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.5362, allocations: 11.94 kB / 0.7278 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.5368, allocations: 179.1 kB / 0.728 GB, free: 9.414 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.5371, allocations: 123.4 kB / 0.7281 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.5374, allocations: 106.4 kB / 0.7282 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.5377, allocations: 219.1 kB / 0.7284 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.5379, allocations: 46.34 kB / 0.7284 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.538, allocations: 91.56 kB / 0.7285 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.5382, allocations: 87.52 kB / 0.7286 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.5382, allocations: 11.98 kB / 0.7286 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.5384, allocations: 47.98 kB / 0.7287 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.5385, allocations: 83.69 kB / 0.7287 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.5386, allocations: 134.9 kB / 0.7289 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.5391, allocations: 330.7 kB / 0.7292 GB, free: 8.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5391, allocations: 0 / 0.7292 GB, free: 8.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.228e-06/0.5391, allocations: 0 / 0.7292 GB, free: 8.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5391, allocations: 3.938 kB / 0.7292 GB, free: 8.156 MB / 0.545 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.0009896/0.5401, allocations: 0.6647 MB / 0.7298 GB, free: 7.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5401, allocations: 8.031 kB / 0.7299 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.5402, allocations: 48.38 kB / 0.7299 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.5407, allocations: 344.1 kB / 0.7302 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5407, allocations: 384 / 0.7302 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.5407, allocations: 12.12 kB / 0.7302 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5409, allocations: 77.59 kB / 0.7303 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.541, allocations: 0 / 0.7303 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.541, allocations: 7.984 kB / 0.7303 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.541, allocations: 0 / 0.7303 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.5411, allocations: 35.98 kB / 0.7304 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.5418, allocations: 452.5 kB / 0.7308 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.542, allocations: 70.61 kB / 0.7309 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.5421, allocations: 28.95 kB / 0.7309 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.5421, allocations: 7.938 kB / 0.7309 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.5424, allocations: 75.38 kB / 0.731 GB, free: 6.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5424, allocations: 0 / 0.731 GB, free: 6.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003552/0.5428, allocations: 145 kB / 0.7311 GB, free: 6.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5429, allocations: 55.34 kB / 0.7312 GB, free: 5.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.5434, allocations: 0.5254 MB / 0.7317 GB, free: 5.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5434, allocations: 29.7 kB / 0.7317 GB, free: 5.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.5436, allocations: 216 kB / 0.7319 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.5436, allocations: 15.81 kB / 0.7319 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.5437, allocations: 37.7 kB / 0.7319 GB, free: 5.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5438, allocations: 358.8 kB / 0.7323 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.5439, allocations: 43.98 kB / 0.7323 GB, free: 4.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5441, allocations: 82.45 kB / 0.7324 GB, free: 4.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5442, allocations: 96.66 kB / 0.7325 GB, free: 4.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5442, allocations: 4 kB / 0.7325 GB, free: 4.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002888/0.5445, allocations: 185.1 kB / 0.7327 GB, free: 4.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5446, allocations: 14.02 kB / 0.7327 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5446, allocations: 0 / 0.7327 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5446, allocations: 0 / 0.7327 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.5447, allocations: 20 kB / 0.7327 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.5447, allocations: 11.98 kB / 0.7327 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5449, allocations: 19.84 kB / 0.7327 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.5449, allocations: 4 kB / 0.7328 GB, free: 4.273 MB / 0.545 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.0002596/0.5452, allocations: 181.7 kB / 0.7329 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.5452, allocations: 43.52 kB / 0.733 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.5453, allocations: 39.81 kB / 0.733 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5453, allocations: 4 kB / 0.733 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5453, allocations: 3.938 kB / 0.733 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5453, allocations: 7.984 kB / 0.733 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.5456, allocations: 297.4 kB / 0.7333 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5456, allocations: 4 kB / 0.7333 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.5456, allocations: 0 / 0.7333 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5456, allocations: 4 kB / 0.7333 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5456, allocations: 4.234 kB / 0.7333 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5456, allocations: 0 / 0.7333 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.5457, allocations: 7.938 kB / 0.7333 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5459, allocations: 156.5 kB / 0.7335 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.546, allocations: 112.5 kB / 0.7336 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.546, allocations: 0 / 0.7336 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.5461, allocations: 7.984 kB / 0.7336 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.5462, allocations: 15.92 kB / 0.7336 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5462, allocations: 4 kB / 0.7336 GB, free: 3.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003913/0.5466, allocations: 358.8 kB / 0.7339 GB, free: 2.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5466, allocations: 0 / 0.7339 GB, free: 2.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002568/0.5469, allocations: 44 kB / 0.734 GB, free: 2.906 MB / 0.545 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.0009901/0.5478, allocations: 424.1 kB / 0.7344 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.5481, allocations: 95.91 kB / 0.7345 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5481, allocations: 0 / 0.7345 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.5482, allocations: 23.98 kB / 0.7345 GB, free: 2.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.5486, allocations: 52.16 kB / 0.7346 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5496, allocations: 0.648 MB / 0.7352 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.5501, allocations: 0.8099 MB / 0.736 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.5502, allocations: 25.53 kB / 0.736 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.5503, allocations: 23.38 kB / 0.736 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5503, allocations: 0 / 0.736 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of Templates: time 0.00718/0.5575, allocations: 2.717 MB / 0.7387 GB, free: 14.23 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)