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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001186/0.001187, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.59/1.59, allocations: 205.1 MB / 222 MB, free: 4.734 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.559/1.559, allocations: 251.6 MB / 0.5088 GB, free: 3.312 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.001297/0.001297, allocations: 67.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5573, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004022/0.5614, allocations: 2.257 MB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.5633, allocations: 1.137 MB / 0.7271 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.5635, allocations: 0 / 0.7271 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.5643, allocations: 179.3 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.5647, allocations: 115.5 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.565, allocations: 95.77 kB / 0.7275 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.5654, allocations: 203.2 kB / 0.7277 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.5655, allocations: 50.34 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.5657, allocations: 83.52 kB / 0.7278 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.5659, allocations: 91.55 kB / 0.7279 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.453e-05/0.5659, allocations: 4 kB / 0.7279 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.5661, allocations: 28 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.5662, allocations: 91.59 kB / 0.728 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.5663, allocations: 126.9 kB / 0.7281 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.5667, allocations: 330.7 kB / 0.7285 GB, free: 8.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5667, allocations: 0 / 0.7285 GB, free: 8.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5667, allocations: 0 / 0.7285 GB, free: 8.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5668, allocations: 4 kB / 0.7285 GB, free: 8.344 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.0009924/0.5678, allocations: 0.6609 MB / 0.7291 GB, free: 7.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5678, allocations: 8.031 kB / 0.7291 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.5679, allocations: 48.38 kB / 0.7292 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.5684, allocations: 348 kB / 0.7295 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5684, allocations: 4.375 kB / 0.7295 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.5684, allocations: 8.125 kB / 0.7295 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.5687, allocations: 81.66 kB / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5687, allocations: 0 / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.5687, allocations: 0 / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5687, allocations: 0 / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.5688, allocations: 39.97 kB / 0.7296 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.5695, allocations: 448.5 kB / 0.73 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.5697, allocations: 74.72 kB / 0.7301 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.5698, allocations: 24.8 kB / 0.7301 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.5698, allocations: 4 kB / 0.7301 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.5701, allocations: 71.38 kB / 0.7302 GB, free: 6.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5701, allocations: 4 kB / 0.7302 GB, free: 6.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003476/0.5704, allocations: 145.1 kB / 0.7304 GB, free: 6.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.5705, allocations: 63.22 kB / 0.7304 GB, free: 6.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.571, allocations: 0.5254 MB / 0.7309 GB, free: 5.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.5711, allocations: 29.7 kB / 0.731 GB, free: 5.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5712, allocations: 208 kB / 0.7312 GB, free: 5.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.5713, allocations: 23.78 kB / 0.7312 GB, free: 5.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.5713, allocations: 41.7 kB / 0.7312 GB, free: 5.305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5715, allocations: 362.8 kB / 0.7316 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5716, allocations: 47.98 kB / 0.7316 GB, free: 4.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.5717, allocations: 76.33 kB / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.5719, allocations: 88.73 kB / 0.7318 GB, free: 4.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5719, allocations: 0 / 0.7318 GB, free: 4.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003167/0.5722, allocations: 193.2 kB / 0.732 GB, free: 4.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5723, allocations: 4 kB / 0.732 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5723, allocations: 0 / 0.732 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5723, allocations: 256 / 0.732 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5724, allocations: 27.92 kB / 0.732 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.5724, allocations: 7.938 kB / 0.732 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.5725, allocations: 23.83 kB / 0.732 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.5726, allocations: 4 kB / 0.732 GB, free: 4.461 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.0001769/0.5728, allocations: 184.8 kB / 0.7322 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.5728, allocations: 39.53 kB / 0.7322 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.5729, allocations: 43.8 kB / 0.7323 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5729, allocations: 0 / 0.7323 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5729, allocations: 3.938 kB / 0.7323 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5729, allocations: 0 / 0.7323 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.5732, allocations: 301.4 kB / 0.7326 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5732, allocations: 0 / 0.7326 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.5732, allocations: 11.92 kB / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5732, allocations: 0 / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5733, allocations: 0 / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5733, allocations: 4 kB / 0.7326 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5733, allocations: 7.875 kB / 0.7326 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.5735, allocations: 148.6 kB / 0.7327 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.5736, allocations: 112.5 kB / 0.7328 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.5737, allocations: 8 kB / 0.7328 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.5738, allocations: 3.984 kB / 0.7328 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.5738, allocations: 15.92 kB / 0.7329 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5738, allocations: 4 kB / 0.7329 GB, free: 3.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003687/0.5742, allocations: 362.8 kB / 0.7332 GB, free: 3.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5742, allocations: 0 / 0.7332 GB, free: 3.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002496/0.5745, allocations: 36 kB / 0.7332 GB, free: 3.105 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.0009936/0.5755, allocations: 410.9 kB / 0.7336 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.5757, allocations: 95.95 kB / 0.7337 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5758, allocations: 4.062 kB / 0.7337 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.5758, allocations: 31.91 kB / 0.7338 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5763, allocations: 57.8 kB / 0.7338 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5773, allocations: 0.72 MB / 0.7345 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5778, allocations: 0.8141 MB / 0.7353 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.032e-05/0.5779, allocations: 21.55 kB / 0.7353 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.5779, allocations: 19.42 kB / 0.7354 GB, free: 1.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5779, allocations: 4 kB / 0.7354 GB, free: 1.035 MB / 0.545 GB Notification: Performance of Templates: time 0.00627/0.5842, allocations: 2.554 MB / 0.7379 GB, free: 14.51 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)