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.001392/0.001392, allocations: 169.8 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.145/1.145, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001931/0.001932, allocations: 114.7 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.651e-05, allocations: 7.984 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07308, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.403/5.476, allocations: 2.466 GB / 2.767 GB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/5.476, allocations: 87.94 kB / 2.767 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497/6.973, allocations: 419 MB / 3.176 GB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/6.973, allocations: 0 / 3.176 GB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/6.973, allocations: 8 kB / 3.176 GB, free: 14.19 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.004546/6.978, allocations: 1.182 MB / 3.177 GB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/6.978, allocations: 11.97 kB / 3.177 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/6.979, allocations: 158.7 kB / 3.177 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/6.98, allocations: 324.9 kB / 3.178 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/6.98, allocations: 20.78 kB / 3.178 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/6.98, allocations: 39.56 kB / 3.178 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/6.981, allocations: 0.5391 MB / 3.178 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/6.981, allocations: 0 / 3.178 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/6.981, allocations: 15.88 kB / 3.178 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/6.981, allocations: 8 kB / 3.178 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/6.981, allocations: 334 kB / 3.178 GB, free: 11.49 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.002476/6.984, allocations: 2.572 MB / 3.181 GB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/6.984, allocations: 278.8 kB / 3.181 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/6.985, allocations: 113.2 kB / 3.181 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3105/7.295, allocations: 30.87 MB / 3.212 GB, free: 51.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/7.295, allocations: 39.97 kB / 3.212 GB, free: 51.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.973e-06/7.295, allocations: 0 / 3.212 GB, free: 51.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003093/7.298, allocations: 1.086 MB / 3.213 GB, free: 51.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/7.298, allocations: 55.12 kB / 3.213 GB, free: 51.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/7.299, allocations: 235.5 kB / 3.213 GB, free: 51.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/7.299, allocations: 30.67 kB / 3.213 GB, free: 51.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/7.299, allocations: 193.5 kB / 3.213 GB, free: 50.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/7.299, allocations: 109.5 kB / 3.213 GB, free: 50.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/7.299, allocations: 8.344 kB / 3.213 GB, free: 50.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/7.299, allocations: 344.1 kB / 3.214 GB, free: 50.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/7.299, allocations: 85.38 kB / 3.214 GB, free: 50.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/7.299, allocations: 208.2 kB / 3.214 GB, free: 50.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/7.3, allocations: 127.8 kB / 3.214 GB, free: 50.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/7.3, allocations: 4.906 kB / 3.214 GB, free: 50.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006464/7.3, allocations: 418.6 kB / 3.214 GB, free: 50.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/7.3, allocations: 9.844 kB / 3.214 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/7.3, allocations: 3.438 kB / 3.214 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/7.301, allocations: 59.69 kB / 3.214 GB, free: 50.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/7.301, allocations: 89.42 kB / 3.214 GB, free: 50.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/7.302, allocations: 2.42 MB / 3.217 GB, free: 47.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/7.302, allocations: 32.91 kB / 3.217 GB, free: 47.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/7.302, allocations: 24.28 kB / 3.217 GB, free: 47.98 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 9.218e-05/7.302, allocations: 128.6 kB / 3.217 GB, free: 47.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/7.303, allocations: 26.88 kB / 3.217 GB, free: 47.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/7.304, allocations: 0.8735 MB / 3.218 GB, free: 47.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/7.304, allocations: 9.656 kB / 3.218 GB, free: 47.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/7.304, allocations: 0 / 3.218 GB, free: 47.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009651/7.305, allocations: 1.038 MB / 3.219 GB, free: 47.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/7.307, allocations: 1.491 MB / 3.22 GB, free: 46.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/7.307, allocations: 0 / 3.22 GB, free: 46.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/7.307, allocations: 52.31 kB / 3.22 GB, free: 46.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/7.307, allocations: 71.83 kB / 3.221 GB, free: 46.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/7.307, allocations: 7.641 kB / 3.221 GB, free: 46.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003123/7.308, allocations: 0.5944 MB / 3.221 GB, free: 46.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.308, allocations: 8.188 kB / 3.221 GB, free: 46.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/7.309, allocations: 0.8095 MB / 3.222 GB, free: 46.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/7.309, allocations: 131.5 kB / 3.222 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/7.309, allocations: 7.922 kB / 3.222 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/7.309, allocations: 43.73 kB / 3.222 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/7.309, allocations: 25.22 kB / 3.222 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/7.309, allocations: 16.67 kB / 3.222 GB, free: 46.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002756/7.31, allocations: 236.5 kB / 3.222 GB, free: 45.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/7.31, allocations: 0 / 3.222 GB, free: 45.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004936/7.315, allocations: 0.8888 MB / 3.223 GB, free: 45.95 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 () * 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.006759/7.321, allocations: 1.318 MB / 3.224 GB, free: 45.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/7.323, allocations: 484.4 kB / 3.225 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/7.323, allocations: 0 / 3.225 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/7.323, allocations: 245 kB / 3.225 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/7.324, allocations: 182.7 kB / 3.225 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/7.325, allocations: 0.7224 MB / 3.226 GB, free: 45.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/7.325, allocations: 0.8306 MB / 3.227 GB, free: 44.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003911/7.326, allocations: 179.7 kB / 3.227 GB, free: 44.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/7.326, allocations: 39.2 kB / 3.227 GB, free: 44.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/7.326, allocations: 0 / 3.227 GB, free: 44.86 MB / 378.7 MB Notification: Performance of Templates: time 0.04194/7.368, allocations: 31.56 MB / 3.258 GB, free: 44.05 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)