Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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.001055/0.001055, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3435/0.3435, allocations: 39.93 MB / 309.4 MB, free: 9.301 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 71.88 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 56.88 MB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3231/0.466, allocations: 39.48 MB / 473.5 MB, free: 31.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4859, allocations: 20.28 MB / 493.8 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.4873, allocations: 31.44 kB / 493.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.4887, allocations: 394.1 kB / 494.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01644/0.5051, allocations: 4.549 MB / 498.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.5152, allocations: 2.329 MB / 0.4893 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004086/0.5193, allocations: 2.008 MB / 0.4913 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.5203, allocations: 499.5 kB / 0.4918 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.5317, allocations: 4.151 MB / 0.4958 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.5443, allocations: 5.475 MB / 0.5012 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.5447, allocations: 72.16 kB / 0.5012 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.5639, allocations: 7.276 MB / 0.5083 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.5647, allocations: 291 kB / 0.5086 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009056/0.5656, allocations: 458.4 kB / 0.509 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.5825, allocations: 5.132 MB / 0.5141 GB, free: 2.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5826, allocations: 0 / 0.5141 GB, free: 2.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5826, allocations: 0 / 0.5141 GB, free: 2.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5826, allocations: 0 / 0.5141 GB, free: 2.938 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006609/0.5892, allocations: 1.666 MB / 0.5157 GB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.911e-05/0.5893, allocations: 9.969 kB / 0.5157 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.5918, allocations: 310.2 kB / 0.516 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.593, allocations: 0.555 MB / 0.5165 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.5932, allocations: 119.3 kB / 0.5166 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5933, allocations: 54.94 kB / 0.5167 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.5963, allocations: 1.168 MB / 0.5178 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.5964, allocations: 5.688 kB / 0.5178 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.5965, allocations: 28.98 kB / 0.5179 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.5966, allocations: 41.05 kB / 0.5179 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5984, allocations: 0.8476 MB / 0.5187 GB, free: 15.79 MB / 398.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.008302/0.6068, allocations: 5.497 MB / 0.5241 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6082, allocations: 0.5777 MB / 0.5247 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.6086, allocations: 220 kB / 0.5249 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09436/0.7029, allocations: 46.21 MB / 0.57 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.458e-05/0.7031, allocations: 42.5 kB / 0.57 GB, free: 7.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.096e-06/0.7031, allocations: 0 / 0.57 GB, free: 7.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.006445/0.7095, allocations: 1.916 MB / 0.5719 GB, free: 5.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.7097, allocations: 166.2 kB / 0.5721 GB, free: 5.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.7106, allocations: 0.621 MB / 0.5727 GB, free: 5.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.7107, allocations: 33.7 kB / 0.5727 GB, free: 5.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.711, allocations: 399.1 kB / 0.5731 GB, free: 4.715 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.7112, allocations: 169.7 kB / 0.5733 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.7115, allocations: 158.5 kB / 0.5734 GB, free: 4.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7117, allocations: 374.8 kB / 0.5738 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.7121, allocations: 225.9 kB / 0.574 GB, free: 3.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.7127, allocations: 0.5718 MB / 0.5745 GB, free: 3.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7139, allocations: 0.8368 MB / 0.5754 GB, free: 2.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.7139, allocations: 0.5 kB / 0.5754 GB, free: 2.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001499/0.7154, allocations: 0.8747 MB / 0.5762 GB, free: 1.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.7155, allocations: 8 kB / 0.5762 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.7155, allocations: 15.98 kB / 0.5762 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.7159, allocations: 65.52 kB / 0.5763 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7171, allocations: 279.6 kB / 0.5766 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.7189, allocations: 2.074 MB / 0.5786 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008563/0.7198, allocations: 67.75 kB / 0.5787 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.7199, allocations: 44.03 kB / 0.5787 GB, free: 14.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004878/0.7204, allocations: 269.5 kB / 0.5789 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.7206, allocations: 67.25 kB / 0.579 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.7233, allocations: 2.22 MB / 0.5812 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.7233, allocations: 31.95 kB / 0.5812 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7234, allocations: 7.875 kB / 0.5812 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.7234, allocations: 7.922 kB / 0.5812 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.7277, allocations: 3.273 MB / 0.5844 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7277, allocations: 7.922 kB / 0.5844 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.7286, allocations: 195.7 kB / 0.5846 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.729, allocations: 92.69 kB / 0.5847 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.729, allocations: 12 kB / 0.5847 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.7306, allocations: 2.094 MB / 0.5868 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7306, allocations: 1.5 kB / 0.5868 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.733, allocations: 1.978 MB / 0.5887 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.7335, allocations: 243.5 kB / 0.5889 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.7337, allocations: 31.67 kB / 0.589 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.7344, allocations: 52.11 kB / 0.589 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.7345, allocations: 32.39 kB / 0.589 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.7346, allocations: 23.98 kB / 0.5891 GB, free: 3.551 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.7353, allocations: 0.5146 MB / 0.5896 GB, free: 3.035 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7353, allocations: 0 / 0.5896 GB, free: 3.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005699/0.741, allocations: 1.082 MB / 0.5906 GB, free: 1.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008929/0.75, allocations: 1.223 MB / 0.5918 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.7533, allocations: 1.025 MB / 0.5928 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7533, allocations: 0 / 0.5928 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7547, allocations: 0.6755 MB / 0.5935 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.7581, allocations: 390.6 kB / 0.5938 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.7629, allocations: 2.686 MB / 0.5965 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/0.7639, allocations: 1.113 MB / 0.5976 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.7651, allocations: 445.8 kB / 0.598 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.7653, allocations: 63.44 kB / 0.598 GB, free: 10.29 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.7654, allocations: 4 kB / 0.598 GB, free: 10.29 MB / 478.1 MB Notification: Performance of Templates: time 0.311/1.076, allocations: 45.79 MB / 0.6428 GB, free: 154.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)