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.007146/0.007146, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001347/0.001347, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.584/1.584, allocations: 205.1 MB / 222.6 MB, free: 4.285 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.609/1.609, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001502/0.001502, allocations: 64.42 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2215, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004158/0.2257, allocations: 2.204 MB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2281, allocations: 1.156 MB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2283, allocations: 4 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.229, allocations: 183.1 kB / 0.8315 GB, free: 12.62 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.0003858/0.2294, allocations: 127.4 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.2297, allocations: 103.7 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.23, allocations: 219.2 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2302, allocations: 48.33 kB / 0.832 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2304, allocations: 87.56 kB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2305, allocations: 91.55 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.2305, allocations: 12 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.2306, allocations: 35.98 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2307, allocations: 83.62 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2309, allocations: 142.9 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.2313, allocations: 334.7 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2313, allocations: 0 / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2313, allocations: 4 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2313, allocations: 0 / 0.8327 GB, free: 11.35 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.0008921/0.2322, allocations: 0.6608 MB / 0.8334 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2323, allocations: 12.03 kB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.2324, allocations: 48.31 kB / 0.8334 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.2329, allocations: 340.1 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2329, allocations: 12.36 kB / 0.8338 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.233, allocations: 12.12 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2332, allocations: 77.66 kB / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2332, allocations: 0 / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2332, allocations: 0 / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2332, allocations: 0 / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.2333, allocations: 47.84 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.234, allocations: 444.5 kB / 0.8343 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2342, allocations: 74.61 kB / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.2343, allocations: 28.84 kB / 0.8344 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2343, allocations: 0 / 0.8344 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.2345, allocations: 67.39 kB / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2345, allocations: 4 kB / 0.8345 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003334/0.2349, allocations: 149 kB / 0.8346 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2349, allocations: 59.34 kB / 0.8347 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.2354, allocations: 0.5215 MB / 0.8352 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2355, allocations: 33.7 kB / 0.8352 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2356, allocations: 211.9 kB / 0.8354 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2356, allocations: 15.8 kB / 0.8355 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.2357, allocations: 41.7 kB / 0.8355 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2359, allocations: 362.8 kB / 0.8358 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.236, allocations: 43.98 kB / 0.8359 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2361, allocations: 81.42 kB / 0.836 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2363, allocations: 85.64 kB / 0.836 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2363, allocations: 0 / 0.836 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003078/0.2366, allocations: 189.2 kB / 0.8362 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2366, allocations: 8 kB / 0.8362 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2366, allocations: 0 / 0.8362 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2366, allocations: 4 kB / 0.8362 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2368, allocations: 23.92 kB / 0.8363 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2368, allocations: 7.938 kB / 0.8363 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2369, allocations: 15.89 kB / 0.8363 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2369, allocations: 4.25 kB / 0.8363 GB, free: 7.473 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.0001662/0.2371, allocations: 181.8 kB / 0.8365 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2372, allocations: 43.52 kB / 0.8365 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.2372, allocations: 39.92 kB / 0.8365 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2372, allocations: 7.938 kB / 0.8365 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2373, allocations: 3.938 kB / 0.8366 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2373, allocations: 0 / 0.8366 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2375, allocations: 313.3 kB / 0.8368 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2375, allocations: 0 / 0.8368 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2375, allocations: 4 kB / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2376, allocations: 0 / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2376, allocations: 0 / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2376, allocations: 8 kB / 0.8369 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2376, allocations: 7.922 kB / 0.8369 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2378, allocations: 144.6 kB / 0.837 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.2379, allocations: 112.5 kB / 0.8371 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.238, allocations: 3.984 kB / 0.8371 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.2381, allocations: 11.98 kB / 0.8371 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2381, allocations: 11.92 kB / 0.8371 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2381, allocations: 8 kB / 0.8371 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003469/0.2385, allocations: 358.8 kB / 0.8375 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2385, allocations: 0 / 0.8375 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002526/0.2388, allocations: 39.94 kB / 0.8375 GB, free: 6.102 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.0009/0.2397, allocations: 412.3 kB / 0.8379 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.2399, allocations: 99.89 kB / 0.838 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2399, allocations: 64 / 0.838 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.24, allocations: 27.98 kB / 0.838 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.2404, allocations: 63.52 kB / 0.8381 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.2413, allocations: 0.6402 MB / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2416, allocations: 0.8098 MB / 0.8395 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.74e-05/0.2417, allocations: 29.53 kB / 0.8395 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2418, allocations: 23.42 kB / 0.8396 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.2418, allocations: 0 / 0.8396 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of Templates: time 0.006341/0.2481, allocations: 2.714 MB / 0.8422 GB, free: 1.434 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)