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.001244/0.001244, 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.001457/0.001457, 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.562/1.562, 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.561/1.561, allocations: 252 MB / 0.5102 GB, free: 4.746 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.0005608/0.0005611, allocations: 12 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.576, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00476/0.5808, allocations: 3.579 MB / 0.7316 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000182/0.581, allocations: 139.6 kB / 0.7317 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5811, allocations: 0 / 0.7317 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.5812, allocations: 4 kB / 0.7317 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.5813, allocations: 15.91 kB / 0.7318 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.5816, allocations: 51.81 kB / 0.7318 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.5817, allocations: 51.81 kB / 0.7319 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.5818, allocations: 0 / 0.7319 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.5818, allocations: 11.98 kB / 0.7319 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.5819, allocations: 15.92 kB / 0.7319 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.5819, allocations: 0 / 0.7319 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.5821, allocations: 27.91 kB / 0.7319 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.5822, allocations: 7.984 kB / 0.7319 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.5822, allocations: 37.7 kB / 0.732 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.5823, allocations: 21.95 kB / 0.732 GB, free: 7.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5823, allocations: 0 / 0.732 GB, free: 7.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.706e-06/0.5823, allocations: 0 / 0.732 GB, free: 7.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5823, allocations: 0 / 0.732 GB, free: 7.434 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.0004454/0.5828, allocations: 327.4 kB / 0.7323 GB, free: 7.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5828, allocations: 12.03 kB / 0.7323 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.5829, allocations: 3.953 kB / 0.7323 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.5831, allocations: 167 kB / 0.7325 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.5831, allocations: 41.64 kB / 0.7325 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.5831, allocations: 3.938 kB / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5833, allocations: 37.69 kB / 0.7325 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5833, allocations: 0 / 0.7325 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5833, allocations: 4 kB / 0.7325 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.5834, allocations: 7.953 kB / 0.7326 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.5834, allocations: 15.97 kB / 0.7326 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.5839, allocations: 334.1 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.5839, allocations: 18.52 kB / 0.7329 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.584, allocations: 8.922 kB / 0.7329 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.143e-05/0.5841, allocations: 85.09 kB / 0.733 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.5841, allocations: 38.52 kB / 0.733 GB, free: 6.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5841, allocations: 0 / 0.733 GB, free: 6.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.5843, allocations: 45.55 kB / 0.7331 GB, free: 6.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5843, allocations: 51.41 kB / 0.7331 GB, free: 6.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.5844, allocations: 105.8 kB / 0.7332 GB, free: 5.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5844, allocations: 25.7 kB / 0.7333 GB, free: 5.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.5845, allocations: 88.03 kB / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.5845, allocations: 0 / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.5845, allocations: 0 / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5846, allocations: 318.8 kB / 0.7336 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.5846, allocations: 8.109 kB / 0.7336 GB, free: 5.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.5847, allocations: 13.72 kB / 0.7337 GB, free: 5.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.5847, allocations: 8 kB / 0.7337 GB, free: 5.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5847, allocations: 0 / 0.7337 GB, free: 5.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.9e-05/0.5848, allocations: 45.62 kB / 0.7337 GB, free: 5.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5848, allocations: 8 kB / 0.7337 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5848, allocations: 3.953 kB / 0.7337 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5848, allocations: 4.062 kB / 0.7337 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.5849, allocations: 4 kB / 0.7337 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5849, allocations: 3.984 kB / 0.7337 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.5849, allocations: 11.94 kB / 0.7337 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5849, allocations: 0 / 0.7337 GB, free: 5.355 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.091e-05/0.585, allocations: 109.8 kB / 0.7339 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.585, allocations: 3.906 kB / 0.7339 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.5852, allocations: 124.9 kB / 0.734 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/0.5852, allocations: 192.2 kB / 0.7342 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/0.5853, allocations: 180.2 kB / 0.7343 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/0.5854, allocations: 180.3 kB / 0.7345 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.5856, allocations: 405.2 kB / 0.7349 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.5857, allocations: 105 kB / 0.735 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.5857, allocations: 109 kB / 0.7351 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.5858, allocations: 180.2 kB / 0.7353 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.5859, allocations: 184.2 kB / 0.7354 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-05/0.586, allocations: 184.2 kB / 0.7356 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001205/0.5861, allocations: 184.2 kB / 0.7358 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.5864, allocations: 307.8 kB / 0.7361 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.5865, allocations: 182.1 kB / 0.7363 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5866, allocations: 184.2 kB / 0.7364 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.5867, allocations: 109 kB / 0.7365 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.5868, allocations: 184.2 kB / 0.7367 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.5869, allocations: 108.9 kB / 0.7368 GB, free: 1.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.5869, allocations: 87.27 kB / 0.7369 GB, free: 1.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.587, allocations: 0 / 0.7369 GB, free: 1.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003394/0.5873, allocations: 16 kB / 0.7369 GB, free: 1.883 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.0001686/0.5875, allocations: 186.5 kB / 0.7371 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.5876, allocations: 4 kB / 0.7371 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5876, allocations: 4.125 kB / 0.7371 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5876, allocations: 3.938 kB / 0.7371 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.5881, allocations: 0.5243 MB / 0.7376 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.5883, allocations: 195.8 kB / 0.7378 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.5886, allocations: 0.677 MB / 0.7385 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.627e-05/0.5886, allocations: 7.938 kB / 0.7385 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.5886, allocations: 11.44 kB / 0.7385 GB, free: 216 kB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5886, allocations: 0 / 0.7385 GB, free: 216 kB / 0.545 GB Notification: Performance of Templates: time 0.002671/0.5913, allocations: 0.5186 MB / 0.739 GB, free: 15.7 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: