Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.416/2.416, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.002144/0.002144, allocations: 195.3 kB / 329.5 MB, free: 1.164 MB / 250.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 2.432/2.432, allocations: 225.6 MB / 0.6001 GB, free: 2.242 MB / 426.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.001018/0.001018, allocations: 94.5 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004939, allocations: 14.41 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004059/0.2212, allocations: 2.878 MB / 0.9336 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.2214, allocations: 43.89 kB / 0.9336 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.2214, allocations: 0 / 0.9336 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.965e-05/0.2216, allocations: 3.938 kB / 0.9336 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.2216, allocations: 15.98 kB / 0.9336 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.2223, allocations: 127.4 kB / 0.9338 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.817e-05/0.2224, allocations: 47.84 kB / 0.9338 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.2225, allocations: 0 / 0.9338 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.2225, allocations: 19.91 kB / 0.9338 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.2226, allocations: 11.98 kB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2226, allocations: 0 / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.223, allocations: 95.67 kB / 0.9339 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.223, allocations: 7.922 kB / 0.9339 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.2231, allocations: 29.7 kB / 0.934 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2233, allocations: 60.11 kB / 0.934 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2233, allocations: 0 / 0.934 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2233, allocations: 4 kB / 0.934 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2233, allocations: 0 / 0.934 GB, free: 21.78 MB / 0.5886 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.0003546/0.2237, allocations: 347.5 kB / 0.9344 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2237, allocations: 8.031 kB / 0.9344 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2238, allocations: 0.9375 kB / 0.9344 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.2239, allocations: 168.4 kB / 0.9345 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.2239, allocations: 26.27 kB / 0.9345 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.224, allocations: 384 / 0.9345 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2241, allocations: 53.62 kB / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2241, allocations: 0 / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2242, allocations: 0 / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.2242, allocations: 7.922 kB / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.2243, allocations: 8 kB / 0.9346 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.2249, allocations: 0.5949 MB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.2249, allocations: 18.58 kB / 0.9352 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.2249, allocations: 8.922 kB / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.2252, allocations: 344.4 kB / 0.9356 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2252, allocations: 34.5 kB / 0.9356 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.2252, allocations: 0 / 0.9356 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.2254, allocations: 33.7 kB / 0.9356 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2254, allocations: 51.41 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.2255, allocations: 106 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2255, allocations: 33.64 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.2256, allocations: 84.05 kB / 0.9359 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/0.2256, allocations: 0 / 0.9359 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.2256, allocations: 4 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.2257, allocations: 318.8 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.2257, allocations: 4 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.2257, allocations: 17.66 kB / 0.9362 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.2258, allocations: 12 kB / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2258, allocations: 0 / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.186e-05/0.2259, allocations: 45.69 kB / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2259, allocations: 8 kB / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2259, allocations: 0 / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2259, allocations: 0 / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.226, allocations: 11.92 kB / 0.9363 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.226, allocations: 0 / 0.9363 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.2261, allocations: 19.84 kB / 0.9363 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2261, allocations: 0 / 0.9363 GB, free: 19.07 MB / 0.5886 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 6.515e-05/0.2262, allocations: 113.8 kB / 0.9364 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2262, allocations: 0 / 0.9364 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2263, allocations: 124.9 kB / 0.9365 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/0.2264, allocations: 184.2 kB / 0.9367 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.34e-05/0.2264, allocations: 180.3 kB / 0.9369 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/0.2265, allocations: 180.2 kB / 0.937 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2266, allocations: 409.2 kB / 0.9374 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.2267, allocations: 101 kB / 0.9375 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.2267, allocations: 112.9 kB / 0.9376 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.148e-05/0.2267, allocations: 176.3 kB / 0.9378 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.2268, allocations: 184.2 kB / 0.938 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/0.2268, allocations: 180.3 kB / 0.9382 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-05/0.2269, allocations: 180.3 kB / 0.9383 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.227, allocations: 307.7 kB / 0.9386 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.227, allocations: 190 kB / 0.9388 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.2271, allocations: 184.2 kB / 0.939 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2273, allocations: 105 kB / 0.9391 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2273, allocations: 180.2 kB / 0.9393 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.2274, allocations: 109 kB / 0.9394 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.2274, allocations: 91.2 kB / 0.9394 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2274, allocations: 4 kB / 0.9394 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003558/0.2278, allocations: 32 kB / 0.9395 GB, free: 15.59 MB / 0.5886 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.0003058/0.2281, allocations: 239.2 kB / 0.9397 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.2282, allocations: 15.92 kB / 0.9397 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2283, allocations: 0 / 0.9397 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-06/0.2283, allocations: 0 / 0.9397 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.2287, allocations: 0.52 MB / 0.9402 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.229, allocations: 199.9 kB / 0.9404 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2291, allocations: 0.6731 MB / 0.9411 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.742e-05/0.2292, allocations: 8.266 kB / 0.9411 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.2292, allocations: 7.438 kB / 0.9411 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.2292, allocations: 0 / 0.9411 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of Templates: time 0.004628/0.2339, allocations: 1.09 MB / 0.9422 GB, free: 12.79 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)