Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00909/0.00909, allocations: 103.8 kB / 15.73 MB, free: 6.035 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.001797/0.001797, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.00119/0.00119, allocations: 61.88 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.09014, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03307/0.1232, allocations: 32.58 MB / 405.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.142, allocations: 15.72 MB / 421.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.1425, allocations: 8 kB / 421.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.1434, allocations: 270.4 kB / 421.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.1442, allocations: 365.9 kB / 422.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01652/0.1607, allocations: 5.78 MB / 427.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1622, allocations: 1.013 MB / 428.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1625, allocations: 113 kB / 429 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005261/0.1677, allocations: 2.189 MB / 431.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.1682, allocations: 306.8 kB / 431.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.1683, allocations: 40 kB / 431.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.1801, allocations: 6.08 MB / 437.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1803, allocations: 111.7 kB / 437.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.1807, allocations: 231.2 kB / 438 MB, free: 288 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008809/0.1895, allocations: 3.793 MB / 441.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1896, allocations: 0 / 441.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1896, allocations: 0 / 441.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1896, allocations: 0 / 441.8 MB, free: 12.48 MB / 382.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.00261/0.1922, allocations: 0.9905 MB / 442.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1923, allocations: 8.031 kB / 442.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.1937, allocations: 152.3 kB / 442.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.1943, allocations: 339.5 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1943, allocations: 21.03 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.1944, allocations: 32.38 kB / 443.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1957, allocations: 0.5151 MB / 443.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1958, allocations: 7.922 kB / 443.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1958, allocations: 12 kB / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1958, allocations: 11.94 kB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.1965, allocations: 325.9 kB / 444.2 MB, free: 9.961 MB / 382.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.00298/0.1995, allocations: 2.553 MB / 446.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.2001, allocations: 274.7 kB / 447 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2003, allocations: 116.8 kB / 447.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2653/0.4657, allocations: 31.01 MB / 478.1 MB, free: 57.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4657, allocations: 44.66 kB / 478.2 MB, free: 57.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.894e-06/0.4657, allocations: 0 / 478.2 MB, free: 57.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003436/0.4692, allocations: 1.193 MB / 479.4 MB, free: 57.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4692, allocations: 55.38 kB / 479.4 MB, free: 56.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.4696, allocations: 257 kB / 479.7 MB, free: 56.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.4696, allocations: 37.67 kB / 479.7 MB, free: 56.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4697, allocations: 193.4 kB / 479.9 MB, free: 56.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.4698, allocations: 113.8 kB / 480 MB, free: 56.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4699, allocations: 73.58 kB / 480.1 MB, free: 56.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.47, allocations: 345.7 kB / 480.4 MB, free: 56.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.4702, allocations: 87.66 kB / 480.5 MB, free: 56.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.4705, allocations: 213.9 kB / 480.7 MB, free: 55.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.471, allocations: 342.9 kB / 481 MB, free: 55.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.471, allocations: 0 / 481 MB, free: 55.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008588/0.4719, allocations: 408.5 kB / 481.4 MB, free: 55.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4719, allocations: 9.312 kB / 481.4 MB, free: 55.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.472, allocations: 7.672 kB / 481.5 MB, free: 55.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.4723, allocations: 63.97 kB / 481.5 MB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.4728, allocations: 87.59 kB / 481.6 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.4742, allocations: 2.526 MB / 484.1 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.4745, allocations: 26.02 kB / 484.2 MB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.4745, allocations: 14.84 kB / 484.2 MB, free: 52.75 MB / 382.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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.4748, allocations: 156.8 kB / 484.3 MB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4749, allocations: 34.53 kB / 484.4 MB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.4761, allocations: 0.8619 MB / 485.2 MB, free: 52.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4762, allocations: 8.109 kB / 485.2 MB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4762, allocations: 4 kB / 485.2 MB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008829/0.4771, allocations: 1.04 MB / 486.3 MB, free: 50.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4788, allocations: 1.49 MB / 487.8 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4788, allocations: 0 / 487.8 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.4791, allocations: 51.92 kB / 487.8 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.4795, allocations: 79.52 kB / 487.9 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4795, allocations: 6.062 kB / 487.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003135/0.4798, allocations: 0.599 MB / 488.5 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4799, allocations: 0.875 kB / 488.5 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4809, allocations: 0.821 MB / 489.3 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.481, allocations: 108.7 kB / 489.4 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.4811, allocations: 15.84 kB / 489.4 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4815, allocations: 27.91 kB / 489.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.4815, allocations: 19.97 kB / 489.5 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.4816, allocations: 12 kB / 489.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.4818, allocations: 239 kB / 489.7 MB, free: 47.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.4818, allocations: 64 / 489.7 MB, free: 47.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003197/0.485, allocations: 0.8575 MB / 490.6 MB, free: 46.55 MB / 382.1 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 () * Number of clocked 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 (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.005123/0.4902, allocations: 0.9686 MB / 491.6 MB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4916, allocations: 495.3 kB / 492 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4916, allocations: 4 kB / 492 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.492, allocations: 240.4 kB / 492.3 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.4935, allocations: 189.9 kB / 492.5 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4952, allocations: 0.9819 MB / 493.4 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4954, allocations: 0.8211 MB / 494.3 MB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004231/0.4959, allocations: 179.8 kB / 494.4 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.496, allocations: 39.44 kB / 494.5 MB, free: 42.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.496, allocations: 0 / 494.5 MB, free: 42.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03636/0.5323, allocations: 34.86 MB / 0.5169 GB, free: 7.926 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)