Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006921/0.006921, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002446/0.002446, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.541/1.541, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.548/1.548, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.002289/0.002289, allocations: 66.09 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2767, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004963/0.2817, allocations: 3.297 MB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.2819, allocations: 51.84 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.2819, allocations: 0 / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.282, allocations: 4 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.2822, allocations: 11.92 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.2827, allocations: 175.2 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.2828, allocations: 31.84 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.2828, allocations: 8 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.2829, allocations: 11.98 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.283, allocations: 11.92 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.283, allocations: 8 kB / 0.8316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.2833, allocations: 171.6 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.2834, allocations: 0 / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.2834, allocations: 11.98 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.2837, allocations: 139.6 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2837, allocations: 0 / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.589e-06/0.2837, allocations: 3.984 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.2837, allocations: 0 / 0.8319 GB, free: 12.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004685/0.2842, allocations: 347.4 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2843, allocations: 12.03 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2843, allocations: 4.938 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2845, allocations: 160.4 kB / 0.8324 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.2845, allocations: 30.25 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2846, allocations: 8.375 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.2847, allocations: 49.5 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2847, allocations: 0 / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2847, allocations: 0 / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.2848, allocations: 0 / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.2848, allocations: 23.98 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.2856, allocations: 0.5755 MB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.2856, allocations: 18.58 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.2856, allocations: 8.859 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.2859, allocations: 340.4 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2859, allocations: 38.56 kB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2859, allocations: 0 / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.2861, allocations: 45.53 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2862, allocations: 51.41 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.2862, allocations: 101.8 kB / 0.8336 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2863, allocations: 25.7 kB / 0.8336 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.2863, allocations: 95.97 kB / 0.8337 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-06/0.2863, allocations: 0 / 0.8337 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2864, allocations: 17.84 kB / 0.8338 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2865, allocations: 326.8 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.2865, allocations: 0 / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.2865, allocations: 17.66 kB / 0.8341 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.2866, allocations: 21.72 kB / 0.8341 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2866, allocations: 0 / 0.8341 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.688e-05/0.2867, allocations: 53.91 kB / 0.8342 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2867, allocations: 8 kB / 0.8342 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2867, allocations: 4 kB / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2867, allocations: 0 / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.2868, allocations: 7.984 kB / 0.8342 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2868, allocations: 0 / 0.8342 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.2868, allocations: 11.89 kB / 0.8342 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2868, allocations: 3.938 kB / 0.8342 GB, free: 9.484 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.2869, allocations: 117.8 kB / 0.8343 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.2869, allocations: 0 / 0.8343 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2871, allocations: 132 kB / 0.8344 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.551e-05/0.2872, allocations: 176.3 kB / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.287e-05/0.2872, allocations: 180.2 kB / 0.8348 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.481e-05/0.2873, allocations: 176.3 kB / 0.8349 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2875, allocations: 413.2 kB / 0.8353 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/0.2876, allocations: 109 kB / 0.8354 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.2876, allocations: 109 kB / 0.8355 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.961e-05/0.2877, allocations: 180.2 kB / 0.8357 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.2878, allocations: 180.3 kB / 0.8359 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.845e-05/0.2878, allocations: 180.3 kB / 0.8361 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.899e-05/0.2879, allocations: 184.2 kB / 0.8362 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.2881, allocations: 311.7 kB / 0.8365 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.2882, allocations: 178.1 kB / 0.8367 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.2882, allocations: 180.3 kB / 0.8369 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2884, allocations: 112.9 kB / 0.837 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.2885, allocations: 184.3 kB / 0.8372 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.2885, allocations: 104.9 kB / 0.8373 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.2886, allocations: 87.27 kB / 0.8373 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2886, allocations: 0 / 0.8373 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002895/0.2889, allocations: 35.94 kB / 0.8374 GB, free: 6.004 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: 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 (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.0003686/0.2893, allocations: 238.4 kB / 0.8376 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.2894, allocations: 7.984 kB / 0.8376 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2894, allocations: 4.125 kB / 0.8376 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.2894, allocations: 7.938 kB / 0.8376 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.2899, allocations: 461.6 kB / 0.8381 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.2902, allocations: 185.7 kB / 0.8382 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.2906, allocations: 0.6767 MB / 0.8389 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.2906, allocations: 11.98 kB / 0.8389 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.2906, allocations: 7.438 kB / 0.8389 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2906, allocations: 0 / 0.8389 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of Templates: time 0.003847/0.2945, allocations: 1.165 MB / 0.8401 GB, free: 3.246 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)