Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.637/1.637, allocations: 291.7 MB / 306.8 MB, free: 7.664 MB / 234.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.0009453/0.0009454, allocations: 181.5 kB / 375.4 MB, free: 5.094 MB / 298.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.384/1.384, allocations: 225.7 MB / 0.6538 GB, free: 13.49 MB / 490.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.0008138/0.000814, allocations: 101.7 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005977, allocations: 12 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6813, allocations: 118.1 MB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001318/0.6827, allocations: 0.9787 MB / 1.012 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.6855, allocations: 2.339 MB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.6855, allocations: 1.062 kB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.6855, allocations: 0 / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.6856, allocations: 5.766 kB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.686, allocations: 106 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.6861, allocations: 31.61 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.6862, allocations: 3.938 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.6862, allocations: 19.81 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.6863, allocations: 20.92 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.6863, allocations: 1.438 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.6866, allocations: 90.86 kB / 1.014 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.6866, allocations: 8.141 kB / 1.014 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.6866, allocations: 29.2 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.6867, allocations: 49.06 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6867, allocations: 1.219 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6868, allocations: 2.906 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.6868, allocations: 0 / 1.014 GB, free: 57.54 MB / 0.7136 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.0003278/0.6871, allocations: 337 kB / 1.015 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6871, allocations: 10.41 kB / 1.015 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.6873, allocations: 18.75 kB / 1.015 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.6874, allocations: 172.2 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.6874, allocations: 3.281 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.6875, allocations: 7.938 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6876, allocations: 72.11 kB / 1.015 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6876, allocations: 0.5 kB / 1.015 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6876, allocations: 0 / 1.015 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6876, allocations: 7.891 kB / 1.015 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.6877, allocations: 12.56 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.6882, allocations: 476.7 kB / 1.016 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.6883, allocations: 72.22 kB / 1.016 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.6883, allocations: 26.52 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.6883, allocations: 2.531 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.6884, allocations: 35 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.6884, allocations: 1.875 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005335/0.6889, allocations: 301.2 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6889, allocations: 106.5 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.689, allocations: 99.81 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.689, allocations: 29.95 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.6891, allocations: 89.14 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.6891, allocations: 30.11 kB / 1.016 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6891, allocations: 1.125 kB / 1.016 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.6891, allocations: 321.5 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.6892, allocations: 14.72 kB / 1.017 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.6892, allocations: 55.44 kB / 1.017 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.6893, allocations: 71.09 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6893, allocations: 1.375 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001114/0.6894, allocations: 95.59 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.6894, allocations: 5.688 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6894, allocations: 0 / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6894, allocations: 4.094 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.6895, allocations: 27.11 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6895, allocations: 3.75 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.6896, allocations: 0 / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.6896, allocations: 6.594 kB / 1.017 GB, free: 55.23 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.6897, allocations: 119.9 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.6897, allocations: 12.72 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.6897, allocations: 10.62 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6898, allocations: 0 / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6898, allocations: 3.094 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6898, allocations: 3.703 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.6901, allocations: 176.3 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6901, allocations: 2.188 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.6901, allocations: 21.38 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6902, allocations: 2.938 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6902, allocations: 3.812 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6902, allocations: 3.406 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6902, allocations: 1.344 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.6904, allocations: 330.1 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.6904, allocations: 87.66 kB / 1.018 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.6904, allocations: 6.25 kB / 1.018 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.6906, allocations: 7.047 kB / 1.018 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.6906, allocations: 3.812 kB / 1.018 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6907, allocations: 10 kB / 1.018 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.98e-05/0.6907, allocations: 79.33 kB / 1.018 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6907, allocations: 2.719 kB / 1.018 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002925/0.691, allocations: 13.25 kB / 1.018 GB, free: 54.44 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001118/0.6911, allocations: 109.9 kB / 1.018 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.6912, allocations: 42.64 kB / 1.018 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6912, allocations: 2.031 kB / 1.018 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.6913, allocations: 21.27 kB / 1.018 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.6917, allocations: 8.812 kB / 1.018 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.6922, allocations: 407.1 kB / 1.018 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6923, allocations: 0.6876 MB / 1.019 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.6924, allocations: 14.23 kB / 1.019 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.6924, allocations: 10.03 kB / 1.019 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6924, allocations: 0 / 1.019 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.002389/0.6948, allocations: 0.5926 MB / 1.02 GB, free: 53.32 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)