Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.773/1.773, allocations: 291.7 MB / 306.8 MB, free: 7.684 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 193.3 kB / 375.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 0.6538 GB, free: 13.55 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008237, allocations: 106.6 kB / 0.7699 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005067, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6721, allocations: 118.1 MB / 1.011 GB, free: 58.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003701/0.6758, allocations: 2.876 MB / 1.014 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 9.095e-05/0.676, allocations: 48.67 kB / 1.014 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.676, allocations: 0 / 1.014 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.6761, allocations: 6.781 kB / 1.014 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.6762, allocations: 8.594 kB / 1.014 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.6766, allocations: 127.1 kB / 1.014 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.6767, allocations: 48.98 kB / 1.014 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.6768, allocations: 1.25 kB / 1.014 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.6768, allocations: 18.08 kB / 1.014 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.6769, allocations: 11.44 kB / 1.014 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.6769, allocations: 2.562 kB / 1.014 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.6771, allocations: 89.47 kB / 1.014 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.6772, allocations: 7.641 kB / 1.014 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.6772, allocations: 36.55 kB / 1.014 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.6774, allocations: 62.75 kB / 1.014 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6774, allocations: 2.469 kB / 1.014 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6774, allocations: 0 / 1.014 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6774, allocations: 0 / 1.014 GB, free: 57.95 MB / 0.7136 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.0003344/0.6777, allocations: 337 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6778, allocations: 8.531 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.6778, allocations: 8.219 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.6779, allocations: 162.3 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.678, allocations: 32.2 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.678, allocations: 3.5 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.6781, allocations: 46.81 kB / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6781, allocations: 0 / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6782, allocations: 0 / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.6782, allocations: 3.5 kB / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.6782, allocations: 18.42 kB / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.6787, allocations: 0.5813 MB / 1.015 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.6788, allocations: 22.2 kB / 1.015 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.6788, allocations: 10.17 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.679, allocations: 340.3 kB / 1.016 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.679, allocations: 35.62 kB / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.679, allocations: 2.5 kB / 1.016 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.6792, allocations: 39.19 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.6792, allocations: 52.44 kB / 1.016 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.6793, allocations: 113.5 kB / 1.016 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.6793, allocations: 28.42 kB / 1.016 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.6793, allocations: 90.77 kB / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.6793, allocations: 5.312 kB / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.6793, allocations: 0 / 1.016 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.6794, allocations: 317.5 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.6794, allocations: 2.75 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.6794, allocations: 19.91 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.6795, allocations: 23.16 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6795, allocations: 1.281 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.207e-05/0.6795, allocations: 52.2 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6796, allocations: 6.688 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.6796, allocations: 0 / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6796, allocations: 1.5 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.6796, allocations: 5.812 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6796, allocations: 3.375 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.6797, allocations: 0 / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6797, allocations: 4.625 kB / 1.016 GB, free: 55.52 MB / 0.7136 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 5.29e-05/0.6797, allocations: 112.8 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.6798, allocations: 0 / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.81e-05/0.6799, allocations: 129 kB / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.6799, allocations: 178.9 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/0.6799, allocations: 177.5 kB / 1.017 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/0.68, allocations: 184 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.6801, allocations: 410.1 kB / 1.018 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.6801, allocations: 107.2 kB / 1.018 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.6802, allocations: 102.5 kB / 1.018 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-05/0.6802, allocations: 180.7 kB / 1.018 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.6802, allocations: 184.8 kB / 1.018 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.731e-05/0.6802, allocations: 184.3 kB / 1.018 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/0.6803, allocations: 180.2 kB / 1.018 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.559e-05/0.6804, allocations: 308.2 kB / 1.019 GB, free: 53.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.6804, allocations: 191.1 kB / 1.019 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.6805, allocations: 181.1 kB / 1.019 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6806, allocations: 114.7 kB / 1.019 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.6806, allocations: 180.8 kB / 1.019 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.6806, allocations: 106.9 kB / 1.02 GB, free: 52.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.6807, allocations: 93.67 kB / 1.02 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6807, allocations: 1.969 kB / 1.02 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002512/0.6809, allocations: 37.03 kB / 1.02 GB, free: 52.15 MB / 0.7136 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.0002299/0.6812, allocations: 237.4 kB / 1.02 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.6813, allocations: 9.062 kB / 1.02 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6813, allocations: 0 / 1.02 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.6813, allocations: 0 / 1.02 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.6816, allocations: 0.5219 MB / 1.02 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.6819, allocations: 192.8 kB / 1.021 GB, free: 51.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.682, allocations: 0.6726 MB / 1.021 GB, free: 50.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.16e-05/0.6821, allocations: 9.391 kB / 1.021 GB, free: 50.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.6821, allocations: 8.844 kB / 1.021 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6821, allocations: 2.719 kB / 1.021 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003321/0.6854, allocations: 1.093 MB / 1.022 GB, free: 50.43 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)