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.007653/0.007653, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.002066/0.002066, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.549/1.549, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001381/0.001381, allocations: 63.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00364/0.2465, allocations: 2.204 MB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2483, allocations: 1.152 MB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2485, allocations: 7.938 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.2491, allocations: 183.1 kB / 0.8315 GB, free: 12.61 MB / 0.6544 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.0003395/0.2495, allocations: 123.4 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2498, allocations: 102.6 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.2501, allocations: 223.1 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2503, allocations: 48.36 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2504, allocations: 91.62 kB / 0.8321 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2506, allocations: 95.5 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2506, allocations: 8 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2507, allocations: 39.98 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2508, allocations: 87.67 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.251, allocations: 134.9 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.2514, allocations: 342.7 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.2514, allocations: 3.984 kB / 0.8328 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2514, allocations: 0 / 0.8328 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2514, allocations: 0 / 0.8328 GB, free: 11.33 MB / 0.6544 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.0009204/0.2523, allocations: 0.6609 MB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2524, allocations: 8.031 kB / 0.8334 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.2525, allocations: 48.38 kB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.253, allocations: 352 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.253, allocations: 384 / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.253, allocations: 16.11 kB / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2532, allocations: 73.66 kB / 0.8339 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2532, allocations: 0 / 0.8339 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2532, allocations: 4 kB / 0.8339 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2532, allocations: 7.938 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.2534, allocations: 35.98 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.254, allocations: 448.5 kB / 0.8343 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2542, allocations: 62.67 kB / 0.8344 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2543, allocations: 32.78 kB / 0.8344 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.2543, allocations: 4 kB / 0.8344 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2545, allocations: 79.31 kB / 0.8345 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.2545, allocations: 0 / 0.8345 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003265/0.2548, allocations: 141.1 kB / 0.8347 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2549, allocations: 55.34 kB / 0.8347 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.2554, allocations: 0.5216 MB / 0.8352 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2554, allocations: 29.7 kB / 0.8352 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.2556, allocations: 223.9 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.2556, allocations: 15.81 kB / 0.8355 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.2557, allocations: 41.69 kB / 0.8355 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2559, allocations: 354.8 kB / 0.8358 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.256, allocations: 43.98 kB / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2561, allocations: 86.39 kB / 0.836 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2563, allocations: 85.69 kB / 0.8361 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2563, allocations: 4 kB / 0.8361 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002936/0.2566, allocations: 189.1 kB / 0.8362 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.2567, allocations: 8 kB / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2567, allocations: 0 / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2567, allocations: 0 / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2568, allocations: 23.98 kB / 0.8363 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2569, allocations: 8 kB / 0.8363 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.257, allocations: 15.91 kB / 0.8363 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.257, allocations: 7.984 kB / 0.8363 GB, free: 7.449 MB / 0.6544 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.0001845/0.2572, allocations: 179.7 kB / 0.8365 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.2572, allocations: 47.45 kB / 0.8365 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.2573, allocations: 43.8 kB / 0.8366 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2573, allocations: 4 kB / 0.8366 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2574, allocations: 4.188 kB / 0.8366 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2574, allocations: 4 kB / 0.8366 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2576, allocations: 301.4 kB / 0.8369 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2576, allocations: 4 kB / 0.8369 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.2577, allocations: 3.984 kB / 0.8369 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.2577, allocations: 4 kB / 0.8369 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2577, allocations: 0 / 0.8369 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2577, allocations: 0 / 0.8369 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2577, allocations: 3.938 kB / 0.8369 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.2579, allocations: 152.6 kB / 0.837 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.258, allocations: 112.5 kB / 0.8371 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.2581, allocations: 3.984 kB / 0.8371 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.2581, allocations: 4 kB / 0.8371 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.2582, allocations: 15.92 kB / 0.8371 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2582, allocations: 7.938 kB / 0.8372 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003497/0.2586, allocations: 358.8 kB / 0.8375 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2586, allocations: 0 / 0.8375 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002604/0.2589, allocations: 43.98 kB / 0.8375 GB, free: 6.082 MB / 0.6544 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.0009309/0.2598, allocations: 416 kB / 0.8379 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.26, allocations: 90.58 kB / 0.838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2601, allocations: 0 / 0.838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.2601, allocations: 31.92 kB / 0.8381 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2605, allocations: 59.61 kB / 0.8381 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.2615, allocations: 0.6286 MB / 0.8387 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2619, allocations: 0.8215 MB / 0.8395 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.262, allocations: 21.53 kB / 0.8395 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.262, allocations: 19.44 kB / 0.8396 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.262, allocations: 0 / 0.8396 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of Templates: time 0.006938/0.269, allocations: 2.725 MB / 0.8422 GB, free: 1.418 MB / 0.6544 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)