Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadModel(Buildings): time 4.29/4.29, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.644e-05, allocations: 0 / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.4999, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9057/1.406, allocations: 364.2 MB / 0.9846 GB, free: 1.059 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.406, allocations: 72.09 kB / 0.9847 GB, free: 1.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06703/1.473, allocations: 18.91 MB / 1.003 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.554e-06/1.473, allocations: 0 / 1.003 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.473, allocations: 4 kB / 1.003 GB, free: 1.949 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.0007885/1.474, allocations: 465.9 kB / 1.004 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.474, allocations: 12.02 kB / 1.004 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/1.474, allocations: 27.75 kB / 1.004 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/1.474, allocations: 202.7 kB / 1.004 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.474, allocations: 11.94 kB / 1.004 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1.474, allocations: 12 kB / 1.004 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006253/1.475, allocations: 409.1 kB / 1.004 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/1.475, allocations: 214.5 kB / 1.004 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.475, allocations: 0 / 1.004 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/1.476, allocations: 4 kB / 1.004 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/1.476, allocations: 4 kB / 1.004 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/1.477, allocations: 0.9855 MB / 1.005 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/1.477, allocations: 145.2 kB / 1.006 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.477, allocations: 52.36 kB / 1.006 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/1.479, allocations: 1.913 MB / 1.007 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.48, allocations: 42.45 kB / 1.007 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.69e-06/1.48, allocations: 0 / 1.007 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0006771/1.48, allocations: 136.6 kB / 1.008 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.48, allocations: 55.41 kB / 1.008 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/1.48, allocations: 131.7 kB / 1.008 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.481, allocations: 29.7 kB / 1.008 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.481, allocations: 143.6 kB / 1.008 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/1.481, allocations: 50.69 kB / 1.008 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-06/1.481, allocations: 4 kB / 1.008 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.481, allocations: 318.6 kB / 1.008 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/1.481, allocations: 27.56 kB / 1.008 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/1.481, allocations: 133 kB / 1.008 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/1.482, allocations: 79.31 kB / 1.009 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-06/1.482, allocations: 0 / 1.009 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007003/1.482, allocations: 208.4 kB / 1.009 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.482, allocations: 4 kB / 1.009 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.482, allocations: 4 kB / 1.009 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.482, allocations: 11.95 kB / 1.009 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.483, allocations: 60.31 kB / 1.009 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.722e-06/1.483, allocations: 7.938 kB / 1.009 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/1.483, allocations: 27.69 kB / 1.009 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.483, allocations: 15.88 kB / 1.009 GB, free: 11.79 MB / 0.7292 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.483, allocations: 111.8 kB / 1.009 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/1.483, allocations: 11.91 kB / 1.009 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/1.484, allocations: 168.5 kB / 1.009 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.484, allocations: 11.83 kB / 1.009 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.511e-06/1.484, allocations: 0 / 1.009 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-06/1.484, allocations: 7.984 kB / 1.009 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/1.484, allocations: 185.7 kB / 1.009 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/1.484, allocations: 0 / 1.009 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.484, allocations: 31.86 kB / 1.009 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.841e-06/1.484, allocations: 4 kB / 1.009 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.484, allocations: 0 / 1.009 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-06/1.484, allocations: 0 / 1.009 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.463e-06/1.484, allocations: 0 / 1.009 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/1.485, allocations: 241.7 kB / 1.01 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.485, allocations: 115.8 kB / 1.01 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/1.485, allocations: 0 / 1.01 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/1.485, allocations: 7.984 kB / 1.01 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/1.485, allocations: 7.984 kB / 1.01 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.486, allocations: 11.62 kB / 1.01 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.488e-05/1.486, allocations: 102.7 kB / 1.01 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.41e-07/1.486, allocations: 0 / 1.01 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005454/1.486, allocations: 75.62 kB / 1.01 GB, free: 10.72 MB / 0.7292 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 () * 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 (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.0003641/1.487, allocations: 194.2 kB / 1.01 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002794/1.487, allocations: 113.5 kB / 1.01 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.875e-06/1.487, allocations: 0 / 1.01 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/1.487, allocations: 39.06 kB / 1.01 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/1.487, allocations: 33.12 kB / 1.01 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/1.488, allocations: 161.5 kB / 1.01 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.488, allocations: 0.7128 MB / 1.011 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002421/1.489, allocations: 49.69 kB / 1.011 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/1.489, allocations: 31.31 kB / 1.011 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of SimCode: time 1.429e-06/1.489, allocations: 0 / 1.011 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of Templates: time 0.008324/1.497, allocations: 2.698 MB / 1.014 GB, free: 6.719 MB / 0.7292 GB