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.0008836/0.0008838, allocations: 91.22 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.006293/0.006293, allocations: 170.6 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.636/1.636, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3963/0.3963, allocations: 40 MB / 310.7 MB, free: 9.953 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.000638/0.0006378, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 57.97 MB / 437.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3226/0.4631, allocations: 39.41 MB / 476.8 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02534/0.4885, allocations: 20.93 MB / 497.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.49, allocations: 20.69 kB / 497.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.4914, allocations: 399.2 kB / 498.2 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.5079, allocations: 4.165 MB / 0.4906 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008965/0.5169, allocations: 2.222 MB / 0.4927 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.5211, allocations: 2.858 MB / 0.4955 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.5221, allocations: 432.1 kB / 0.4959 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.5326, allocations: 4.044 MB / 0.4999 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.5449, allocations: 5.446 MB / 0.5052 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.5454, allocations: 36.19 kB / 0.5052 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02091/0.5663, allocations: 7.269 MB / 0.5123 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008119/0.5672, allocations: 253.7 kB / 0.5126 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.5687, allocations: 453.3 kB / 0.513 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.5858, allocations: 5.047 MB / 0.5179 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5859, allocations: 0 / 0.5179 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5859, allocations: 1.156 kB / 0.5179 GB, free: 1.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.471e-05/0.586, allocations: 0 / 0.5179 GB, free: 1.879 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.007283/0.5932, allocations: 1.493 MB / 0.5194 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5933, allocations: 18.31 kB / 0.5194 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.5961, allocations: 314.5 kB / 0.5197 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.5977, allocations: 0.5657 MB / 0.5203 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.5979, allocations: 114.7 kB / 0.5204 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.5981, allocations: 58.62 kB / 0.5204 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.6014, allocations: 1.177 MB / 0.5216 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.6015, allocations: 1.406 kB / 0.5216 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.6017, allocations: 33.77 kB / 0.5216 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.6018, allocations: 49.73 kB / 0.5217 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.6039, allocations: 0.843 MB / 0.5225 GB, free: 14.82 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.007648/0.6116, allocations: 5.511 MB / 0.5279 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.613, allocations: 0.5866 MB / 0.5284 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.6133, allocations: 219.5 kB / 0.5287 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1066/0.7199, allocations: 46.62 MB / 0.5742 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.941e-05/0.7201, allocations: 42.5 kB / 0.5742 GB, free: 6.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/0.7201, allocations: 0 / 0.5742 GB, free: 6.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.006845/0.7269, allocations: 1.931 MB / 0.5761 GB, free: 4.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.7271, allocations: 170.2 kB / 0.5763 GB, free: 4.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.7281, allocations: 0.6171 MB / 0.5769 GB, free: 3.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-05/0.7282, allocations: 33.7 kB / 0.5769 GB, free: 3.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.7286, allocations: 399.2 kB / 0.5773 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.7288, allocations: 173.7 kB / 0.5775 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.729, allocations: 73.67 kB / 0.5775 GB, free: 2.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.7292, allocations: 378.7 kB / 0.5779 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.7297, allocations: 229.9 kB / 0.5781 GB, free: 2.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.7304, allocations: 0.5679 MB / 0.5787 GB, free: 1.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.7316, allocations: 0.8329 MB / 0.5795 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.7316, allocations: 4 kB / 0.5795 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001602/0.7332, allocations: 0.8709 MB / 0.5803 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.7333, allocations: 8 kB / 0.5803 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.7333, allocations: 15.94 kB / 0.5803 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.7336, allocations: 61.45 kB / 0.5804 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.7348, allocations: 291.5 kB / 0.5807 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.7365, allocations: 1.975 MB / 0.5826 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.7373, allocations: 60.09 kB / 0.5827 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.7374, allocations: 43.98 kB / 0.5827 GB, free: 13.09 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.0004828/0.7379, allocations: 285.3 kB / 0.583 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.7381, allocations: 71.16 kB / 0.5831 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.7408, allocations: 2.212 MB / 0.5852 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.7409, allocations: 27.95 kB / 0.5852 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7409, allocations: 4 kB / 0.5852 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.7409, allocations: 3.984 kB / 0.5852 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.7451, allocations: 3.284 MB / 0.5885 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.7451, allocations: 4.031 kB / 0.5885 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.746, allocations: 187.8 kB / 0.5886 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.7465, allocations: 96.61 kB / 0.5887 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.7465, allocations: 16 kB / 0.5887 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.7481, allocations: 2 MB / 0.5907 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7481, allocations: 0 / 0.5907 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.7505, allocations: 1.985 MB / 0.5926 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.751, allocations: 287.5 kB / 0.5929 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7511, allocations: 14.12 kB / 0.5929 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.7519, allocations: 63.8 kB / 0.593 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.752, allocations: 32.39 kB / 0.593 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.7521, allocations: 23.98 kB / 0.593 GB, free: 2.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009066/0.753, allocations: 0.5184 MB / 0.5935 GB, free: 1.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.753, allocations: 0 / 0.5935 GB, free: 1.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00556/0.7586, allocations: 1.082 MB / 0.5946 GB, free: 0.6211 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.007808/0.7664, allocations: 1.218 MB / 0.5958 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.7688, allocations: 0.9357 MB / 0.5967 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7688, allocations: 0 / 0.5967 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.7702, allocations: 0.6756 MB / 0.5974 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.773, allocations: 373.8 kB / 0.5977 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.7771, allocations: 2.778 MB / 0.6004 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.7779, allocations: 1.121 MB / 0.6015 GB, free: 9.469 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.779, allocations: 449.4 kB / 0.602 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.7792, allocations: 63.44 kB / 0.602 GB, free: 8.965 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7792, allocations: 0 / 0.602 GB, free: 8.965 MB / 478.1 MB Notification: Performance of Templates: time 0.3389/1.118, allocations: 45.05 MB / 0.646 GB, free: 150.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: