Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00384/0.003848, allocations: 354.7 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.651/3.651, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003594/0.003594, allocations: 220 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6109/0.6109, allocations: 76.09 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006409, allocations: 8 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08931, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0553/0.1447, allocations: 36.21 MB / 0.6421 GB, free: 7.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.322/0.4668, allocations: 18.66 MB / 0.6603 GB, free: 13.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.4682, allocations: 24.22 kB / 0.6604 GB, free: 13.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.47, allocations: 357.6 kB / 0.6607 GB, free: 13.3 MB / 314.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0181/0.4882, allocations: 4.069 MB / 0.6647 GB, free: 13.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009318/0.4975, allocations: 1.976 MB / 0.6666 GB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.5016, allocations: 2.354 MB / 0.6689 GB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.5028, allocations: 415.1 kB / 0.6693 GB, free: 12.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01717/0.52, allocations: 6.313 MB / 0.6755 GB, free: 11.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/0.5402, allocations: 9.003 MB / 0.6843 GB, free: 5.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.5406, allocations: 36 kB / 0.6843 GB, free: 5.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01975/0.5603, allocations: 6.824 MB / 0.691 GB, free: 12 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.5611, allocations: 250.4 kB / 0.6912 GB, free: 15.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.5615, allocations: 182.5 kB / 0.6914 GB, free: 15.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009827/0.5714, allocations: 3.44 MB / 0.6947 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5715, allocations: 3.938 kB / 0.6947 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5715, allocations: 0 / 0.6947 GB, free: 12.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.5715, allocations: 0 / 0.6947 GB, free: 12.75 MB / 330.7 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.006085/0.5776, allocations: 1.479 MB / 0.6962 GB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5777, allocations: 8.031 kB / 0.6962 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.5823, allocations: 305.5 kB / 0.6965 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.585, allocations: 0.5451 MB / 0.697 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.5854, allocations: 111.5 kB / 0.6971 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.5856, allocations: 62.22 kB / 0.6972 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006994/0.5927, allocations: 1.174 MB / 0.6983 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/0.5928, allocations: 3.938 kB / 0.6983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.593, allocations: 33.44 kB / 0.6984 GB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.5932, allocations: 40.61 kB / 0.6984 GB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/0.5982, allocations: 0.8396 MB / 0.6992 GB, free: 8.738 MB / 330.7 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.01575/0.614, allocations: 5.498 MB / 0.7046 GB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.6173, allocations: 0.565 MB / 0.7051 GB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.6184, allocations: 225.6 kB / 0.7054 GB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2204/0.8388, allocations: 49.59 MB / 0.7538 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.79e-05/0.8389, allocations: 38.56 kB / 0.7538 GB, free: 10.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/0.8389, allocations: 0 / 0.7538 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.00814/0.8471, allocations: 1.943 MB / 0.7557 GB, free: 8.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8472, allocations: 166.2 kB / 0.7559 GB, free: 8.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.8484, allocations: 0.6032 MB / 0.7565 GB, free: 7.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.8486, allocations: 41.73 kB / 0.7565 GB, free: 7.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.849, allocations: 400.1 kB / 0.7569 GB, free: 7.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.8493, allocations: 169.5 kB / 0.757 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.8494, allocations: 20 kB / 0.7571 GB, free: 7.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.8496, allocations: 374.8 kB / 0.7574 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.8503, allocations: 229.9 kB / 0.7576 GB, free: 6.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.8514, allocations: 0.5928 MB / 0.7582 GB, free: 5.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.8524, allocations: 339.2 kB / 0.7585 GB, free: 5.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.8524, allocations: 4 kB / 0.7585 GB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002574/0.855, allocations: 0.8863 MB / 0.7594 GB, free: 4.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.855, allocations: 12 kB / 0.7594 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.8551, allocations: 13.88 kB / 0.7594 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.8556, allocations: 72.81 kB / 0.7595 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.858, allocations: 291.5 kB / 0.7598 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.8605, allocations: 1.976 MB / 0.7617 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8616, allocations: 60.12 kB / 0.7618 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8618, allocations: 44 kB / 0.7618 GB, free: 2.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (99): * Single equations (assignments): 97 * 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.0006591/0.8624, allocations: 277.4 kB / 0.7621 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.8627, allocations: 75.11 kB / 0.7621 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.867, allocations: 2.221 MB / 0.7643 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.8671, allocations: 0 / 0.7643 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8671, allocations: 1.969 kB / 0.7643 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.8678, allocations: 287.1 kB / 0.7646 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.868, allocations: 12.88 kB / 0.7646 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.8691, allocations: 59.92 kB / 0.7647 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.8692, allocations: 32.39 kB / 0.7647 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003884/0.8731, allocations: 1.399 MB / 0.7661 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003717/0.8769, allocations: 1.907 MB / 0.7679 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001044/0.878, allocations: 0.5321 MB / 0.7684 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.8791, allocations: 0.4951 MB / 0.7689 GB, free: 10.8 MB / 410.7 MB Notification: Performance of Backend: time 8.91e-07/0.8791, allocations: 0 / 0.7689 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01242/0.8915, allocations: 2.054 MB / 0.7709 GB, free: 8.906 MB / 410.7 MB Notification: Performance of SimCode: time 0.006174/0.8977, allocations: 2.685 MB / 0.7736 GB, free: 6.184 MB / 410.7 MB Notification: Performance of Templates: time 0.464/1.362, allocations: 49.74 MB / 0.8221 GB, free: 164.5 MB / 442.7 MB