Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008256/0.008255, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.249/1.249, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001902/0.001901, allocations: 110.7 kB / 226.2 MB, free: 8.008 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.000335, allocations: 12 kB / 274.1 MB, free: 7.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 38.76 MB / 312.9 MB, free: 24.27 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.372/5.54, allocations: 2.466 GB / 2.772 GB, free: 81.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/5.541, allocations: 84 kB / 2.772 GB, free: 81.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598/7.139, allocations: 420.2 MB / 3.182 GB, free: 44.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/7.139, allocations: 3.609 kB / 3.182 GB, free: 44.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.186e-05/7.139, allocations: 13.8 kB / 3.182 GB, free: 44.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004898/7.144, allocations: 1.212 MB / 3.184 GB, free: 44.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/7.144, allocations: 11 kB / 3.184 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/7.145, allocations: 157.4 kB / 3.184 GB, free: 44.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/7.146, allocations: 318.3 kB / 3.184 GB, free: 43.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/7.146, allocations: 26.45 kB / 3.184 GB, free: 43.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/7.146, allocations: 30.19 kB / 3.184 GB, free: 43.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/7.147, allocations: 0.5204 MB / 3.185 GB, free: 43.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/7.147, allocations: 0 / 3.185 GB, free: 43.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/7.147, allocations: 17.66 kB / 3.185 GB, free: 43.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/7.147, allocations: 8.969 kB / 3.185 GB, free: 43.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/7.148, allocations: 327.3 kB / 3.185 GB, free: 43.73 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/7.15, allocations: 2.569 MB / 3.187 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/7.151, allocations: 278.8 kB / 3.188 GB, free: 41.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05493/7.206, allocations: 30.75 MB / 3.218 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/7.206, allocations: 37.28 kB / 3.218 GB, free: 23.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/7.206, allocations: 0 / 3.218 GB, free: 23.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003579/7.21, allocations: 1.216 MB / 3.219 GB, free: 23.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/7.21, allocations: 54.88 kB / 3.219 GB, free: 23.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/7.21, allocations: 230.9 kB / 3.219 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/7.21, allocations: 32.48 kB / 3.219 GB, free: 22.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/7.21, allocations: 189.8 kB / 3.219 GB, free: 22.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/7.21, allocations: 115.3 kB / 3.22 GB, free: 22.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/7.21, allocations: 4.953 kB / 3.22 GB, free: 22.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/7.21, allocations: 342.5 kB / 3.22 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/7.211, allocations: 92.47 kB / 3.22 GB, free: 22.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/7.211, allocations: 211.9 kB / 3.22 GB, free: 22.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/7.211, allocations: 131.6 kB / 3.22 GB, free: 22.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/7.211, allocations: 0 / 3.22 GB, free: 22.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007658/7.212, allocations: 414.1 kB / 3.221 GB, free: 22.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/7.212, allocations: 5.406 kB / 3.221 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.212, allocations: 3.562 kB / 3.221 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/7.212, allocations: 68.67 kB / 3.221 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/7.213, allocations: 93.91 kB / 3.221 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/7.214, allocations: 2.424 MB / 3.223 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/7.215, allocations: 33.86 kB / 3.223 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/7.215, allocations: 15.72 kB / 3.223 GB, free: 19.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/7.215, allocations: 166.6 kB / 3.223 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/7.215, allocations: 28.52 kB / 3.223 GB, free: 19.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/7.216, allocations: 0.8733 MB / 3.224 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/7.216, allocations: 7.688 kB / 3.224 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/7.216, allocations: 0 / 3.224 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008432/7.217, allocations: 1.04 MB / 3.225 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/7.219, allocations: 1.498 MB / 3.227 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/7.219, allocations: 0 / 3.227 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/7.219, allocations: 58.64 kB / 3.227 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/7.219, allocations: 81.25 kB / 3.227 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/7.22, allocations: 7.812 kB / 3.227 GB, free: 18.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003993/7.22, allocations: 0.5929 MB / 3.228 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/7.22, allocations: 7.234 kB / 3.228 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/7.221, allocations: 0.8135 MB / 3.228 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/7.221, allocations: 139.5 kB / 3.228 GB, free: 17.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/7.221, allocations: 5.906 kB / 3.228 GB, free: 17.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/7.222, allocations: 46.62 kB / 3.229 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/7.222, allocations: 21.23 kB / 3.229 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/7.222, allocations: 17.53 kB / 3.229 GB, free: 17.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003477/7.222, allocations: 235.8 kB / 3.229 GB, free: 17.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/7.222, allocations: 0 / 3.229 GB, free: 17.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004929/7.227, allocations: 0.8868 MB / 3.23 GB, free: 17.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006761/7.234, allocations: 1.319 MB / 3.231 GB, free: 17.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/7.235, allocations: 477.2 kB / 3.231 GB, free: 17.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/7.235, allocations: 0 / 3.231 GB, free: 17.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/7.235, allocations: 247.8 kB / 3.232 GB, free: 17.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/7.236, allocations: 173.4 kB / 3.232 GB, free: 17.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/7.238, allocations: 1.194 MB / 3.233 GB, free: 16.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/7.239, allocations: 0.8286 MB / 3.234 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004576/7.239, allocations: 189.7 kB / 3.234 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/7.239, allocations: 31.97 kB / 3.234 GB, free: 15.83 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/7.239, allocations: 1.219 kB / 3.234 GB, free: 15.83 MB / 378.7 MB Notification: Performance of Templates: time 0.03967/7.279, allocations: 29.61 MB / 3.263 GB, free: 13.98 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)