Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.753/1.753, allocations: 306.1 MB / 321.4 MB, free: 10.68 MB / 250.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.001028/0.001028, allocations: 175.3 kB / 393.1 MB, free: 4.047 MB / 314.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.543/1.543, allocations: 225.7 MB / 0.6743 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007745, allocations: 96.17 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 8 kB / 0.9224 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6786, allocations: 121.3 MB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001425/0.6801, allocations: 0.9866 MB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.6829, allocations: 3.291 MB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.6829, allocations: 0 / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.683, allocations: 0.5 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.683, allocations: 6.609 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.6835, allocations: 118.1 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.6835, allocations: 33.14 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.6836, allocations: 3.438 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.6836, allocations: 22.91 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.6837, allocations: 15.86 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.6837, allocations: 1.062 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.684, allocations: 111.2 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.684, allocations: 7.391 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.6841, allocations: 40.06 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.6843, allocations: 83.88 kB / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6843, allocations: 1.062 kB / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6843, allocations: 0 / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6843, allocations: 1.656 kB / 1.045 GB, free: 54.5 MB / 0.698 GB 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.0003037/0.6846, allocations: 354.9 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6846, allocations: 12.28 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.6848, allocations: 13.27 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.286e-05/0.6849, allocations: 165.7 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6849, allocations: 7.469 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.685, allocations: 3.969 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.6851, allocations: 71.42 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6851, allocations: 4.969 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6851, allocations: 0 / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6852, allocations: 4.031 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.6852, allocations: 18.48 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.6857, allocations: 472.9 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.6858, allocations: 69.75 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.6858, allocations: 29.06 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.6859, allocations: 1.656 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.6859, allocations: 38 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.405e-06/0.6859, allocations: 0.875 kB / 1.047 GB, free: 53.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005322/0.6864, allocations: 301.3 kB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.6865, allocations: 107.6 kB / 1.047 GB, free: 52.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.6865, allocations: 97.56 kB / 1.047 GB, free: 52.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.6865, allocations: 31.36 kB / 1.047 GB, free: 52.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.6866, allocations: 89.95 kB / 1.047 GB, free: 52.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.6866, allocations: 20.88 kB / 1.047 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6866, allocations: 3.469 kB / 1.047 GB, free: 52.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.6867, allocations: 323 kB / 1.048 GB, free: 52.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.6867, allocations: 12.69 kB / 1.048 GB, free: 52.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.6867, allocations: 59.14 kB / 1.048 GB, free: 52.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.6868, allocations: 74.78 kB / 1.048 GB, free: 52.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6868, allocations: 0 / 1.048 GB, free: 52.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001126/0.6869, allocations: 97.62 kB / 1.048 GB, free: 52.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.687, allocations: 9.531 kB / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.687, allocations: 2.531 kB / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.687, allocations: 0.6875 kB / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.6871, allocations: 23.92 kB / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6871, allocations: 4.438 kB / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.6871, allocations: 0 / 1.048 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.6871, allocations: 9.812 kB / 1.048 GB, free: 52.05 MB / 0.698 GB 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.373e-05/0.6872, allocations: 119.6 kB / 1.048 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.6873, allocations: 7.703 kB / 1.048 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.6873, allocations: 9.062 kB / 1.048 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.6873, allocations: 2.812 kB / 1.048 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6873, allocations: 4.062 kB / 1.048 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6873, allocations: 2.812 kB / 1.048 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.6876, allocations: 183 kB / 1.048 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6876, allocations: 0 / 1.048 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.6877, allocations: 22.28 kB / 1.048 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6877, allocations: 1.812 kB / 1.048 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6877, allocations: 1.844 kB / 1.048 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6877, allocations: 0 / 1.048 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6877, allocations: 4.891 kB / 1.048 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.6879, allocations: 327 kB / 1.049 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.688, allocations: 91.09 kB / 1.049 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.688, allocations: 3.828 kB / 1.049 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6881, allocations: 7.125 kB / 1.049 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.6882, allocations: 6.609 kB / 1.049 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.6882, allocations: 6.312 kB / 1.049 GB, free: 51.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.6882, allocations: 79.45 kB / 1.049 GB, free: 51.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6882, allocations: 0 / 1.049 GB, free: 51.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002783/0.6885, allocations: 13.28 kB / 1.049 GB, free: 51.21 MB / 0.698 GB 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 0.0001185/0.6886, allocations: 113.4 kB / 1.049 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.6887, allocations: 47.42 kB / 1.049 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6887, allocations: 0 / 1.049 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.6888, allocations: 27.48 kB / 1.049 GB, free: 51.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.6892, allocations: 9.078 kB / 1.049 GB, free: 51.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.6897, allocations: 407.9 kB / 1.049 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6899, allocations: 0.6881 MB / 1.05 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.326e-05/0.6899, allocations: 7.172 kB / 1.05 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.69, allocations: 11.94 kB / 1.05 GB, free: 50.07 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.69, allocations: 0 / 1.05 GB, free: 50.07 MB / 0.698 GB Notification: Performance of Templates: time 0.002514/0.6925, allocations: 0.6163 MB / 1.051 GB, free: 49.99 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)