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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001621/0.001621, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.000452/0.000452, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0305/0.3065, allocations: 27.27 MB / 353.7 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3232, allocations: 13.35 MB / 367.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.3237, allocations: 4 kB / 367.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.3245, allocations: 231 kB / 367.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.3251, allocations: 255.2 kB / 367.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.3415, allocations: 4.531 MB / 372.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.3425, allocations: 0.5583 MB / 372.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3427, allocations: 85.02 kB / 372.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.3492, allocations: 3.278 MB / 376 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3495, allocations: 191.2 kB / 376.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.3496, allocations: 16 kB / 376.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.3616, allocations: 5.935 MB / 382.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3618, allocations: 87.7 kB / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.3621, allocations: 109.5 kB / 382.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.3684, allocations: 2.576 MB / 384.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3685, allocations: 0 / 384.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.17e-06/0.3685, allocations: 0 / 384.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.3685, allocations: 0 / 384.9 MB, free: 8.949 MB / 318.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.00275/0.3713, allocations: 0.9123 MB / 385.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3713, allocations: 12.03 kB / 385.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3728, allocations: 159.4 kB / 386 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3733, allocations: 310.5 kB / 386.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3733, allocations: 32.61 kB / 386.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.3734, allocations: 32 kB / 386.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3746, allocations: 0.5151 MB / 386.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3747, allocations: 7.984 kB / 386.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.3747, allocations: 12 kB / 386.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3748, allocations: 8 kB / 386.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.3754, allocations: 325.9 kB / 387.2 MB, free: 6.512 MB / 318.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.003008/0.3784, allocations: 2.573 MB / 389.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.379, allocations: 282.7 kB / 390.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06408/0.4431, allocations: 31.2 MB / 421.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.4432, allocations: 38.55 kB / 421.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.4432, allocations: 0 / 421.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003593/0.4468, allocations: 1.215 MB / 422.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4469, allocations: 55.41 kB / 422.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4472, allocations: 266.5 kB / 422.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.4472, allocations: 29.7 kB / 422.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.4473, allocations: 188.1 kB / 423 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.4474, allocations: 110.4 kB / 423.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.4475, allocations: 8 kB / 423.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4476, allocations: 338.8 kB / 423.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4477, allocations: 88.83 kB / 423.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.448, allocations: 214.9 kB / 423.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4482, allocations: 135.9 kB / 423.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.4482, allocations: 0 / 423.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007143/0.4489, allocations: 411 kB / 424.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.449, allocations: 8 kB / 424.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.449, allocations: 11.89 kB / 424.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.4493, allocations: 65.62 kB / 424.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.4497, allocations: 87.89 kB / 424.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.4513, allocations: 2.427 MB / 426.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.4516, allocations: 31.89 kB / 426.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.4517, allocations: 16 kB / 427 MB, free: 10.57 MB / 366.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 (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.0002008/0.4519, allocations: 169.7 kB / 427.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.452, allocations: 31.72 kB / 427.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.453, allocations: 0.8668 MB / 428 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.453, allocations: 11.98 kB / 428 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.453, allocations: 0 / 428 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000958/0.454, allocations: 1.049 MB / 429.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.4558, allocations: 1.489 MB / 430.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4559, allocations: 4 kB / 430.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.4561, allocations: 51.91 kB / 430.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.4565, allocations: 76.78 kB / 430.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.4565, allocations: 11.95 kB / 430.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/0.4569, allocations: 0.5914 MB / 431.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4569, allocations: 0 / 431.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.4579, allocations: 0.8197 MB / 432.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.458, allocations: 140.6 kB / 432.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.4581, allocations: 8 kB / 432.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.4584, allocations: 39.97 kB / 432.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.4585, allocations: 19.97 kB / 432.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4585, allocations: 19.98 kB / 432.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.4587, allocations: 231.1 kB / 432.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4588, allocations: 0 / 432.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002781/0.4615, allocations: 0.8551 MB / 433.4 MB, free: 3.855 MB / 366.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 (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.00351/0.4651, allocations: 0.9708 MB / 434.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009942/0.4661, allocations: 480.3 kB / 434.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4661, allocations: 0 / 434.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.4665, allocations: 260.4 kB / 435.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4675, allocations: 176.4 kB / 435.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4691, allocations: 1.188 MB / 436.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4695, allocations: 0.8328 MB / 437.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.47, allocations: 187 kB / 437.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.47, allocations: 31.44 kB / 437.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.47, allocations: 0 / 437.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Templates: time 0.2205/0.6905, allocations: 34.79 MB / 472.3 MB, free: 107.3 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: