Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 195.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 47.92 kB / 278 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2309, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01809/0.249, allocations: 13.74 MB / 338.4 MB, free: 6.406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.2637, allocations: 12.49 MB / 350.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2638, allocations: 4 kB / 350.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.2642, allocations: 59.67 kB / 350.9 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.2645, allocations: 83.48 kB / 351 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0137/0.2782, allocations: 3.996 MB / 355 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.2786, allocations: 270.9 kB / 355.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.2787, allocations: 13.44 kB / 355.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.2791, allocations: 187.3 kB / 355.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2792, allocations: 87.61 kB / 355.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2793, allocations: 4 kB / 355.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.2912, allocations: 6.883 MB / 362.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.2913, allocations: 31.89 kB / 362.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2914, allocations: 63.73 kB / 362.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008224/0.2997, allocations: 3.883 MB / 366.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.2997, allocations: 4 kB / 366.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2997, allocations: 4 kB / 366.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2997, allocations: 0 / 366.4 MB, free: 10.3 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00483/0.3046, allocations: 1.139 MB / 367.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3046, allocations: 12.03 kB / 367.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.3051, allocations: 52.7 kB / 367.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3054, allocations: 216.2 kB / 367.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3054, allocations: 12.36 kB / 367.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.3055, allocations: 24.28 kB / 367.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3068, allocations: 380 kB / 368.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3068, allocations: 4 kB / 368.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.3068, allocations: 15.98 kB / 368.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3068, allocations: 4 kB / 368.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3082, allocations: 351.5 kB / 368.6 MB, free: 7.992 MB / 302.1 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.001376/0.3096, allocations: 1.184 MB / 369.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.3105, allocations: 280.3 kB / 370.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3108, allocations: 114.9 kB / 370.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09106/0.4019, allocations: 47.44 MB / 417.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4019, allocations: 38.56 kB / 417.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.4019, allocations: 4 kB / 417.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.007354/0.4093, allocations: 1.59 MB / 419.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.4094, allocations: 110.8 kB / 419.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4095, allocations: 117.8 kB / 419.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.4096, allocations: 29.7 kB / 419.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4097, allocations: 104.5 kB / 419.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.4098, allocations: 114.4 kB / 419.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4099, allocations: 69.59 kB / 419.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4101, allocations: 326.8 kB / 420.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.4105, allocations: 139.7 kB / 420.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.4109, allocations: 202.5 kB / 420.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.4117, allocations: 342.6 kB / 420.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4117, allocations: 4 kB / 420.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0011/0.4129, allocations: 422 kB / 421.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4129, allocations: 4 kB / 421.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4129, allocations: 8.219 kB / 421.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4132, allocations: 40.83 kB / 421.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.4137, allocations: 87.88 kB / 421.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003877/0.4141, allocations: 0.5522 MB / 421.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.4144, allocations: 28.02 kB / 421.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.4144, allocations: 16 kB / 421.9 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.4146, allocations: 137.8 kB / 422.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.4147, allocations: 15.81 kB / 422.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.4168, allocations: 1.453 MB / 423.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.4168, allocations: 23.91 kB / 423.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4168, allocations: 4.031 kB / 423.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.4168, allocations: 7.984 kB / 423.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/0.4198, allocations: 1.979 MB / 425.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4198, allocations: 4 kB / 425.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.4202, allocations: 87.98 kB / 425.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/0.4206, allocations: 68.7 kB / 425.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.4206, allocations: 15.98 kB / 425.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/0.421, allocations: 0.5875 MB / 426.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4211, allocations: 7.938 kB / 426.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.4234, allocations: 1.693 MB / 428 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.4235, allocations: 132.5 kB / 428.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.4235, allocations: 8 kB / 428.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.4239, allocations: 23.97 kB / 428.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.424, allocations: 31.89 kB / 428.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.4241, allocations: 19.98 kB / 428.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.4241, allocations: 91.27 kB / 428.3 MB, free: 6.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4241, allocations: 4 kB / 428.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002991/0.4271, allocations: 0.9527 MB / 429.3 MB, free: 5.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005759/0.4329, allocations: 1.139 MB / 430.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.4347, allocations: 0.6162 MB / 431 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4347, allocations: 0 / 431 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.4356, allocations: 0.5085 MB / 431.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.4365, allocations: 76.38 kB / 431.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.4392, allocations: 1.491 MB / 433.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.4397, allocations: 0.8217 MB / 433.9 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.4401, allocations: 145.9 kB / 434.1 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.4403, allocations: 31.42 kB / 434.1 MB, free: 292 kB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4403, allocations: 0 / 434.1 MB, free: 292 kB / 366.1 MB Notification: Performance of Templates: time 0.1891/0.6294, allocations: 35.9 MB / 470 MB, free: 107.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)