Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002717/0.002722, allocations: 359.3 kB / 15.96 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003518/0.003517, allocations: 235.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5057/0.5057, allocations: 80.01 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007417/0.0007421, allocations: 11.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1005, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04367/0.1443, allocations: 36.45 MB / 0.7157 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3664/0.5107, allocations: 18.81 MB / 0.7341 GB, free: 14.06 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.512, allocations: 27.12 kB / 0.7341 GB, free: 14.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.5144, allocations: 357.6 kB / 0.7344 GB, free: 14.05 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.02677/0.5412, allocations: 4.103 MB / 0.7385 GB, free: 13.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.5556, allocations: 2.029 MB / 0.7404 GB, free: 13.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006131/0.5617, allocations: 2.366 MB / 0.7427 GB, free: 12.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.5634, allocations: 407.8 kB / 0.7431 GB, free: 12.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02184/0.5853, allocations: 6.397 MB / 0.7494 GB, free: 12.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02208/0.6074, allocations: 9.108 MB / 0.7583 GB, free: 7.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.6078, allocations: 40 kB / 0.7583 GB, free: 7.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/0.6268, allocations: 6.933 MB / 0.7651 GB, free: 1.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.6275, allocations: 246.4 kB / 0.7653 GB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.6279, allocations: 189.3 kB / 0.7655 GB, free: 0.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.6366, allocations: 3.474 MB / 0.7689 GB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6367, allocations: 4 kB / 0.7689 GB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6367, allocations: 1.312 kB / 0.7689 GB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.6367, allocations: 0 / 0.7689 GB, free: 13.57 MB / 362.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.005689/0.6424, allocations: 1.501 MB / 0.7704 GB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6425, allocations: 12.83 kB / 0.7704 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.6457, allocations: 318.2 kB / 0.7707 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.6471, allocations: 0.5414 MB / 0.7712 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.6473, allocations: 116.2 kB / 0.7713 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.6475, allocations: 59.91 kB / 0.7714 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/0.6512, allocations: 1.169 MB / 0.7725 GB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.6513, allocations: 7.922 kB / 0.7725 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6514, allocations: 32 kB / 0.7726 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.725e-05/0.6515, allocations: 45.23 kB / 0.7726 GB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.6543, allocations: 0.8362 MB / 0.7734 GB, free: 8.82 MB / 362.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.00982/0.6641, allocations: 5.504 MB / 0.7788 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.6669, allocations: 0.5568 MB / 0.7793 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.6677, allocations: 225.6 kB / 0.7795 GB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1804/0.8482, allocations: 49.71 MB / 0.8281 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/0.8483, allocations: 42.5 kB / 0.8281 GB, free: 10.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.8483, allocations: 0 / 0.8281 GB, free: 10.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.007805/0.8562, allocations: 1.937 MB / 0.83 GB, free: 8.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.8563, allocations: 158.2 kB / 0.8302 GB, free: 8.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.8574, allocations: 0.6016 MB / 0.8308 GB, free: 7.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.8575, allocations: 37.7 kB / 0.8308 GB, free: 7.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.858, allocations: 410.1 kB / 0.8312 GB, free: 7.504 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.8582, allocations: 173.9 kB / 0.8314 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.8583, allocations: 16 kB / 0.8314 GB, free: 7.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.8585, allocations: 374.8 kB / 0.8317 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.8592, allocations: 228.6 kB / 0.8319 GB, free: 6.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.8602, allocations: 0.5873 MB / 0.8325 GB, free: 5.965 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.8612, allocations: 340.5 kB / 0.8328 GB, free: 5.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.8612, allocations: 7.953 kB / 0.8328 GB, free: 5.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002374/0.8636, allocations: 0.8904 MB / 0.8337 GB, free: 4.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.8636, allocations: 8 kB / 0.8337 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.8637, allocations: 12 kB / 0.8337 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.8641, allocations: 72.53 kB / 0.8338 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.8665, allocations: 291.6 kB / 0.8341 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.8689, allocations: 1.968 MB / 0.836 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.87, allocations: 71.89 kB / 0.8361 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/0.8701, allocations: 44 kB / 0.8361 GB, free: 2.113 MB / 426.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.0006127/0.8707, allocations: 275.5 kB / 0.8364 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.8709, allocations: 71.16 kB / 0.8364 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.8751, allocations: 2.216 MB / 0.8386 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.8751, allocations: 3.984 kB / 0.8386 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8751, allocations: 3.938 kB / 0.8386 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/0.8758, allocations: 283.1 kB / 0.8389 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.876, allocations: 15.98 kB / 0.8389 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.877, allocations: 59.92 kB / 0.839 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8771, allocations: 40.31 kB / 0.839 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0037/0.8808, allocations: 1.39 MB / 0.8404 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003577/0.8845, allocations: 1.917 MB / 0.8422 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001022/0.8855, allocations: 0.5361 MB / 0.8428 GB, free: 11.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.8866, allocations: 0.499 MB / 0.8432 GB, free: 10.76 MB / 442.7 MB Notification: Performance of Backend: time 7.02e-07/0.8866, allocations: 0 / 0.8432 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/0.8991, allocations: 2.065 MB / 0.8453 GB, free: 8.855 MB / 442.7 MB Notification: Performance of SimCode: time 0.006314/0.9055, allocations: 2.683 MB / 0.8479 GB, free: 6.141 MB / 442.7 MB Notification: Performance of Templates: time 0.1404/1.046, allocations: 50.15 MB / 0.8969 GB, free: 4.09 MB / 490.7 MB