Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008751/0.0008752, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4381/0.4381, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 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.233/1.233, allocations: 225.7 MB / 353.2 MB, free: 1.082 MB / 282.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.0007467/0.0007468, allocations: 101.7 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002804/0.2828, allocations: 3.44 MB / 0.5686 GB, free: 38.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 6.544e-05/0.2829, allocations: 44.56 kB / 0.5686 GB, free: 38.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.2829, allocations: 0.6562 kB / 0.5686 GB, free: 38.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.319e-05/0.283, allocations: 4.812 kB / 0.5686 GB, free: 38.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.2831, allocations: 11.97 kB / 0.5686 GB, free: 38.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2835, allocations: 174.7 kB / 0.5688 GB, free: 38.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.2836, allocations: 63.75 kB / 0.5688 GB, free: 38.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.2836, allocations: 0 / 0.5688 GB, free: 38.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.2836, allocations: 15.98 kB / 0.5689 GB, free: 38.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.2837, allocations: 15.98 kB / 0.5689 GB, free: 38.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2837, allocations: 0 / 0.5689 GB, free: 38.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.284, allocations: 163.5 kB / 0.569 GB, free: 38.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.284, allocations: 11.92 kB / 0.569 GB, free: 38.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.2841, allocations: 37.69 kB / 0.5691 GB, free: 38.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2843, allocations: 137.8 kB / 0.5692 GB, free: 38.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2843, allocations: 0 / 0.5692 GB, free: 38.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2843, allocations: 0 / 0.5692 GB, free: 38.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2843, allocations: 0 / 0.5692 GB, free: 38.09 MB / 410.7 MB 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.0002703/0.2846, allocations: 343.5 kB / 0.5695 GB, free: 37.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2846, allocations: 12.03 kB / 0.5696 GB, free: 37.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.2847, allocations: 0.9375 kB / 0.5696 GB, free: 37.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.2847, allocations: 168.3 kB / 0.5697 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.2848, allocations: 30.27 kB / 0.5697 GB, free: 37.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.2848, allocations: 384 / 0.5697 GB, free: 37.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2849, allocations: 45.62 kB / 0.5698 GB, free: 37.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2849, allocations: 7.938 kB / 0.5698 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.285, allocations: 4 kB / 0.5698 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.285, allocations: 0 / 0.5698 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.285, allocations: 11.98 kB / 0.5698 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.2854, allocations: 0.5911 MB / 0.5704 GB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.843e-05/0.2855, allocations: 14.58 kB / 0.5704 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.2855, allocations: 8.797 kB / 0.5704 GB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.2856, allocations: 352.5 kB / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2857, allocations: 34.5 kB / 0.5708 GB, free: 36.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2857, allocations: 0 / 0.5708 GB, free: 36.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.2858, allocations: 37.61 kB / 0.5708 GB, free: 36.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.2858, allocations: 51.41 kB / 0.5709 GB, free: 36.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.2859, allocations: 105.8 kB / 0.571 GB, free: 35.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.2859, allocations: 25.7 kB / 0.571 GB, free: 35.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.2859, allocations: 88.27 kB / 0.5711 GB, free: 35.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/0.2859, allocations: 7.906 kB / 0.5711 GB, free: 35.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.2859, allocations: 0 / 0.5711 GB, free: 35.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.286, allocations: 318.8 kB / 0.5714 GB, free: 35.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.286, allocations: 4 kB / 0.5714 GB, free: 35.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.286, allocations: 17.84 kB / 0.5714 GB, free: 35.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.286, allocations: 21.72 kB / 0.5714 GB, free: 35.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.286, allocations: 3.984 kB / 0.5714 GB, free: 35.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.609e-05/0.2861, allocations: 49.64 kB / 0.5715 GB, free: 35.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2861, allocations: 4 kB / 0.5715 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2861, allocations: 0 / 0.5715 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2861, allocations: 96 / 0.5715 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.2862, allocations: 11.98 kB / 0.5715 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2862, allocations: 0 / 0.5715 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2862, allocations: 3.984 kB / 0.5715 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2862, allocations: 0 / 0.5715 GB, free: 35.37 MB / 410.7 MB 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 4.078e-05/0.2863, allocations: 121.8 kB / 0.5716 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2863, allocations: 3.906 kB / 0.5716 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.2864, allocations: 124.9 kB / 0.5717 GB, free: 35.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.2864, allocations: 176.3 kB / 0.5719 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.2864, allocations: 184.2 kB / 0.5721 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.2865, allocations: 184.3 kB / 0.5723 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2866, allocations: 405.2 kB / 0.5726 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.2866, allocations: 108.9 kB / 0.5727 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.2866, allocations: 108.9 kB / 0.5728 GB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.2866, allocations: 188.1 kB / 0.573 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.2867, allocations: 180.3 kB / 0.5732 GB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.2867, allocations: 180.3 kB / 0.5734 GB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-05/0.2867, allocations: 180.2 kB / 0.5735 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/0.2868, allocations: 311.7 kB / 0.5738 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.2868, allocations: 182.1 kB / 0.574 GB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.2869, allocations: 184.2 kB / 0.5742 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.287, allocations: 112.9 kB / 0.5743 GB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.287, allocations: 176.3 kB / 0.5745 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.287, allocations: 108.9 kB / 0.5746 GB, free: 32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.2871, allocations: 83.28 kB / 0.5746 GB, free: 31.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2871, allocations: 0 / 0.5746 GB, free: 31.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.2873, allocations: 39.94 kB / 0.5747 GB, free: 31.88 MB / 410.7 MB 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.0001914/0.2875, allocations: 242.7 kB / 0.5749 GB, free: 31.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.031e-05/0.2876, allocations: 12 kB / 0.5749 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2876, allocations: 0 / 0.5749 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.2876, allocations: 0 / 0.5749 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2879, allocations: 0.5234 MB / 0.5754 GB, free: 31.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.2881, allocations: 196 kB / 0.5756 GB, free: 30.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.2882, allocations: 0.677 MB / 0.5763 GB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.2882, allocations: 11.86 kB / 0.5763 GB, free: 30.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.2882, allocations: 7.438 kB / 0.5763 GB, free: 30.14 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.2882, allocations: 0 / 0.5763 GB, free: 30.14 MB / 410.7 MB Notification: Performance of Templates: time 0.002706/0.2909, allocations: 1.182 MB / 0.5775 GB, free: 28.96 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)