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.0009177/0.0009177, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001053/0.001052, allocations: 168.7 kB / 15.95 MB, free: 204 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.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.69/1.69, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0005259/0.0005262, allocations: 20 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5753, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002791/0.5781, allocations: 1.857 MB / 0.7299 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.5798, allocations: 1.063 MB / 0.731 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.5799, allocations: 0 / 0.731 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.5804, allocations: 175.3 kB / 0.7312 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.5807, allocations: 111.5 kB / 0.7313 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.581, allocations: 82.34 kB / 0.7313 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.5812, allocations: 187.2 kB / 0.7315 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.5814, allocations: 36.38 kB / 0.7315 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.5815, allocations: 83.58 kB / 0.7316 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.5816, allocations: 87.56 kB / 0.7317 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.5817, allocations: 4 kB / 0.7317 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.5818, allocations: 27.98 kB / 0.7317 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.5819, allocations: 87.66 kB / 0.7318 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.582, allocations: 77.45 kB / 0.7319 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.5822, allocations: 245.5 kB / 0.7321 GB, free: 7.445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5822, allocations: 7.984 kB / 0.7321 GB, free: 7.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5822, allocations: 0 / 0.7321 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5823, allocations: 0 / 0.7321 GB, free: 7.438 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.0007987/0.5831, allocations: 0.6143 MB / 0.7327 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5831, allocations: 12.03 kB / 0.7328 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.5832, allocations: 47.39 kB / 0.7328 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.5836, allocations: 319.3 kB / 0.7331 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5836, allocations: 15.98 kB / 0.7331 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.5836, allocations: 4 kB / 0.7331 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.5838, allocations: 77.59 kB / 0.7332 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5838, allocations: 3.938 kB / 0.7332 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5838, allocations: 4 kB / 0.7332 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5839, allocations: 0 / 0.7332 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.584, allocations: 35.94 kB / 0.7332 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.5846, allocations: 468.5 kB / 0.7337 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.5848, allocations: 62.69 kB / 0.7337 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.5848, allocations: 24.84 kB / 0.7338 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.5849, allocations: 11.95 kB / 0.7338 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.5851, allocations: 75.31 kB / 0.7339 GB, free: 5.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.5851, allocations: 0 / 0.7339 GB, free: 5.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003231/0.5854, allocations: 141.1 kB / 0.734 GB, free: 5.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5855, allocations: 55.39 kB / 0.734 GB, free: 5.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.5861, allocations: 0.5215 MB / 0.7345 GB, free: 4.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.5861, allocations: 29.7 kB / 0.7346 GB, free: 4.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.5863, allocations: 215.9 kB / 0.7348 GB, free: 4.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.5863, allocations: 15.89 kB / 0.7348 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.5863, allocations: 0 / 0.7348 GB, free: 4.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5865, allocations: 354.8 kB / 0.7351 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5866, allocations: 51.97 kB / 0.7352 GB, free: 4.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5867, allocations: 83.95 kB / 0.7353 GB, free: 4.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.5868, allocations: 46.84 kB / 0.7353 GB, free: 3.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5868, allocations: 0 / 0.7353 GB, free: 3.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002898/0.5871, allocations: 193.1 kB / 0.7355 GB, free: 3.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5871, allocations: 4 kB / 0.7355 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5871, allocations: 0 / 0.7355 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5872, allocations: 4 kB / 0.7355 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5873, allocations: 27.92 kB / 0.7355 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5873, allocations: 4 kB / 0.7355 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5874, allocations: 20.03 kB / 0.7356 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.5874, allocations: 7.938 kB / 0.7356 GB, free: 3.707 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.0001815/0.5876, allocations: 184.5 kB / 0.7357 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5877, allocations: 43.48 kB / 0.7358 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.5878, allocations: 47.8 kB / 0.7358 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5878, allocations: 0 / 0.7358 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5878, allocations: 0 / 0.7358 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5878, allocations: 0 / 0.7358 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.588, allocations: 305.4 kB / 0.7361 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5881, allocations: 0 / 0.7361 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.5881, allocations: 4 kB / 0.7361 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5881, allocations: 0 / 0.7361 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5881, allocations: 3.953 kB / 0.7361 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5881, allocations: 0 / 0.7361 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5881, allocations: 0 / 0.7361 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.5883, allocations: 152.9 kB / 0.7363 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.5884, allocations: 120.5 kB / 0.7364 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5885, allocations: 8 kB / 0.7364 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.5886, allocations: 15.88 kB / 0.7364 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.5886, allocations: 11.92 kB / 0.7364 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.5886, allocations: 8 kB / 0.7364 GB, free: 2.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003545/0.589, allocations: 354.8 kB / 0.7368 GB, free: 2.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.589, allocations: 0 / 0.7368 GB, free: 2.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002453/0.5893, allocations: 36 kB / 0.7368 GB, free: 2.344 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.0009449/0.5902, allocations: 415.7 kB / 0.7372 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.5905, allocations: 91.91 kB / 0.7373 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5905, allocations: 3.938 kB / 0.7373 GB, free: 1.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.5906, allocations: 31.98 kB / 0.7373 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.5909, allocations: 49.92 kB / 0.7374 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.592, allocations: 0.7142 MB / 0.7381 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.5925, allocations: 0.8116 MB / 0.7389 GB, free: 348 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.107e-05/0.5925, allocations: 21.53 kB / 0.7389 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.5926, allocations: 27.42 kB / 0.7389 GB, free: 300 kB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5926, allocations: 0 / 0.7389 GB, free: 300 kB / 0.545 GB Notification: Performance of Templates: time 0.006132/0.5987, allocations: 2.466 MB / 0.7413 GB, free: 13.86 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: