Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.0009321/0.0009321, allocations: 189.8 kB / 330.8 MB, free: 492 kB / 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 1.525/1.525, allocations: 225.7 MB / 0.6016 GB, free: 1.668 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.000747/0.0007472, allocations: 101.4 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 109.2 MB / 0.9328 GB, free: 6.277 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004198/0.2028, allocations: 3.433 MB / 0.9361 GB, free: 2.699 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.2029, allocations: 47.88 kB / 0.9362 GB, free: 2.652 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.203, allocations: 4 kB / 0.9362 GB, free: 2.648 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2031, allocations: 4 kB / 0.9362 GB, free: 2.645 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.2032, allocations: 7.922 kB / 0.9362 GB, free: 2.637 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.2039, allocations: 175.2 kB / 0.9363 GB, free: 2.465 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.204, allocations: 51.81 kB / 0.9364 GB, free: 2.414 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.204, allocations: 4 kB / 0.9364 GB, free: 2.41 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.2041, allocations: 15.98 kB / 0.9364 GB, free: 2.395 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.2042, allocations: 11.94 kB / 0.9364 GB, free: 2.383 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2042, allocations: 0 / 0.9364 GB, free: 2.383 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.2046, allocations: 163.5 kB / 0.9366 GB, free: 2.223 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2047, allocations: 4 kB / 0.9366 GB, free: 2.219 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.2047, allocations: 41.62 kB / 0.9366 GB, free: 2.172 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.2051, allocations: 136 kB / 0.9367 GB, free: 2.039 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2051, allocations: 0 / 0.9367 GB, free: 2.039 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2051, allocations: 0 / 0.9367 GB, free: 2.039 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.2051, allocations: 0 / 0.9367 GB, free: 2.039 MB / 0.573 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.0003533/0.2055, allocations: 347.5 kB / 0.9371 GB, free: 1.652 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2055, allocations: 11.98 kB / 0.9371 GB, free: 1.641 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2056, allocations: 0.9375 kB / 0.9371 GB, free: 1.641 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.2057, allocations: 168.4 kB / 0.9372 GB, free: 1.438 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.2058, allocations: 30.27 kB / 0.9373 GB, free: 1.402 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2058, allocations: 4.359 kB / 0.9373 GB, free: 1.398 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.206, allocations: 49.62 kB / 0.9373 GB, free: 1.344 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.206, allocations: 0 / 0.9373 GB, free: 1.344 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.206, allocations: 0 / 0.9373 GB, free: 1.344 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.206, allocations: 0 / 0.9373 GB, free: 1.344 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.2061, allocations: 15.92 kB / 0.9373 GB, free: 1.328 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.2067, allocations: 0.5871 MB / 0.9379 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.2067, allocations: 18.58 kB / 0.9379 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.2068, allocations: 8.922 kB / 0.9379 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.207, allocations: 340.4 kB / 0.9383 GB, free: 176 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.207, allocations: 30.56 kB / 0.9383 GB, free: 136 kB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.207, allocations: 0 / 0.9383 GB, free: 136 kB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.2072, allocations: 41.62 kB / 0.9383 GB, free: 88 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.2072, allocations: 55.53 kB / 0.9384 GB, free: 20 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2073, allocations: 101.8 kB / 0.9385 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2074, allocations: 25.7 kB / 0.9385 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.2074, allocations: 92.03 kB / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.2075, allocations: 0 / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2075, allocations: 0 / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2076, allocations: 322.8 kB / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.2076, allocations: 4 kB / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.2077, allocations: 21.7 kB / 0.9389 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.2077, allocations: 25.59 kB / 0.939 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2077, allocations: 4 kB / 0.939 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000123/0.2079, allocations: 57.47 kB / 0.939 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2079, allocations: 7.906 kB / 0.939 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2079, allocations: 0 / 0.939 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2079, allocations: 64 / 0.939 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.208, allocations: 12 kB / 0.939 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.208, allocations: 0 / 0.939 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.2081, allocations: 3.938 kB / 0.939 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2081, allocations: 4 kB / 0.939 GB, free: 15.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.2082, allocations: 113.8 kB / 0.9392 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2082, allocations: 0 / 0.9392 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2084, allocations: 120.9 kB / 0.9393 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.2085, allocations: 180.3 kB / 0.9394 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.534e-05/0.2085, allocations: 184.2 kB / 0.9396 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/0.2086, allocations: 180.2 kB / 0.9398 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.2089, allocations: 413.2 kB / 0.9402 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-05/0.209, allocations: 104.9 kB / 0.9403 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.209, allocations: 105 kB / 0.9404 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-05/0.2091, allocations: 180.3 kB / 0.9406 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.2092, allocations: 184.2 kB / 0.9407 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.96e-05/0.2092, allocations: 180.2 kB / 0.9409 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-05/0.2093, allocations: 180.2 kB / 0.9411 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2095, allocations: 307.8 kB / 0.9414 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.2096, allocations: 193.9 kB / 0.9415 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.2097, allocations: 176.5 kB / 0.9417 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2099, allocations: 116.9 kB / 0.9418 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.21, allocations: 184.3 kB / 0.942 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.2101, allocations: 109 kB / 0.9421 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.2102, allocations: 79.28 kB / 0.9422 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/0.2102, allocations: 3.938 kB / 0.9422 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004485/0.2106, allocations: 35.98 kB / 0.9422 GB, free: 11.82 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 (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.0003447/0.211, allocations: 247 kB / 0.9425 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.2111, allocations: 4 kB / 0.9425 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.2111, allocations: 4 kB / 0.9425 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2111, allocations: 0 / 0.9425 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.2117, allocations: 0.5318 MB / 0.943 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.212, allocations: 191.8 kB / 0.9432 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2123, allocations: 0.6731 MB / 0.9438 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.2124, allocations: 11.98 kB / 0.9438 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.2124, allocations: 7.438 kB / 0.9438 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of SimCode: time 3.2e-07/0.2124, allocations: 0 / 0.9438 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.004623/0.217, allocations: 1.146 MB / 0.945 GB, free: 8.949 MB / 0.5886 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)