Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002529/0.002534, allocations: 358.4 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.495/1.495, allocations: 165.8 MB / 183.1 MB, free: 5.422 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.785/3.785, allocations: 410.8 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.00178, allocations: 196.3 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4364, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.318, allocations: 341.3 MB / 1.142 GB, free: 5.184 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.319, allocations: 76.19 kB / 1.142 GB, free: 5.145 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.428/1.747, allocations: 19.56 MB / 1.161 GB, free: 226.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.225e-06/1.747, allocations: 0 / 1.161 GB, free: 226.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.747, allocations: 3.875 kB / 1.161 GB, free: 226.3 MB / 0.573 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.0007857/1.747, allocations: 473.2 kB / 1.162 GB, free: 225.9 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.747, allocations: 10.38 kB / 1.162 GB, free: 225.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/1.748, allocations: 19.84 kB / 1.162 GB, free: 225.9 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/1.748, allocations: 212.3 kB / 1.162 GB, free: 225.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.748, allocations: 12.02 kB / 1.162 GB, free: 225.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/1.748, allocations: 15.75 kB / 1.162 GB, free: 225.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/1.749, allocations: 246.5 kB / 1.162 GB, free: 225.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.749, allocations: 3.953 kB / 1.162 GB, free: 225.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/1.749, allocations: 7.906 kB / 1.162 GB, free: 225.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/1.749, allocations: 11.86 kB / 1.162 GB, free: 225.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/1.749, allocations: 424.9 kB / 1.163 GB, free: 225.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.751, allocations: 0.9497 MB / 1.163 GB, free: 224.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/1.751, allocations: 161.1 kB / 1.164 GB, free: 224.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/1.751, allocations: 60.34 kB / 1.164 GB, free: 224.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.753, allocations: 1.825 MB / 1.165 GB, free: 222.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/1.753, allocations: 38.38 kB / 1.165 GB, free: 222.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/1.753, allocations: 4 kB / 1.166 GB, free: 222.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0004344/1.753, allocations: 144.4 kB / 1.166 GB, free: 222 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.753, allocations: 63.23 kB / 1.166 GB, free: 221.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.753, allocations: 165.1 kB / 1.166 GB, free: 221.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/1.753, allocations: 29.7 kB / 1.166 GB, free: 221.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/1.753, allocations: 140.1 kB / 1.166 GB, free: 221.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/1.753, allocations: 49.89 kB / 1.166 GB, free: 221.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/1.753, allocations: 4 kB / 1.166 GB, free: 221.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/1.754, allocations: 330.4 kB / 1.166 GB, free: 221.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/1.754, allocations: 41.83 kB / 1.166 GB, free: 221.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/1.754, allocations: 139.1 kB / 1.167 GB, free: 221.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/1.754, allocations: 62 kB / 1.167 GB, free: 221 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.754, allocations: 3.719 kB / 1.167 GB, free: 221 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004477/1.754, allocations: 209.9 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.754, allocations: 6.344 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.754, allocations: 7.406 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.755, allocations: 3.688 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/1.755, allocations: 54.61 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.755, allocations: 15.8 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/1.755, allocations: 31.34 kB / 1.167 GB, free: 220.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/1.755, allocations: 19.72 kB / 1.167 GB, free: 220.9 MB / 0.573 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 () * Number of clocked 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.0001462/1.755, allocations: 137.5 kB / 1.167 GB, free: 220.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/1.755, allocations: 15.72 kB / 1.167 GB, free: 220.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/1.756, allocations: 157.2 kB / 1.167 GB, free: 220.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.756, allocations: 0 / 1.167 GB, free: 220.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.756, allocations: 0 / 1.167 GB, free: 220.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.756, allocations: 0 / 1.167 GB, free: 220.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/1.756, allocations: 216.5 kB / 1.167 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.756, allocations: 3.938 kB / 1.167 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/1.756, allocations: 35.33 kB / 1.167 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.756, allocations: 3.984 kB / 1.167 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.757, allocations: 0 / 1.167 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.757, allocations: 4 kB / 1.168 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.757, allocations: 3.969 kB / 1.168 GB, free: 220.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/1.757, allocations: 221.4 kB / 1.168 GB, free: 220.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.757, allocations: 113.9 kB / 1.168 GB, free: 220.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/1.757, allocations: 4 kB / 1.168 GB, free: 220.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/1.757, allocations: 8 kB / 1.168 GB, free: 220.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/1.757, allocations: 15.98 kB / 1.168 GB, free: 220 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.757, allocations: 11.98 kB / 1.168 GB, free: 220 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000107/1.758, allocations: 120.9 kB / 1.168 GB, free: 219.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/1.758, allocations: 0 / 1.168 GB, free: 219.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005643/1.758, allocations: 79.94 kB / 1.168 GB, free: 219.8 MB / 0.573 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 (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.0003457/1.758, allocations: 190.9 kB / 1.168 GB, free: 219.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003241/1.759, allocations: 120.5 kB / 1.168 GB, free: 219.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.759, allocations: 4.062 kB / 1.168 GB, free: 219.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/1.759, allocations: 43.92 kB / 1.168 GB, free: 219.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/1.76, allocations: 50.61 kB / 1.168 GB, free: 219.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/1.76, allocations: 423.4 kB / 1.169 GB, free: 219 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.761, allocations: 0.7211 MB / 1.17 GB, free: 218.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002983/1.761, allocations: 45.86 kB / 1.17 GB, free: 218.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/1.761, allocations: 27.42 kB / 1.17 GB, free: 218.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/1.761, allocations: 0 / 1.17 GB, free: 218.2 MB / 0.573 GB Notification: Performance of Templates: time 0.009498/1.771, allocations: 3.418 MB / 1.173 GB, free: 214.8 MB / 0.573 GB