Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009917/0.0009916, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.306/1.306, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001773/0.001773, allocations: 119.3 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.44e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.384/6.485, allocations: 2.574 GB / 2.908 GB, free: 1.727 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/6.485, allocations: 88.75 kB / 2.908 GB, free: 1.641 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.184/7.669, allocations: 294.1 MB / 3.195 GB, free: 15.32 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.323e-06/7.669, allocations: 3.938 kB / 3.195 GB, free: 15.31 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/7.669, allocations: 12 kB / 3.195 GB, free: 15.3 MB / 395.1 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.003088/7.672, allocations: 0.9079 MB / 3.196 GB, free: 14.35 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/7.672, allocations: 8.031 kB / 3.196 GB, free: 14.34 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/7.673, allocations: 90.75 kB / 3.196 GB, free: 14.25 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/7.673, allocations: 298.3 kB / 3.197 GB, free: 13.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/7.673, allocations: 12 kB / 3.197 GB, free: 13.91 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/7.673, allocations: 16 kB / 3.197 GB, free: 13.9 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00037/7.674, allocations: 237.5 kB / 3.197 GB, free: 13.66 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/7.674, allocations: 356.9 kB / 3.197 GB, free: 13.27 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/7.674, allocations: 4 kB / 3.197 GB, free: 13.27 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/7.674, allocations: 0 / 3.197 GB, free: 13.27 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/7.674, allocations: 11.94 kB / 3.197 GB, free: 13.26 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.2595/7.934, allocations: 17.75 MB / 3.215 GB, free: 44.18 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/7.934, allocations: 182.9 kB / 3.215 GB, free: 44.16 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/7.934, allocations: 86.89 kB / 3.215 GB, free: 44.15 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02786/7.962, allocations: 15.37 MB / 3.23 GB, free: 35.05 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/7.962, allocations: 42.39 kB / 3.23 GB, free: 35.02 MB / 395.1 MB Notification: Performance of pre-optimization done (n=23): time 2.595e-06/7.962, allocations: 0 / 3.23 GB, free: 35.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=28): time 0.004339/7.966, allocations: 1.141 MB / 3.231 GB, free: 34.71 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/7.967, allocations: 58.08 kB / 3.231 GB, free: 34.64 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/7.967, allocations: 208.4 kB / 3.231 GB, free: 34.55 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/7.967, allocations: 25.7 kB / 3.231 GB, free: 34.52 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/7.967, allocations: 212 kB / 3.232 GB, free: 34.39 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/7.967, allocations: 96.09 kB / 3.232 GB, free: 34.34 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/7.967, allocations: 2.781 kB / 3.232 GB, free: 34.34 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/7.967, allocations: 336.6 kB / 3.232 GB, free: 34.02 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/7.967, allocations: 84.22 kB / 3.232 GB, free: 34.02 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/7.967, allocations: 205.6 kB / 3.232 GB, free: 33.88 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/7.968, allocations: 231.6 kB / 3.232 GB, free: 33.88 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/7.968, allocations: 0 / 3.232 GB, free: 33.88 MB / 395.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001367/7.97, allocations: 481.7 kB / 3.233 GB, free: 33.82 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/7.97, allocations: 7.812 kB / 3.233 GB, free: 33.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/7.97, allocations: 6.141 kB / 3.233 GB, free: 33.81 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/7.97, allocations: 70 kB / 3.233 GB, free: 33.8 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/7.97, allocations: 85.66 kB / 3.233 GB, free: 33.8 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/7.972, allocations: 1.915 MB / 3.235 GB, free: 32.09 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/7.972, allocations: 23.83 kB / 3.235 GB, free: 32.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/7.973, allocations: 21.19 kB / 3.235 GB, free: 32.09 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001408/7.973, allocations: 122.4 kB / 3.235 GB, free: 31.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/7.973, allocations: 26.72 kB / 3.235 GB, free: 31.96 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/7.974, allocations: 0.8136 MB / 3.236 GB, free: 31.87 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/7.974, allocations: 11.84 kB / 3.236 GB, free: 31.87 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/7.974, allocations: 2.938 kB / 3.236 GB, free: 31.87 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009528/7.975, allocations: 1.031 MB / 3.237 GB, free: 31.38 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/7.977, allocations: 1.387 MB / 3.238 GB, free: 31.02 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/7.977, allocations: 2.969 kB / 3.238 GB, free: 31.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/7.977, allocations: 42.3 kB / 3.238 GB, free: 31.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/7.977, allocations: 103.3 kB / 3.238 GB, free: 31 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/7.977, allocations: 6.844 kB / 3.238 GB, free: 31 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/7.978, allocations: 0.7194 MB / 3.239 GB, free: 30.48 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.978, allocations: 1.031 kB / 3.239 GB, free: 30.48 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/7.979, allocations: 0.9039 MB / 3.24 GB, free: 30.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/7.979, allocations: 109.7 kB / 3.24 GB, free: 30.16 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/7.979, allocations: 6.656 kB / 3.24 GB, free: 30.16 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/7.979, allocations: 14.62 kB / 3.24 GB, free: 30.16 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/7.979, allocations: 22.81 kB / 3.24 GB, free: 30.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/7.979, allocations: 9.219 kB / 3.24 GB, free: 30.16 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001372/7.979, allocations: 163.5 kB / 3.24 GB, free: 30.09 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/7.979, allocations: 0 / 3.24 GB, free: 30.09 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002852/7.982, allocations: 0.5112 MB / 3.241 GB, free: 30.09 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004671/7.987, allocations: 0.9329 MB / 3.242 GB, free: 29.99 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0008439/7.988, allocations: 492.8 kB / 3.242 GB, free: 29.88 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/7.988, allocations: 0 / 3.242 GB, free: 29.88 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/7.988, allocations: 281.5 kB / 3.242 GB, free: 29.88 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/7.989, allocations: 140.7 kB / 3.243 GB, free: 29.87 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/7.99, allocations: 0.7106 MB / 3.243 GB, free: 29.68 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/7.991, allocations: 0.8152 MB / 3.244 GB, free: 28.99 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0003801/7.991, allocations: 132.7 kB / 3.244 GB, free: 28.99 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/7.991, allocations: 30.88 kB / 3.244 GB, free: 28.98 MB / 395.1 MB Notification: Performance of SimCode: time 8.82e-07/7.991, allocations: 0 / 3.244 GB, free: 28.98 MB / 395.1 MB Notification: Performance of Templates: time 0.02935/8.02, allocations: 17.82 MB / 3.262 GB, free: 28.16 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)