Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.00096/0.0009599, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001125/0.001125, allocations: 172.7 kB / 15.95 MB, free: 208 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.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3094/0.3094, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.1. 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.0005739/0.0005739, allocations: 16 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1197, allocations: 57.52 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2387/0.3584, allocations: 36.63 MB / 470.6 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.3748, allocations: 18.85 MB / 489.5 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.3758, allocations: 21.59 kB / 489.5 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.3768, allocations: 375.3 kB / 489.8 MB, free: 22.57 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01222/0.3891, allocations: 4.065 MB / 493.9 MB, free: 20.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.3942, allocations: 2.022 MB / 495.9 MB, free: 19.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.3962, allocations: 2.382 MB / 498.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.3967, allocations: 417.2 kB / 498.7 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00962/0.4063, allocations: 6.419 MB / 0.4933 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01368/0.4201, allocations: 9.102 MB / 0.5022 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.4204, allocations: 39.47 kB / 0.5022 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.4334, allocations: 6.935 MB / 0.509 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.4339, allocations: 253 kB / 0.5092 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.4343, allocations: 186.2 kB / 0.5094 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.4402, allocations: 3.482 MB / 0.5128 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4402, allocations: 0 / 0.5128 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4402, allocations: 4 kB / 0.5128 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4402, allocations: 0 / 0.5128 GB, free: 12.68 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.003278/0.4435, allocations: 1.502 MB / 0.5143 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4436, allocations: 11.97 kB / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.4454, allocations: 314.8 kB / 0.5146 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.446, allocations: 0.5395 MB / 0.5151 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.4461, allocations: 108.7 kB / 0.5152 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.4462, allocations: 59.98 kB / 0.5153 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.448, allocations: 1.168 MB / 0.5164 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4481, allocations: 7.938 kB / 0.5164 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.4481, allocations: 24 kB / 0.5165 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.4482, allocations: 45.28 kB / 0.5165 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.4495, allocations: 0.8479 MB / 0.5173 GB, free: 7.863 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.004041/0.4536, allocations: 5.513 MB / 0.5227 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/0.4545, allocations: 0.5718 MB / 0.5233 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.4548, allocations: 241.5 kB / 0.5235 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08769/0.5425, allocations: 46.6 MB / 0.569 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.852e-05/0.5426, allocations: 46.55 kB / 0.5691 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.5427, allocations: 0 / 0.5691 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005236/0.5479, allocations: 1.958 MB / 0.571 GB, free: 11.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.548, allocations: 158.2 kB / 0.5711 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.5488, allocations: 0.6133 MB / 0.5717 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.5488, allocations: 37.7 kB / 0.5718 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.5491, allocations: 399.1 kB / 0.5721 GB, free: 9.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5492, allocations: 169.6 kB / 0.5723 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.5493, allocations: 16 kB / 0.5723 GB, free: 9.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5494, allocations: 378.7 kB / 0.5727 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.5499, allocations: 221.9 kB / 0.5729 GB, free: 9.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.5505, allocations: 0.5717 MB / 0.5734 GB, free: 8.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.551, allocations: 320.6 kB / 0.5737 GB, free: 8.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.551, allocations: 8 kB / 0.5738 GB, free: 8.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001337/0.5523, allocations: 0.8635 MB / 0.5746 GB, free: 7.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5524, allocations: 8 kB / 0.5746 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.5524, allocations: 12 kB / 0.5746 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.5527, allocations: 64.83 kB / 0.5747 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.5539, allocations: 287.7 kB / 0.575 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.5554, allocations: 1.983 MB / 0.5769 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.556, allocations: 63.97 kB / 0.577 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.556, allocations: 43.98 kB / 0.577 GB, free: 4.613 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.5565, allocations: 273.4 kB / 0.5773 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5566, allocations: 71.16 kB / 0.5773 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.559, allocations: 2.212 MB / 0.5795 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.5591, allocations: 35.91 kB / 0.5795 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5591, allocations: 4.031 kB / 0.5795 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5591, allocations: 3.984 kB / 0.5795 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.5628, allocations: 3.284 MB / 0.5827 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5628, allocations: 0 / 0.5827 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/0.5637, allocations: 195.7 kB / 0.5829 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.5641, allocations: 88.77 kB / 0.583 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.5641, allocations: 16 kB / 0.583 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.5656, allocations: 1.987 MB / 0.585 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5656, allocations: 4.062 kB / 0.585 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.5679, allocations: 1.989 MB / 0.5869 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.5684, allocations: 283.2 kB / 0.5872 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.5685, allocations: 12 kB / 0.5872 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.569, allocations: 56.02 kB / 0.5872 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.5691, allocations: 32.39 kB / 0.5873 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.5692, allocations: 27.98 kB / 0.5873 GB, free: 9.762 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.5699, allocations: 0.5029 MB / 0.5878 GB, free: 9.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 0.5878 GB, free: 9.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003682/0.5736, allocations: 1.089 MB / 0.5889 GB, free: 8.168 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004394/0.578, allocations: 1.21 MB / 0.59 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.5801, allocations: 0.9317 MB / 0.5909 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5801, allocations: 4 kB / 0.5909 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.5813, allocations: 0.6715 MB / 0.5916 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.5834, allocations: 377.1 kB / 0.592 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5869, allocations: 2.713 MB / 0.5946 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.5876, allocations: 1.118 MB / 0.5957 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.5886, allocations: 445.8 kB / 0.5961 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5888, allocations: 63.44 kB / 0.5962 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of SimCode: time 2.064e-06/0.5888, allocations: 0 / 0.5962 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of Templates: time 0.2757/0.8645, allocations: 45.24 MB / 0.6404 GB, free: 151.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) Environment - environmentSimulation: