Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 174.7 kB / 16.07 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.4444/0.4444, allocations: 89.07 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.253/1.253, allocations: 225.7 MB / 353.2 MB, free: 1.105 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.0008509/0.0008511, allocations: 99.98 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 8 kB / 0.4955 GB, free: 4.555 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 71.34 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.003998/0.2794, allocations: 4.372 MB / 0.5695 GB, free: 37.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.2816, allocations: 4.469 MB / 0.5738 GB, free: 33.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.2817, allocations: 3.938 kB / 0.5738 GB, free: 33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2819, allocations: 43.78 kB / 0.5739 GB, free: 32.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2821, allocations: 87.44 kB / 0.5739 GB, free: 32.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.2831, allocations: 458.3 kB / 0.5744 GB, free: 32.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2833, allocations: 299.9 kB / 0.5747 GB, free: 32.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.2833, allocations: 13.55 kB / 0.5747 GB, free: 32.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2835, allocations: 115.5 kB / 0.5748 GB, free: 32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.2836, allocations: 95.55 kB / 0.5749 GB, free: 31.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2836, allocations: 8 kB / 0.5749 GB, free: 31.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.2842, allocations: 355.2 kB / 0.5752 GB, free: 31.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.2842, allocations: 31.89 kB / 0.5753 GB, free: 31.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2843, allocations: 105.3 kB / 0.5754 GB, free: 31.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2847, allocations: 365.2 kB / 0.5757 GB, free: 31.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2847, allocations: 0 / 0.5757 GB, free: 31.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2848, allocations: 0 / 0.5757 GB, free: 31.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2848, allocations: 8 kB / 0.5757 GB, free: 31.05 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.0005336/0.2853, allocations: 467.2 kB / 0.5762 GB, free: 30.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2853, allocations: 8.031 kB / 0.5762 GB, free: 30.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2855, allocations: 24.73 kB / 0.5762 GB, free: 30.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2856, allocations: 216.1 kB / 0.5764 GB, free: 30.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2857, allocations: 8.703 kB / 0.5764 GB, free: 30.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2857, allocations: 16.38 kB / 0.5764 GB, free: 30.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.286, allocations: 256.1 kB / 0.5767 GB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.286, allocations: 0 / 0.5767 GB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.286, allocations: 8 kB / 0.5767 GB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.286, allocations: 11.98 kB / 0.5767 GB, free: 29.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.2864, allocations: 427.3 kB / 0.5771 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.2872, allocations: 0.9527 MB / 0.578 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.2874, allocations: 158.9 kB / 0.5782 GB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.2875, allocations: 68.81 kB / 0.5782 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.2884, allocations: 1.825 MB / 0.58 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2884, allocations: 34.56 kB / 0.5801 GB, free: 26.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2884, allocations: 0 / 0.5801 GB, free: 26.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002648/0.2887, allocations: 149.3 kB / 0.5802 GB, free: 25.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.2887, allocations: 55.34 kB / 0.5803 GB, free: 25.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.2888, allocations: 169.6 kB / 0.5804 GB, free: 25.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2888, allocations: 29.7 kB / 0.5804 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.2889, allocations: 143.8 kB / 0.5806 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2889, allocations: 47.27 kB / 0.5806 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.2889, allocations: 4 kB / 0.5806 GB, free: 25.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.289, allocations: 326.8 kB / 0.5809 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.289, allocations: 39.97 kB / 0.581 GB, free: 25.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.2891, allocations: 146.8 kB / 0.5811 GB, free: 24.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2893, allocations: 193.5 kB / 0.5813 GB, free: 24.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2893, allocations: 0 / 0.5813 GB, free: 24.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002382/0.2895, allocations: 217.6 kB / 0.5815 GB, free: 24.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2895, allocations: 11.94 kB / 0.5815 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2896, allocations: 4 kB / 0.5815 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2896, allocations: 4.469 kB / 0.5815 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2897, allocations: 63.8 kB / 0.5816 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2898, allocations: 11.98 kB / 0.5816 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.2899, allocations: 23.75 kB / 0.5816 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2899, allocations: 16 kB / 0.5816 GB, free: 24.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.276e-05/0.29, allocations: 133.7 kB / 0.5818 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.29, allocations: 11.91 kB / 0.5818 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.2902, allocations: 158.9 kB / 0.5819 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2903, allocations: 11.94 kB / 0.5819 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2903, allocations: 0 / 0.5819 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2903, allocations: 0 / 0.5819 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.2904, allocations: 213.6 kB / 0.5821 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2905, allocations: 0 / 0.5821 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.2905, allocations: 20 kB / 0.5822 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2906, allocations: 3.984 kB / 0.5822 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2906, allocations: 8 kB / 0.5822 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2906, allocations: 3.938 kB / 0.5822 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2906, allocations: 0 / 0.5822 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2907, allocations: 223.2 kB / 0.5824 GB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2908, allocations: 112.8 kB / 0.5825 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.2909, allocations: 4 kB / 0.5825 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2911, allocations: 23.92 kB / 0.5825 GB, free: 23.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.2911, allocations: 7.984 kB / 0.5825 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2911, allocations: 12 kB / 0.5825 GB, free: 23.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.736e-05/0.2912, allocations: 123.2 kB / 0.5827 GB, free: 23.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2912, allocations: 0 / 0.5827 GB, free: 23.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.2915, allocations: 79.98 kB / 0.5827 GB, free: 23.03 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002806/0.2918, allocations: 179 kB / 0.5829 GB, free: 22.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.292, allocations: 115.8 kB / 0.583 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.292, allocations: 0 / 0.583 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.2921, allocations: 47.86 kB / 0.5831 GB, free: 22.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2925, allocations: 60.8 kB / 0.5831 GB, free: 22.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.293, allocations: 434.5 kB / 0.5835 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2931, allocations: 0.7208 MB / 0.5842 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.2933, allocations: 37.92 kB / 0.5843 GB, free: 21.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.2933, allocations: 27.42 kB / 0.5843 GB, free: 21.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2933, allocations: 4 kB / 0.5843 GB, free: 21.36 MB / 410.7 MB Notification: Performance of Templates: time 0.005341/0.2987, allocations: 3.303 MB / 0.5875 GB, free: 18.08 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)