Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001293/0.001293, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.301/1.301, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.00174/0.001739, allocations: 99.52 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.881e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07295, allocations: 38.77 MB / 307.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.439, allocations: 2.465 GB / 2.765 GB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.44, allocations: 89.06 kB / 2.765 GB, free: 3.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13/6.57, allocations: 289 MB / 3.047 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/6.57, allocations: 0 / 3.047 GB, free: 10.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/6.57, allocations: 4 kB / 3.047 GB, free: 10.74 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.002631/6.572, allocations: 0.9008 MB / 3.048 GB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/6.572, allocations: 8.031 kB / 3.048 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/6.573, allocations: 79.58 kB / 3.048 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/6.574, allocations: 303.4 kB / 3.049 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/6.574, allocations: 24.78 kB / 3.049 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/6.574, allocations: 28 kB / 3.049 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/6.574, allocations: 451.8 kB / 3.049 GB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/6.574, allocations: 0 / 3.049 GB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/6.574, allocations: 20 kB / 3.049 GB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/6.574, allocations: 12 kB / 3.049 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/6.575, allocations: 321.9 kB / 3.049 GB, free: 8.477 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.00211/6.577, allocations: 2.633 MB / 3.052 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/6.578, allocations: 255.9 kB / 3.052 GB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/6.578, allocations: 112.8 kB / 3.052 GB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2883/6.866, allocations: 15.3 MB / 3.067 GB, free: 42.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/6.866, allocations: 37.47 kB / 3.067 GB, free: 42.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/6.866, allocations: 0 / 3.067 GB, free: 42.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.004048/6.87, allocations: 1.172 MB / 3.068 GB, free: 42.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/6.87, allocations: 54.31 kB / 3.069 GB, free: 42.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/6.87, allocations: 236.5 kB / 3.069 GB, free: 42.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/6.87, allocations: 34.3 kB / 3.069 GB, free: 42.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/6.871, allocations: 192.4 kB / 3.069 GB, free: 42.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.714e-05/6.871, allocations: 108.9 kB / 3.069 GB, free: 42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/6.871, allocations: 7.281 kB / 3.069 GB, free: 42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/6.871, allocations: 345.6 kB / 3.069 GB, free: 41.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/6.871, allocations: 97.75 kB / 3.069 GB, free: 41.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/6.871, allocations: 214.3 kB / 3.07 GB, free: 41.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/6.871, allocations: 130.7 kB / 3.07 GB, free: 41.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/6.871, allocations: 2.172 kB / 3.07 GB, free: 41.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007277/6.872, allocations: 430.6 kB / 3.07 GB, free: 41.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/6.872, allocations: 11.66 kB / 3.07 GB, free: 41.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/6.872, allocations: 4.219 kB / 3.07 GB, free: 41.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/6.876, allocations: 266.3 kB / 3.07 GB, free: 41.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/6.876, allocations: 80.06 kB / 3.071 GB, free: 41.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/6.878, allocations: 1.884 MB / 3.072 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/6.878, allocations: 25.78 kB / 3.072 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/6.878, allocations: 22.56 kB / 3.072 GB, free: 39.7 MB / 362.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): 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.0001007/6.878, allocations: 133.8 kB / 3.073 GB, free: 39.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/6.878, allocations: 32.08 kB / 3.073 GB, free: 39.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/6.879, allocations: 0.9452 MB / 3.074 GB, free: 39.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/6.879, allocations: 10.03 kB / 3.074 GB, free: 39.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/6.879, allocations: 0.9062 kB / 3.074 GB, free: 39.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009555/6.88, allocations: 1.106 MB / 3.075 GB, free: 38.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/6.882, allocations: 1.592 MB / 3.076 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/6.882, allocations: 0.6875 kB / 3.076 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/6.882, allocations: 51.22 kB / 3.076 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/6.884, allocations: 281.7 kB / 3.077 GB, free: 38.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/6.884, allocations: 14.39 kB / 3.077 GB, free: 38.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000376/6.884, allocations: 0.6615 MB / 3.077 GB, free: 38.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/6.884, allocations: 0 / 3.077 GB, free: 38.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/6.885, allocations: 0.9547 MB / 3.078 GB, free: 37.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/6.885, allocations: 135.5 kB / 3.078 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/6.886, allocations: 6.938 kB / 3.078 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/6.886, allocations: 22.7 kB / 3.078 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/6.886, allocations: 21.28 kB / 3.078 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/6.886, allocations: 16.81 kB / 3.078 GB, free: 37.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001997/6.886, allocations: 234.8 kB / 3.079 GB, free: 37.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/6.886, allocations: 0 / 3.079 GB, free: 37.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002761/6.889, allocations: 0.5405 MB / 3.079 GB, free: 37.66 MB / 362.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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002188/6.891, allocations: 0.8476 MB / 3.08 GB, free: 37.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000772/6.892, allocations: 0.5072 MB / 3.08 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.892, allocations: 1.422 kB / 3.08 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/6.892, allocations: 292.9 kB / 3.081 GB, free: 37.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/6.893, allocations: 189.8 kB / 3.081 GB, free: 37.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/6.894, allocations: 0.7568 MB / 3.082 GB, free: 37.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/6.894, allocations: 0.8272 MB / 3.082 GB, free: 36.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002934/6.895, allocations: 109.1 kB / 3.082 GB, free: 36.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/6.895, allocations: 35.59 kB / 3.083 GB, free: 36.53 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/6.895, allocations: 0 / 3.083 GB, free: 36.53 MB / 362.7 MB Notification: Performance of Templates: time 0.0303/6.925, allocations: 23.71 MB / 3.106 GB, free: 35.82 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)