Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 177 kB / 16.08 MB, free: 5.602 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.4701/0.4702, allocations: 89.06 MB / 105.9 MB, free: 12.45 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.234/1.234, allocations: 225.7 MB / 353.2 MB, free: 1.07 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.0008653/0.0008655, allocations: 98.42 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 12 kB / 0.4955 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003396/0.2783, allocations: 4.138 MB / 0.5692 GB, free: 38.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2805, allocations: 4.088 MB / 0.5732 GB, free: 33.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2806, allocations: 4 kB / 0.5732 GB, free: 33.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.2809, allocations: 39.78 kB / 0.5733 GB, free: 33.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2811, allocations: 91.42 kB / 0.5734 GB, free: 33.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.2821, allocations: 478.2 kB / 0.5738 GB, free: 32.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2824, allocations: 339.7 kB / 0.5741 GB, free: 32.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.2825, allocations: 9.562 kB / 0.5741 GB, free: 32.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2827, allocations: 115.5 kB / 0.5743 GB, free: 32.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2828, allocations: 95.66 kB / 0.5743 GB, free: 32.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.2829, allocations: 4 kB / 0.5743 GB, free: 32.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.2836, allocations: 447.1 kB / 0.5748 GB, free: 31.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.2837, allocations: 39.81 kB / 0.5748 GB, free: 31.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.2838, allocations: 109.4 kB / 0.5749 GB, free: 31.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.2844, allocations: 409.1 kB / 0.5753 GB, free: 31.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2844, allocations: 0 / 0.5753 GB, free: 31.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2844, allocations: 0 / 0.5753 GB, free: 31.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2845, allocations: 0 / 0.5753 GB, free: 31.41 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005856/0.285, allocations: 479.3 kB / 0.5758 GB, free: 30.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2851, allocations: 8.031 kB / 0.5758 GB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.2868, allocations: 184.5 kB / 0.5759 GB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.287, allocations: 208.1 kB / 0.5761 GB, free: 30.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.287, allocations: 12.7 kB / 0.5762 GB, free: 30.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.2871, allocations: 24.31 kB / 0.5762 GB, free: 30.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.2876, allocations: 316.3 kB / 0.5765 GB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2876, allocations: 0 / 0.5765 GB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.2876, allocations: 11.98 kB / 0.5765 GB, free: 30.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.2877, allocations: 4 kB / 0.5765 GB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.2882, allocations: 255.6 kB / 0.5767 GB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2894, allocations: 1.389 MB / 0.5781 GB, free: 28.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.2899, allocations: 190.5 kB / 0.5783 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.2901, allocations: 80.72 kB / 0.5784 GB, free: 28.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2901, allocations: 8 kB / 0.5784 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2902, allocations: 38.5 kB / 0.5784 GB, free: 27.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2902, allocations: 0 / 0.5784 GB, free: 27.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006112/0.2908, allocations: 233.4 kB / 0.5786 GB, free: 27.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.2908, allocations: 59.41 kB / 0.5787 GB, free: 27.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.2909, allocations: 167.7 kB / 0.5788 GB, free: 27.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2909, allocations: 29.7 kB / 0.5789 GB, free: 27.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.291, allocations: 124 kB / 0.579 GB, free: 27.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.291, allocations: 63.09 kB / 0.579 GB, free: 27.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.291, allocations: 4 kB / 0.5791 GB, free: 27.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.2911, allocations: 326.8 kB / 0.5794 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2913, allocations: 68.41 kB / 0.5794 GB, free: 26.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.2915, allocations: 147.4 kB / 0.5796 GB, free: 26.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.2918, allocations: 213.2 kB / 0.5798 GB, free: 26.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2918, allocations: 4 kB / 0.5798 GB, free: 26.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004728/0.2923, allocations: 253.7 kB / 0.58 GB, free: 26.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2923, allocations: 8 kB / 0.58 GB, free: 26.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2923, allocations: 0 / 0.58 GB, free: 26.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2924, allocations: 4 kB / 0.58 GB, free: 26.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.2927, allocations: 67.89 kB / 0.5801 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2927, allocations: 4 kB / 0.5801 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2929, allocations: 36.08 kB / 0.5801 GB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2929, allocations: 12 kB / 0.5801 GB, free: 26.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 7.783e-05/0.293, allocations: 135 kB / 0.5803 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2931, allocations: 15.81 kB / 0.5803 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.2936, allocations: 228.3 kB / 0.5805 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2936, allocations: 0 / 0.5805 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2936, allocations: 3.984 kB / 0.5805 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2936, allocations: 8 kB / 0.5805 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2938, allocations: 241.5 kB / 0.5807 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2938, allocations: 0 / 0.5807 GB, free: 25.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2941, allocations: 43.97 kB / 0.5808 GB, free: 25.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2941, allocations: 0 / 0.5808 GB, free: 25.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2941, allocations: 8 kB / 0.5808 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2941, allocations: 0 / 0.5808 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2941, allocations: 0 / 0.5808 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.2945, allocations: 303.6 kB / 0.5811 GB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.2946, allocations: 108.8 kB / 0.5812 GB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2946, allocations: 4 kB / 0.5812 GB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2949, allocations: 15.98 kB / 0.5812 GB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2949, allocations: 15.98 kB / 0.5812 GB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.295, allocations: 15.92 kB / 0.5812 GB, free: 24.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.295, allocations: 117.9 kB / 0.5814 GB, free: 24.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.295, allocations: 0 / 0.5814 GB, free: 24.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.2953, allocations: 64 kB / 0.5814 GB, free: 24.68 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 (20): * Single equations (assignments): 20 * 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.0001551/0.2955, allocations: 151.2 kB / 0.5816 GB, free: 24.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2959, allocations: 178.5 kB / 0.5817 GB, free: 24.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2959, allocations: 4 kB / 0.5817 GB, free: 24.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.2961, allocations: 91.88 kB / 0.5818 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2965, allocations: 61.45 kB / 0.5819 GB, free: 24.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.2973, allocations: 0.4995 MB / 0.5824 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2974, allocations: 0.7137 MB / 0.5831 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.2978, allocations: 53.92 kB / 0.5831 GB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.2978, allocations: 27.42 kB / 0.5831 GB, free: 22.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2978, allocations: 0 / 0.5831 GB, free: 22.84 MB / 410.7 MB Notification: Performance of Templates: time 0.005127/0.303, allocations: 3.235 MB / 0.5863 GB, free: 19.64 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)