Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00925/0.00925, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9737/0.9737, allocations: 132.3 MB / 148.1 MB, free: 280 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 403.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 94.08 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 8 kB / 0.5641 GB, free: 2.176 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4477, allocations: 81.59 MB / 0.6437 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/1.259, allocations: 354.2 MB / 0.9897 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.259, allocations: 79.2 kB / 0.9897 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04763/1.307, allocations: 20.21 MB / 1.009 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/1.307, allocations: 4 kB / 1.009 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.307, allocations: 0 / 1.009 GB, free: 9.875 MB / 0.6511 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.0007388/1.308, allocations: 489.3 kB / 1.01 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.308, allocations: 8.031 kB / 1.01 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/1.308, allocations: 23.77 kB / 1.01 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.308, allocations: 213.6 kB / 1.01 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.308, allocations: 11.95 kB / 1.01 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/1.308, allocations: 19.25 kB / 1.01 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/1.309, allocations: 253.1 kB / 1.01 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.309, allocations: 0 / 1.01 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.309, allocations: 7.922 kB / 1.01 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/1.309, allocations: 8 kB / 1.01 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/1.309, allocations: 429 kB / 1.011 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/1.31, allocations: 0.9971 MB / 1.012 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/1.311, allocations: 162.3 kB / 1.012 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.312, allocations: 1.838 MB / 1.014 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.312, allocations: 46.14 kB / 1.014 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.312, allocations: 4 kB / 1.014 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003544/1.313, allocations: 137 kB / 1.014 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.313, allocations: 55.34 kB / 1.014 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/1.313, allocations: 155.9 kB / 1.014 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/1.313, allocations: 29.27 kB / 1.014 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/1.313, allocations: 143.3 kB / 1.014 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/1.313, allocations: 50.67 kB / 1.014 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/1.313, allocations: 3.938 kB / 1.014 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.313, allocations: 330.5 kB / 1.015 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/1.313, allocations: 39.47 kB / 1.015 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.313, allocations: 129 kB / 1.015 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/1.313, allocations: 65.27 kB / 1.015 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.313, allocations: 0 / 1.015 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003027/1.314, allocations: 216.3 kB / 1.015 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.314, allocations: 10.25 kB / 1.015 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.314, allocations: 7.953 kB / 1.015 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.314, allocations: 8 kB / 1.015 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/1.314, allocations: 55.91 kB / 1.015 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.314, allocations: 7.938 kB / 1.015 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/1.314, allocations: 23.56 kB / 1.015 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.314, allocations: 15.62 kB / 1.015 GB, free: 3.766 MB / 0.6511 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.0001103/1.314, allocations: 129.5 kB / 1.015 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/1.314, allocations: 23.8 kB / 1.015 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/1.315, allocations: 159.1 kB / 1.016 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.315, allocations: 3.953 kB / 1.016 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.315, allocations: 4 kB / 1.016 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.315, allocations: 0 / 1.016 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/1.315, allocations: 220 kB / 1.016 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.315, allocations: 0 / 1.016 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.315, allocations: 31.92 kB / 1.016 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.315, allocations: 0 / 1.016 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.315, allocations: 11.75 kB / 1.016 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.315, allocations: 4 kB / 1.016 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.315, allocations: 3.953 kB / 1.016 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/1.315, allocations: 209.8 kB / 1.016 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/1.315, allocations: 116.3 kB / 1.016 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/1.316, allocations: 11.81 kB / 1.016 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/1.316, allocations: 23.55 kB / 1.016 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/1.316, allocations: 11.94 kB / 1.016 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.316, allocations: 11.98 kB / 1.016 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.42e-05/1.316, allocations: 116.5 kB / 1.016 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.316, allocations: 0 / 1.016 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004223/1.316, allocations: 91.14 kB / 1.016 GB, free: 2.621 MB / 0.6511 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.000321/1.317, allocations: 187 kB / 1.017 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002146/1.317, allocations: 120.6 kB / 1.017 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.317, allocations: 0 / 1.017 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/1.317, allocations: 43.84 kB / 1.017 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/1.317, allocations: 55.83 kB / 1.017 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/1.318, allocations: 419.1 kB / 1.017 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/1.318, allocations: 0.717 MB / 1.018 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001753/1.319, allocations: 53.83 kB / 1.018 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/1.319, allocations: 23.44 kB / 1.018 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/1.319, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of Templates: time 0.006725/1.325, allocations: 3.419 MB / 1.021 GB, free: 13.64 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)