Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 292.6 MB / 307.8 MB, free: 7.148 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.0009533/0.0009533, allocations: 189.4 kB / 376.5 MB, free: 4.449 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.466/1.466, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008014/0.000801, allocations: 89.08 kB / 0.7711 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 13.03 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.5989, allocations: 118.2 MB / 1.012 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00418/0.6031, allocations: 2.875 MB / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 9.411e-05/0.6032, allocations: 51.36 kB / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.6033, allocations: 2.344 kB / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.6034, allocations: 0 / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.6035, allocations: 19.12 kB / 1.015 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.604, allocations: 152.7 kB / 1.015 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.6041, allocations: 48.17 kB / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.6041, allocations: 0 / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.6042, allocations: 13.06 kB / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.6042, allocations: 18.39 kB / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.6043, allocations: 0 / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.6045, allocations: 165.1 kB / 1.016 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.6046, allocations: 4.062 kB / 1.016 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.6046, allocations: 38.89 kB / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.6048, allocations: 82.59 kB / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6048, allocations: 1.281 kB / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6048, allocations: 0 / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6048, allocations: 0 / 1.016 GB, free: 57.57 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.0003146/0.6052, allocations: 341 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6052, allocations: 11.69 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.6052, allocations: 4.844 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.6053, allocations: 168 kB / 1.016 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.6054, allocations: 34.39 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.6054, allocations: 1.172 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.6055, allocations: 48.94 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6056, allocations: 2.031 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6056, allocations: 1.172 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6056, allocations: 4.906 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.6056, allocations: 17.47 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.6061, allocations: 0.5783 MB / 1.017 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.6062, allocations: 23.86 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.6062, allocations: 8.266 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.6064, allocations: 343.5 kB / 1.017 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6064, allocations: 31.66 kB / 1.017 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6064, allocations: 0 / 1.017 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.6065, allocations: 37.89 kB / 1.017 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.6066, allocations: 56.38 kB / 1.017 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.6066, allocations: 107 kB / 1.018 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.6066, allocations: 27.36 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.6067, allocations: 86.25 kB / 1.018 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.6067, allocations: 11.11 kB / 1.018 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.6067, allocations: 0 / 1.018 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.6067, allocations: 318.7 kB / 1.018 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.6068, allocations: 3.219 kB / 1.018 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.6068, allocations: 16.69 kB / 1.018 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.6068, allocations: 23.16 kB / 1.018 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6068, allocations: 0 / 1.018 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.126e-05/0.6069, allocations: 51.02 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6069, allocations: 4.781 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.6069, allocations: 3.625 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6069, allocations: 0.625 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.607, allocations: 2.938 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.607, allocations: 4.844 kB / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.607, allocations: 0 / 1.018 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.607, allocations: 9.984 kB / 1.018 GB, free: 55.14 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.076e-05/0.6071, allocations: 114.2 kB / 1.018 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.6071, allocations: 3.156 kB / 1.018 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.6072, allocations: 124.6 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/0.6072, allocations: 185.2 kB / 1.018 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/0.6073, allocations: 178.4 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/0.6073, allocations: 176.3 kB / 1.019 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.6075, allocations: 415.6 kB / 1.019 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.6075, allocations: 105.9 kB / 1.019 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.6075, allocations: 106 kB / 1.019 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.83e-05/0.6075, allocations: 187.1 kB / 1.02 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.6076, allocations: 176.8 kB / 1.02 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/0.6076, allocations: 181 kB / 1.02 GB, free: 53.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/0.6076, allocations: 183.7 kB / 1.02 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.675e-05/0.6077, allocations: 312.8 kB / 1.02 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.6078, allocations: 183.3 kB / 1.021 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.6078, allocations: 185.2 kB / 1.021 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.608, allocations: 111.1 kB / 1.021 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.608, allocations: 182.6 kB / 1.021 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.608, allocations: 103.9 kB / 1.021 GB, free: 51.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.6081, allocations: 84.22 kB / 1.021 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6081, allocations: 0 / 1.021 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002784/0.6084, allocations: 43.12 kB / 1.021 GB, free: 51.79 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.0002217/0.6086, allocations: 240.2 kB / 1.021 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.6087, allocations: 13.75 kB / 1.021 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6087, allocations: 0 / 1.021 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6087, allocations: 1.5 kB / 1.021 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.6091, allocations: 0.5223 MB / 1.022 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.6093, allocations: 193.5 kB / 1.022 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.6094, allocations: 0.6761 MB / 1.023 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.6094, allocations: 8.172 kB / 1.023 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.6095, allocations: 12.78 kB / 1.023 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6095, allocations: 3.938 kB / 1.023 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.003481/0.613, allocations: 1.098 MB / 1.024 GB, free: 50.06 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)