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.0008769/0.000877, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005471/0.005472, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004748/0.0004749, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03462/0.2863, allocations: 32.5 MB / 359.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.3056, allocations: 16.42 MB / 376 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.306, allocations: 4 kB / 376 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.3068, allocations: 238.8 kB / 376.2 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.3076, allocations: 354.2 kB / 376.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01552/0.3231, allocations: 4.676 MB / 381.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.3254, allocations: 1.453 MB / 382.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.3257, allocations: 77.03 kB / 382.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/0.331, allocations: 2.13 MB / 384.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.3317, allocations: 302.8 kB / 385.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.3318, allocations: 16 kB / 385.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.3439, allocations: 6.005 MB / 391.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.3442, allocations: 91.7 kB / 391.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.3446, allocations: 224.9 kB / 391.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006996/0.3516, allocations: 3.769 MB / 395.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3516, allocations: 4 kB / 395.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3516, allocations: 4 kB / 395.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3516, allocations: 0 / 395.3 MB, free: 14.9 MB / 334.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.0021/0.3537, allocations: 0.9084 MB / 396.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3538, allocations: 8.031 kB / 396.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3551, allocations: 164.3 kB / 396.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.3554, allocations: 323.6 kB / 396.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3555, allocations: 21.03 kB / 396.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.3555, allocations: 36.12 kB / 396.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3568, allocations: 0.5269 MB / 397.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3568, allocations: 4 kB / 397.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.3569, allocations: 12 kB / 397.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3569, allocations: 8 kB / 397.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.3575, allocations: 325.9 kB / 397.6 MB, free: 12.46 MB / 334.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.002741/0.3602, allocations: 2.573 MB / 400.2 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.3608, allocations: 270.8 kB / 400.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.361, allocations: 116.8 kB / 400.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06377/0.4248, allocations: 31.19 MB / 431.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4248, allocations: 38.56 kB / 431.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.4248, allocations: 0 / 431.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003357/0.4282, allocations: 1.218 MB / 433 MB, free: 5.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.4282, allocations: 55.39 kB / 433.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.4285, allocations: 258.6 kB / 433.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.4286, allocations: 37.64 kB / 433.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4287, allocations: 196 kB / 433.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.4288, allocations: 102.5 kB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.4288, allocations: 41.69 kB / 433.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.429, allocations: 342.8 kB / 434 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4291, allocations: 92.84 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4294, allocations: 210.9 kB / 434.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.4298, allocations: 350.3 kB / 434.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4298, allocations: 0 / 434.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007004/0.4305, allocations: 418.5 kB / 435.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4305, allocations: 8 kB / 435.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4305, allocations: 4 kB / 435.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.4308, allocations: 62.19 kB / 435.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.4312, allocations: 91.83 kB / 435.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.4328, allocations: 2.426 MB / 437.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.433, allocations: 36.17 kB / 437.7 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4331, allocations: 19.94 kB / 437.7 MB, free: 104 kB / 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 (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.0001851/0.4333, allocations: 157.8 kB / 437.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.4334, allocations: 35.62 kB / 437.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/0.4343, allocations: 0.8655 MB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4344, allocations: 7.984 kB / 438.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4344, allocations: 0 / 438.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009091/0.4353, allocations: 1.048 MB / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.4369, allocations: 1.482 MB / 441.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4369, allocations: 3.938 kB / 441.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.4372, allocations: 51.97 kB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.4375, allocations: 76.73 kB / 441.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.4376, allocations: 11.98 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003766/0.4379, allocations: 0.603 MB / 442 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.438, allocations: 0 / 442 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.4389, allocations: 0.8196 MB / 442.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.439, allocations: 136.5 kB / 443 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.4391, allocations: 7.984 kB / 443 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.4394, allocations: 48.03 kB / 443 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4395, allocations: 19.92 kB / 443.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4395, allocations: 15.98 kB / 443.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4398, allocations: 239 kB / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4398, allocations: 0 / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00282/0.4426, allocations: 0.8589 MB / 444.2 MB, free: 9.375 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.003266/0.4459, allocations: 0.9552 MB / 445.1 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.4469, allocations: 486.8 kB / 445.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4469, allocations: 0 / 445.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.4473, allocations: 252.4 kB / 445.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.4485, allocations: 185.4 kB / 446 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.4502, allocations: 1.223 MB / 447.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.4506, allocations: 0.8172 MB / 448.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000416/0.451, allocations: 186.9 kB / 448.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.4511, allocations: 35.44 kB / 448.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4511, allocations: 0 / 448.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of Templates: time 0.2089/0.66, allocations: 34.43 MB / 482.7 MB, free: 96.52 MB / 382.1 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)