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.001198/0.001197, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001345/0.001345, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.691/1.691, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005663/0.0005663, allocations: 12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.665, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003685/0.6687, allocations: 1.833 MB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.6709, allocations: 1.039 MB / 0.7308 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.6712, allocations: 4 kB / 0.7308 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.6719, allocations: 171.3 kB / 0.7309 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.6723, allocations: 115.6 kB / 0.7311 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.6727, allocations: 75.86 kB / 0.7311 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.6731, allocations: 155.6 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.6733, allocations: 32.38 kB / 0.7313 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.6735, allocations: 87.62 kB / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.6737, allocations: 83.56 kB / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.6737, allocations: 4 kB / 0.7315 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.6738, allocations: 24 kB / 0.7315 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.674, allocations: 83.66 kB / 0.7316 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.6741, allocations: 73.52 kB / 0.7316 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.6745, allocations: 257.4 kB / 0.7319 GB, free: 7.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6745, allocations: 0 / 0.7319 GB, free: 7.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.697e-06/0.6745, allocations: 0 / 0.7319 GB, free: 7.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6745, allocations: 3.938 kB / 0.7319 GB, free: 7.375 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.001128/0.6757, allocations: 0.6212 MB / 0.7325 GB, free: 6.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6757, allocations: 12.03 kB / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.6759, allocations: 47.39 kB / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.6764, allocations: 319.3 kB / 0.7329 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.6765, allocations: 8 kB / 0.7329 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.6765, allocations: 4 kB / 0.7329 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.6767, allocations: 77.59 kB / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6767, allocations: 0 / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.6768, allocations: 4 kB / 0.733 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6768, allocations: 7.938 kB / 0.733 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.6769, allocations: 39.94 kB / 0.733 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.6778, allocations: 444.6 kB / 0.7334 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6781, allocations: 74.61 kB / 0.7335 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.6781, allocations: 0 / 0.7335 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.6783, allocations: 75.47 kB / 0.7336 GB, free: 5.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.6783, allocations: 0 / 0.7336 GB, free: 5.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000407/0.6788, allocations: 149 kB / 0.7337 GB, free: 5.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.6788, allocations: 51.41 kB / 0.7338 GB, free: 5.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.6796, allocations: 0.5254 MB / 0.7343 GB, free: 4.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6796, allocations: 29.7 kB / 0.7343 GB, free: 4.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.6799, allocations: 219.9 kB / 0.7345 GB, free: 4.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.6799, allocations: 7.906 kB / 0.7345 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.6799, allocations: 4 kB / 0.7345 GB, free: 4.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002872/0.6802, allocations: 358.8 kB / 0.7349 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6804, allocations: 43.98 kB / 0.7349 GB, free: 4.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.6806, allocations: 84.64 kB / 0.735 GB, free: 3.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.6808, allocations: 55.3 kB / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6808, allocations: 0 / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004038/0.6812, allocations: 189.1 kB / 0.7352 GB, free: 3.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6813, allocations: 7.953 kB / 0.7352 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6813, allocations: 4 kB / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6813, allocations: 0 / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.6815, allocations: 23.92 kB / 0.7353 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6815, allocations: 12 kB / 0.7353 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6817, allocations: 11.91 kB / 0.7353 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.6817, allocations: 11.98 kB / 0.7353 GB, free: 3.68 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.682, allocations: 184.4 kB / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.6821, allocations: 35.64 kB / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.6822, allocations: 55.69 kB / 0.7355 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6822, allocations: 0 / 0.7355 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6822, allocations: 4 kB / 0.7356 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6822, allocations: 0 / 0.7356 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.6826, allocations: 305.4 kB / 0.7358 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6826, allocations: 3.938 kB / 0.7358 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.6826, allocations: 7.984 kB / 0.7359 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6826, allocations: 0 / 0.7359 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.6826, allocations: 0 / 0.7359 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.6826, allocations: 7.953 kB / 0.7359 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6826, allocations: 0 / 0.7359 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.6829, allocations: 140.6 kB / 0.736 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6831, allocations: 120.5 kB / 0.7361 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.6831, allocations: 4 kB / 0.7361 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6832, allocations: 8 kB / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.6833, allocations: 16.23 kB / 0.7361 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.6833, allocations: 4 kB / 0.7361 GB, free: 2.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005623/0.6839, allocations: 354.8 kB / 0.7365 GB, free: 2.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6839, allocations: 0 / 0.7365 GB, free: 2.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003799/0.6843, allocations: 44 kB / 0.7365 GB, free: 2.316 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 (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.001196/0.6855, allocations: 417.9 kB / 0.7369 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.6858, allocations: 87.48 kB / 0.737 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6858, allocations: 0 / 0.737 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.6859, allocations: 31.92 kB / 0.737 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.6863, allocations: 50 kB / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6876, allocations: 0.7103 MB / 0.7378 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.6881, allocations: 0.8187 MB / 0.7386 GB, free: 324 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.6882, allocations: 33.64 kB / 0.7386 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.6883, allocations: 19.44 kB / 0.7386 GB, free: 272 kB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.6883, allocations: 0 / 0.7386 GB, free: 272 kB / 0.545 GB Notification: Performance of Templates: time 0.008933/0.6973, allocations: 2.465 MB / 0.741 GB, free: 13.82 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: