Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00635/0.00635, allocations: 102.8 kB / 15.73 MB, free: 5.586 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.001129/0.001129, allocations: 188.4 kB / 16.67 MB, free: 5.523 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2294/0.2294, allocations: 39.96 MB / 309.9 MB, free: 4.004 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.001408/0.001408, allocations: 75.89 kB / 435.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 56.87 MB / 492.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3997/0.5452, allocations: 39.04 MB / 0.5193 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02626/0.5716, allocations: 20.15 MB / 0.5389 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.5729, allocations: 19.72 kB / 0.539 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.5744, allocations: 444.6 kB / 0.5394 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0172/0.5916, allocations: 5.109 MB / 0.5444 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.6035, allocations: 2.557 MB / 0.5469 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.6089, allocations: 1.983 MB / 0.5488 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.6103, allocations: 492.5 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01557/0.6259, allocations: 4.172 MB / 0.5533 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.6422, allocations: 5.43 MB / 0.5587 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004973/0.6427, allocations: 76.38 kB / 0.5587 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02504/0.6678, allocations: 7.384 MB / 0.5659 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008287/0.6687, allocations: 283.2 kB / 0.5662 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.6702, allocations: 454 kB / 0.5666 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02049/0.6908, allocations: 5.106 MB / 0.5716 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6908, allocations: 0 / 0.5716 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6908, allocations: 0 / 0.5716 GB, free: 12.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.251e-05/0.6909, allocations: 0 / 0.5716 GB, free: 12.8 MB / 430.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.009093/0.7, allocations: 1.68 MB / 0.5733 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.673e-05/0.7001, allocations: 15.89 kB / 0.5733 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/0.7041, allocations: 299.6 kB / 0.5736 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.706, allocations: 0.5871 MB / 0.5741 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.7062, allocations: 117.3 kB / 0.5743 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.7064, allocations: 60.36 kB / 0.5743 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.7105, allocations: 1.189 MB / 0.5755 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.7106, allocations: 11.94 kB / 0.5755 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.7107, allocations: 24 kB / 0.5755 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.516e-05/0.7108, allocations: 45.28 kB / 0.5755 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.7151, allocations: 1.023 MB / 0.5765 GB, free: 7.57 MB / 430.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.0102/0.7253, allocations: 5.607 MB / 0.582 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.7291, allocations: 0.7584 MB / 0.5828 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.73, allocations: 298.2 kB / 0.583 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03911/0.7692, allocations: 15.94 MB / 0.5986 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.599e-05/0.7693, allocations: 43.42 kB / 0.5987 GB, free: 14.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=45): time 3.486e-06/0.7693, allocations: 0 / 0.5987 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=49): time 0.007309/0.7766, allocations: 2.269 MB / 0.6009 GB, free: 12.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.7767, allocations: 162.7 kB / 0.601 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.7776, allocations: 0.6093 MB / 0.6016 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.7777, allocations: 37.73 kB / 0.6017 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.778, allocations: 387.2 kB / 0.602 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7782, allocations: 173.6 kB / 0.6022 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.7784, allocations: 154.5 kB / 0.6023 GB, free: 10.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7786, allocations: 382.7 kB / 0.6027 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.7792, allocations: 281.8 kB / 0.603 GB, free: 10.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.78, allocations: 0.6082 MB / 0.6036 GB, free: 9.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.7816, allocations: 0.9026 MB / 0.6044 GB, free: 8.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.7816, allocations: 4 kB / 0.6045 GB, free: 8.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002023/0.7836, allocations: 0.9563 MB / 0.6054 GB, free: 7.324 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7837, allocations: 8.969 kB / 0.6054 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.7837, allocations: 12.75 kB / 0.6054 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.784, allocations: 68.75 kB / 0.6055 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.7853, allocations: 295.6 kB / 0.6058 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.7869, allocations: 2.078 MB / 0.6078 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.7875, allocations: 47.97 kB / 0.6078 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.7876, allocations: 43.98 kB / 0.6079 GB, free: 4.617 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0004081/0.788, allocations: 285.1 kB / 0.6081 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.7882, allocations: 79.19 kB / 0.6082 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.7914, allocations: 2.543 MB / 0.6107 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/0.7915, allocations: 35.95 kB / 0.6107 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7915, allocations: 0 / 0.6107 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7915, allocations: 7.969 kB / 0.6107 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.7963, allocations: 3.758 MB / 0.6144 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7964, allocations: 0 / 0.6144 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7975, allocations: 223.7 kB / 0.6146 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/0.7978, allocations: 88.69 kB / 0.6147 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.7979, allocations: 15.98 kB / 0.6147 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.7996, allocations: 2.083 MB / 0.6168 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.7996, allocations: 4 kB / 0.6168 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.8035, allocations: 2.354 MB / 0.6191 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/0.8041, allocations: 255.4 kB / 0.6193 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8043, allocations: 35.67 kB / 0.6193 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.8049, allocations: 27.98 kB / 0.6194 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.805, allocations: 48.48 kB / 0.6194 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.8051, allocations: 27.92 kB / 0.6194 GB, free: 8.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008956/0.806, allocations: 0.5576 MB / 0.62 GB, free: 7.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.806, allocations: 0 / 0.62 GB, free: 7.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005156/0.8111, allocations: 1.093 MB / 0.6211 GB, free: 6.812 MB / 478.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007562/0.8187, allocations: 1.213 MB / 0.6222 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.8217, allocations: 1.1 MB / 0.6233 GB, free: 4.496 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.8217, allocations: 4 kB / 0.6233 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.8237, allocations: 0.8247 MB / 0.6241 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.8262, allocations: 403.4 kB / 0.6245 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.8305, allocations: 2.467 MB / 0.6269 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.8314, allocations: 1.157 MB / 0.628 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009684/0.8324, allocations: 438.5 kB / 0.6285 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.8326, allocations: 67.44 kB / 0.6285 GB, free: 15.09 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.8326, allocations: 4 kB / 0.6285 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Templates: time 0.07482/0.9074, allocations: 47.29 MB / 0.6747 GB, free: 15.77 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)