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.001572/0.001573, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.284/1.284, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001514/0.001514, allocations: 111.5 kB / 218 MB, free: 8.422 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.337e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07216/0.07219, allocations: 38.76 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.535/5.608, allocations: 2.466 GB / 2.76 GB, free: 30.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/5.608, allocations: 83.95 kB / 2.76 GB, free: 30.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486/7.094, allocations: 415.3 MB / 3.165 GB, free: 36.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/7.094, allocations: 0 / 3.165 GB, free: 36.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/7.094, allocations: 7.781 kB / 3.165 GB, free: 36.72 MB / 362.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.005542/7.099, allocations: 1.186 MB / 3.166 GB, free: 35.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/7.099, allocations: 14.14 kB / 3.166 GB, free: 35.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/7.101, allocations: 157.3 kB / 3.167 GB, free: 35.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/7.102, allocations: 314.4 kB / 3.167 GB, free: 35.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/7.102, allocations: 9.25 kB / 3.167 GB, free: 35.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/7.102, allocations: 22.06 kB / 3.167 GB, free: 35.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004294/7.102, allocations: 246.1 kB / 3.167 GB, free: 35.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/7.103, allocations: 360.6 kB / 3.167 GB, free: 35.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/7.103, allocations: 0 / 3.167 GB, free: 35.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/7.103, allocations: 0 / 3.167 GB, free: 35.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/7.103, allocations: 14.06 kB / 3.167 GB, free: 35.35 MB / 362.7 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.05685/7.16, allocations: 33.2 MB / 3.2 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/7.16, allocations: 201 kB / 3.2 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/7.16, allocations: 97.8 kB / 3.2 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3189/7.479, allocations: 30.86 MB / 3.23 GB, free: 53.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/7.479, allocations: 39.58 kB / 3.23 GB, free: 53.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/7.479, allocations: 0 / 3.23 GB, free: 53.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002868/7.482, allocations: 0.9128 MB / 3.231 GB, free: 53.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/7.482, allocations: 56.53 kB / 3.231 GB, free: 53.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/7.483, allocations: 204.6 kB / 3.231 GB, free: 53.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/7.483, allocations: 25.7 kB / 3.231 GB, free: 53.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/7.483, allocations: 201.6 kB / 3.232 GB, free: 53.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/7.483, allocations: 101.5 kB / 3.232 GB, free: 53.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/7.483, allocations: 0 / 3.232 GB, free: 53.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/7.483, allocations: 332.9 kB / 3.232 GB, free: 52.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/7.483, allocations: 81.8 kB / 3.232 GB, free: 52.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/7.483, allocations: 205 kB / 3.232 GB, free: 52.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/7.484, allocations: 120.2 kB / 3.232 GB, free: 52.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.484, allocations: 4.219 kB / 3.232 GB, free: 52.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007779/7.485, allocations: 380.5 kB / 3.233 GB, free: 52.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/7.485, allocations: 7.25 kB / 3.233 GB, free: 52.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.485, allocations: 4.938 kB / 3.233 GB, free: 52.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/7.485, allocations: 60.58 kB / 3.233 GB, free: 52.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/7.485, allocations: 87.31 kB / 3.233 GB, free: 52.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/7.486, allocations: 2.382 MB / 3.235 GB, free: 50.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/7.487, allocations: 29.16 kB / 3.235 GB, free: 50.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/7.487, allocations: 16.53 kB / 3.235 GB, free: 50.45 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 () * 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.0001073/7.487, allocations: 114.8 kB / 3.235 GB, free: 50.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/7.487, allocations: 29.34 kB / 3.236 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009963/7.488, allocations: 0.7477 MB / 3.236 GB, free: 50.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/7.488, allocations: 20.73 kB / 3.236 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/7.488, allocations: 0.8125 kB / 3.236 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009333/7.489, allocations: 0.9702 MB / 3.237 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/7.49, allocations: 1.312 MB / 3.239 GB, free: 49.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/7.491, allocations: 9.609 kB / 3.239 GB, free: 49.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/7.491, allocations: 50.61 kB / 3.239 GB, free: 49.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/7.491, allocations: 69.05 kB / 3.239 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/7.491, allocations: 6.594 kB / 3.239 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/7.491, allocations: 0.6142 MB / 3.239 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/7.491, allocations: 0.5 kB / 3.239 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/7.493, allocations: 0.8129 MB / 3.24 GB, free: 48.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/7.493, allocations: 108.1 kB / 3.24 GB, free: 48.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/7.493, allocations: 7.812 kB / 3.24 GB, free: 48.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/7.493, allocations: 42.78 kB / 3.24 GB, free: 48.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/7.493, allocations: 17.67 kB / 3.24 GB, free: 48.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/7.493, allocations: 19.27 kB / 3.24 GB, free: 48.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001596/7.494, allocations: 150.9 kB / 3.24 GB, free: 48.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/7.494, allocations: 0 / 3.24 GB, free: 48.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005493/7.499, allocations: 0.8648 MB / 3.241 GB, free: 48.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * 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 (30): * Single equations (assignments): 27 * 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.005096/7.504, allocations: 1.402 MB / 3.243 GB, free: 48.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009737/7.505, allocations: 459.8 kB / 3.243 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/7.505, allocations: 1.188 kB / 3.243 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/7.506, allocations: 234.9 kB / 3.243 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/7.507, allocations: 149.6 kB / 3.243 GB, free: 48.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/7.508, allocations: 0.6828 MB / 3.244 GB, free: 48.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/7.508, allocations: 0.8192 MB / 3.245 GB, free: 47.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000403/7.508, allocations: 201.6 kB / 3.245 GB, free: 47.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/7.508, allocations: 29.22 kB / 3.245 GB, free: 47.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.934e-06/7.508, allocations: 5.938 kB / 3.245 GB, free: 47.31 MB / 378.7 MB Notification: Performance of Templates: time 0.03532/7.544, allocations: 25.34 MB / 3.27 GB, free: 46.84 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)