Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 185.5 kB / 16.08 MB, free: 5.52 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.4422/0.4422, allocations: 89.06 MB / 105.9 MB, free: 12.46 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.289/1.289, allocations: 225.7 MB / 353.3 MB, free: 1.102 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.0007192/0.0007193, allocations: 91.64 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002863, allocations: 8 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 71.33 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001017/0.2837, allocations: 0.9864 MB / 0.5662 GB, free: 41.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2858, allocations: 3.285 MB / 0.5694 GB, free: 37.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.2858, allocations: 0 / 0.5694 GB, free: 37.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.2858, allocations: 3.984 kB / 0.5694 GB, free: 37.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.2859, allocations: 3.984 kB / 0.5694 GB, free: 37.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.2862, allocations: 117.9 kB / 0.5695 GB, free: 37.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.2863, allocations: 31.92 kB / 0.5695 GB, free: 37.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.2863, allocations: 0 / 0.5695 GB, free: 37.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.2864, allocations: 27.92 kB / 0.5695 GB, free: 37.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.2864, allocations: 15.91 kB / 0.5696 GB, free: 37.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.2864, allocations: 4 kB / 0.5696 GB, free: 37.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.2866, allocations: 107.8 kB / 0.5697 GB, free: 37.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2867, allocations: 11.97 kB / 0.5697 GB, free: 37.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.2867, allocations: 41.64 kB / 0.5697 GB, free: 37.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2869, allocations: 77.95 kB / 0.5698 GB, free: 37.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2869, allocations: 0 / 0.5698 GB, free: 37.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2869, allocations: 0 / 0.5698 GB, free: 37.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.2869, allocations: 0 / 0.5698 GB, free: 37.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002466/0.2871, allocations: 353.2 kB / 0.5701 GB, free: 37.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.2872, allocations: 12.03 kB / 0.5701 GB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.2873, allocations: 12.92 kB / 0.5702 GB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.008e-05/0.2874, allocations: 168.3 kB / 0.5703 GB, free: 36.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2874, allocations: 8.375 kB / 0.5703 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2874, allocations: 4.359 kB / 0.5703 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2876, allocations: 80.38 kB / 0.5704 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.2876, allocations: 3.984 kB / 0.5704 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2876, allocations: 0 / 0.5704 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2876, allocations: 0 / 0.5704 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.2876, allocations: 15.94 kB / 0.5704 GB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.288, allocations: 470.8 kB / 0.5709 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/0.2881, allocations: 75.78 kB / 0.5709 GB, free: 36.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.2882, allocations: 22.52 kB / 0.571 GB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.2882, allocations: 3.938 kB / 0.571 GB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2882, allocations: 46.64 kB / 0.571 GB, free: 35.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2882, allocations: 0 / 0.571 GB, free: 35.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004522/0.2887, allocations: 294.1 kB / 0.5713 GB, free: 35.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2887, allocations: 106.8 kB / 0.5714 GB, free: 35.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.052e-05/0.2888, allocations: 106.1 kB / 0.5715 GB, free: 35.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.2888, allocations: 25.7 kB / 0.5715 GB, free: 35.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.2888, allocations: 88.05 kB / 0.5716 GB, free: 35.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2888, allocations: 27.64 kB / 0.5716 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2888, allocations: 3.938 kB / 0.5716 GB, free: 35.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.2889, allocations: 322.8 kB / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.2889, allocations: 15.92 kB / 0.572 GB, free: 34.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.2889, allocations: 53.14 kB / 0.572 GB, free: 34.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.289, allocations: 69.61 kB / 0.5721 GB, free: 34.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.289, allocations: 0 / 0.5721 GB, free: 34.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001024/0.2891, allocations: 105.5 kB / 0.5722 GB, free: 34.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2891, allocations: 7.906 kB / 0.5722 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2891, allocations: 4 kB / 0.5722 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2892, allocations: 0 / 0.5722 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.2892, allocations: 23.92 kB / 0.5722 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2892, allocations: 4 kB / 0.5722 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.2893, allocations: 0 / 0.5722 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2893, allocations: 4 kB / 0.5722 GB, free: 34.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.213e-05/0.2893, allocations: 122.8 kB / 0.5723 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.2894, allocations: 4 kB / 0.5723 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.2894, allocations: 11.55 kB / 0.5723 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2894, allocations: 4 kB / 0.5724 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2894, allocations: 0 / 0.5724 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2895, allocations: 0 / 0.5724 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.2897, allocations: 181.6 kB / 0.5725 GB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2897, allocations: 4 kB / 0.5725 GB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.2898, allocations: 15.94 kB / 0.5725 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2898, allocations: 0 / 0.5725 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2898, allocations: 16.05 kB / 0.5726 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2898, allocations: 0 / 0.5726 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2898, allocations: 0 / 0.5726 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.29, allocations: 329.9 kB / 0.5729 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.29, allocations: 89.08 kB / 0.573 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.29, allocations: 0 / 0.573 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2902, allocations: 11.94 kB / 0.573 GB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.2903, allocations: 11.92 kB / 0.573 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2903, allocations: 7.938 kB / 0.573 GB, free: 33.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.818e-05/0.2903, allocations: 79.28 kB / 0.5731 GB, free: 33.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 0.5731 GB, free: 33.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.2906, allocations: 12 kB / 0.5731 GB, free: 33.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.091e-05/0.2907, allocations: 111.2 kB / 0.5732 GB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.2908, allocations: 47.91 kB / 0.5732 GB, free: 33.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2908, allocations: 0 / 0.5732 GB, free: 33.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.2908, allocations: 19.94 kB / 0.5732 GB, free: 33.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.2911, allocations: 9.688 kB / 0.5733 GB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.2916, allocations: 416.9 kB / 0.5737 GB, free: 32.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.2917, allocations: 0.6848 MB / 0.5743 GB, free: 32.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.2918, allocations: 11.86 kB / 0.5743 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.2918, allocations: 11.44 kB / 0.5743 GB, free: 32.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2918, allocations: 0 / 0.5743 GB, free: 32.24 MB / 410.7 MB Notification: Performance of Templates: time 0.002104/0.2939, allocations: 0.6146 MB / 0.5749 GB, free: 31.63 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)