Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.55 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.001237/0.001237, 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.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.683/1.683, allocations: 251.9 MB / 0.51 GB, free: 4.879 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.0005551/0.0005552, allocations: 15.59 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6061, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004329/0.6104, allocations: 3.404 MB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.6106, allocations: 127.7 kB / 0.7314 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.6107, allocations: 4 kB / 0.7314 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.6108, allocations: 3.938 kB / 0.7314 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.6108, allocations: 7.984 kB / 0.7314 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.6111, allocations: 50.66 kB / 0.7315 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.6112, allocations: 23.95 kB / 0.7315 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.6112, allocations: 0 / 0.7315 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.6113, allocations: 15.94 kB / 0.7315 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.6114, allocations: 7.922 kB / 0.7315 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6114, allocations: 4 kB / 0.7315 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.6116, allocations: 35.91 kB / 0.7315 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.6116, allocations: 7.984 kB / 0.7316 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.6116, allocations: 25.7 kB / 0.7316 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.6117, allocations: 29.95 kB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6117, allocations: 4 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6117, allocations: 0 / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6118, allocations: 0 / 0.7316 GB, free: 7.672 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003944/0.6122, allocations: 327.4 kB / 0.7319 GB, free: 7.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6122, allocations: 8.031 kB / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.6122, allocations: 7.953 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6124, allocations: 167.1 kB / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.6125, allocations: 29.69 kB / 0.7321 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.6125, allocations: 8 kB / 0.7321 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6126, allocations: 41.62 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.6126, allocations: 4 kB / 0.7322 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6126, allocations: 0 / 0.7322 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.6127, allocations: 3.953 kB / 0.7322 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.6127, allocations: 19.98 kB / 0.7322 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.6132, allocations: 326.1 kB / 0.7325 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.6132, allocations: 22.52 kB / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/0.6133, allocations: 81.17 kB / 0.7326 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6134, allocations: 38.56 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 3.647e-06/0.6134, allocations: 0 / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.6135, allocations: 49.48 kB / 0.7327 GB, free: 6.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.6136, allocations: 51.41 kB / 0.7327 GB, free: 6.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.6137, allocations: 105.8 kB / 0.7328 GB, free: 6.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6137, allocations: 25.7 kB / 0.7329 GB, free: 6.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.6138, allocations: 91.97 kB / 0.733 GB, free: 6.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.6138, allocations: 4.125 kB / 0.733 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.6138, allocations: 0 / 0.733 GB, free: 6.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6139, allocations: 314.8 kB / 0.7333 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.6139, allocations: 7.938 kB / 0.7333 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.6139, allocations: 17.7 kB / 0.7333 GB, free: 5.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.84e-05/0.614, allocations: 4 kB / 0.7333 GB, free: 5.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.614, allocations: 0 / 0.7333 GB, free: 5.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.965e-05/0.6141, allocations: 57.62 kB / 0.7333 GB, free: 5.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6141, allocations: 4 kB / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6141, allocations: 0 / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6141, allocations: 3.953 kB / 0.7333 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.6142, allocations: 4 kB / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6142, allocations: 4 kB / 0.7334 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.6142, allocations: 3.938 kB / 0.7334 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6142, allocations: 0 / 0.7334 GB, free: 5.613 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.983e-05/0.6143, allocations: 121.9 kB / 0.7335 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.6143, allocations: 3.906 kB / 0.7335 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.6145, allocations: 116.9 kB / 0.7336 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.6145, allocations: 180.2 kB / 0.7338 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.715e-05/0.6146, allocations: 192.3 kB / 0.7339 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.41e-05/0.6147, allocations: 180.2 kB / 0.7341 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.6149, allocations: 405.2 kB / 0.7345 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.615, allocations: 108.9 kB / 0.7346 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.615, allocations: 101 kB / 0.7347 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.6151, allocations: 176.3 kB / 0.7349 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.6152, allocations: 184.2 kB / 0.735 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-05/0.6152, allocations: 192.2 kB / 0.7352 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.207e-05/0.6153, allocations: 184.2 kB / 0.7354 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.6155, allocations: 299.8 kB / 0.7357 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.6156, allocations: 186.3 kB / 0.7359 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.6157, allocations: 180.3 kB / 0.736 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.6158, allocations: 124.8 kB / 0.7362 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.6159, allocations: 180.2 kB / 0.7363 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.6159, allocations: 104.9 kB / 0.7364 GB, free: 2.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.616, allocations: 91.28 kB / 0.7365 GB, free: 2.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.616, allocations: 3.938 kB / 0.7365 GB, free: 2.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002324/0.6162, allocations: 15.98 kB / 0.7365 GB, free: 2.129 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001808/0.6164, allocations: 190.5 kB / 0.7367 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.6165, allocations: 4 kB / 0.7367 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6165, allocations: 4 kB / 0.7367 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.6165, allocations: 0 / 0.7367 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6169, allocations: 0.5255 MB / 0.7372 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.6172, allocations: 199.8 kB / 0.7374 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.6174, allocations: 0.677 MB / 0.7381 GB, free: 484 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.6175, allocations: 7.938 kB / 0.7381 GB, free: 476 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.6175, allocations: 7.438 kB / 0.7381 GB, free: 468 kB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6175, allocations: 4 kB / 0.7381 GB, free: 464 kB / 0.545 GB Notification: Performance of Templates: time 0.002615/0.6201, allocations: 0.503 MB / 0.7386 GB, free: 15.95 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: