Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 292.6 MB / 307.8 MB, free: 7.121 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.001091/0.001091, allocations: 189.4 kB / 376.5 MB, free: 4.434 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.382/1.382, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008047/0.0008045, allocations: 95.28 kB / 0.7711 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004526, allocations: 8 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.652, allocations: 118.2 MB / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00484/0.6569, allocations: 3.568 MB / 1.016 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.6598, allocations: 2.234 MB / 1.018 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.66, allocations: 0.625 kB / 1.018 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.6602, allocations: 40.8 kB / 1.018 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.6605, allocations: 88.62 kB / 1.018 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.6617, allocations: 431.5 kB / 1.019 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.6621, allocations: 294.8 kB / 1.019 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.6622, allocations: 8.156 kB / 1.019 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.6624, allocations: 117.4 kB / 1.019 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.6625, allocations: 95.41 kB / 1.019 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.6626, allocations: 7.656 kB / 1.019 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.6634, allocations: 406.4 kB / 1.019 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.6635, allocations: 41.7 kB / 1.02 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.6636, allocations: 104 kB / 1.02 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.6639, allocations: 277.2 kB / 1.02 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6639, allocations: 1.188 kB / 1.02 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6639, allocations: 0 / 1.02 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6639, allocations: 0 / 1.02 GB, free: 56.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000619/0.6646, allocations: 478.7 kB / 1.02 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6646, allocations: 10.53 kB / 1.02 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.6664, allocations: 182.6 kB / 1.021 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.6666, allocations: 209.7 kB / 1.021 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.6667, allocations: 10.08 kB / 1.021 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.6667, allocations: 19.56 kB / 1.021 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.6673, allocations: 312.2 kB / 1.021 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6673, allocations: 1.406 kB / 1.021 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.6674, allocations: 6.812 kB / 1.021 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6674, allocations: 6.656 kB / 1.021 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.668, allocations: 261.7 kB / 1.021 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.6693, allocations: 1.382 MB / 1.023 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.6699, allocations: 190 kB / 1.023 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.6701, allocations: 76.19 kB / 1.023 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.6702, allocations: 9.906 kB / 1.023 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6702, allocations: 42.5 kB / 1.023 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.6702, allocations: 0 / 1.023 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007005/0.6709, allocations: 242.7 kB / 1.023 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.671, allocations: 54.44 kB / 1.023 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6711, allocations: 153.7 kB / 1.023 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6711, allocations: 31.98 kB / 1.023 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.6712, allocations: 124.8 kB / 1.024 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.6712, allocations: 60.91 kB / 1.024 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.6712, allocations: 4.781 kB / 1.024 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.6713, allocations: 324.8 kB / 1.024 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6715, allocations: 66.67 kB / 1.024 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.6717, allocations: 144.2 kB / 1.024 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.6722, allocations: 222.6 kB / 1.024 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.6722, allocations: 0 / 1.024 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005285/0.6727, allocations: 245.4 kB / 1.025 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6727, allocations: 6.281 kB / 1.025 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6728, allocations: 7.719 kB / 1.025 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6728, allocations: 2.781 kB / 1.025 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.6731, allocations: 68.95 kB / 1.025 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.6732, allocations: 5.578 kB / 1.025 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.6734, allocations: 32.69 kB / 1.025 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.6734, allocations: 16.81 kB / 1.025 GB, free: 53.46 MB / 0.7136 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.6736, allocations: 131.6 kB / 1.025 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.6736, allocations: 11.47 kB / 1.025 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.6743, allocations: 235.1 kB / 1.025 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6743, allocations: 3.062 kB / 1.025 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6743, allocations: 0 / 1.025 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6743, allocations: 1.828 kB / 1.025 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.6746, allocations: 250 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6746, allocations: 2.938 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.6749, allocations: 45.91 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.6749, allocations: 2.5 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6749, allocations: 5.969 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6749, allocations: 2.5 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6749, allocations: 2.938 kB / 1.025 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.6754, allocations: 299.8 kB / 1.026 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.6755, allocations: 105.5 kB / 1.026 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.6756, allocations: 3.938 kB / 1.026 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.6758, allocations: 19.41 kB / 1.026 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.6759, allocations: 11.8 kB / 1.026 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.6759, allocations: 9.875 kB / 1.026 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.676, allocations: 110.7 kB / 1.026 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.676, allocations: 0 / 1.026 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000357/0.6763, allocations: 67.83 kB / 1.026 GB, free: 52.73 MB / 0.7136 GB 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 (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.0002201/0.6766, allocations: 135.2 kB / 1.026 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.6771, allocations: 183.5 kB / 1.026 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6771, allocations: 0 / 1.026 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.6773, allocations: 86.25 kB / 1.026 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.6778, allocations: 59.73 kB / 1.026 GB, free: 52.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.6787, allocations: 499.8 kB / 1.027 GB, free: 52.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.6788, allocations: 0.7235 MB / 1.028 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003464/0.6792, allocations: 53.08 kB / 1.028 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.6792, allocations: 20.5 kB / 1.028 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.6793, allocations: 1.031 kB / 1.028 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.005905/0.6852, allocations: 3.107 MB / 1.031 GB, free: 51.42 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)