Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002544/0.002549, allocations: 348.5 kB / 15.94 MB, free: 6.219 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.414/3.414, allocations: 341.5 MB / 358.2 MB, free: 28.62 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.003535/0.003534, allocations: 223.1 kB / 397.9 MB, free: 6.027 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.4819/0.4819, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004869, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05253/0.1526, allocations: 36.2 MB / 0.6421 GB, free: 7.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.324/0.4767, allocations: 18.67 MB / 0.6603 GB, free: 13.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.4781, allocations: 26.62 kB / 0.6604 GB, free: 13.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4797, allocations: 363.5 kB / 0.6607 GB, free: 13.25 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.01831/0.498, allocations: 4.065 MB / 0.6647 GB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009256/0.5073, allocations: 1.98 MB / 0.6666 GB, free: 12.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.5116, allocations: 2.34 MB / 0.6689 GB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5128, allocations: 399.7 kB / 0.6693 GB, free: 12.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01706/0.53, allocations: 6.315 MB / 0.6754 GB, free: 11.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0204/0.5504, allocations: 9.013 MB / 0.6842 GB, free: 5.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.5507, allocations: 36 kB / 0.6843 GB, free: 5.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.5709, allocations: 6.821 MB / 0.6909 GB, free: 15.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006559/0.5716, allocations: 238.2 kB / 0.6912 GB, free: 15.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.5722, allocations: 189.8 kB / 0.6914 GB, free: 15.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009654/0.5818, allocations: 3.432 MB / 0.6947 GB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5819, allocations: 0 / 0.6947 GB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5819, allocations: 0 / 0.6947 GB, free: 12.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.5819, allocations: 0 / 0.6947 GB, free: 12.71 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.006447/0.5884, allocations: 1.519 MB / 0.6962 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5885, allocations: 8.031 kB / 0.6962 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.5918, allocations: 304.5 kB / 0.6965 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.5934, allocations: 0.5447 MB / 0.697 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.5936, allocations: 114.7 kB / 0.6971 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.5938, allocations: 63.06 kB / 0.6972 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/0.5983, allocations: 1.22 MB / 0.6984 GB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.5984, allocations: 3.938 kB / 0.6984 GB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5985, allocations: 35.27 kB / 0.6984 GB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.5987, allocations: 45.03 kB / 0.6985 GB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.6031, allocations: 1.053 MB / 0.6995 GB, free: 8.445 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.01053/0.6137, allocations: 5.612 MB / 0.705 GB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.6177, allocations: 0.7953 MB / 0.7057 GB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.6188, allocations: 298.4 kB / 0.706 GB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06609/0.685, allocations: 18.96 MB / 0.7245 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.109e-05/0.6851, allocations: 55.95 kB / 0.7246 GB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 3.146e-06/0.6851, allocations: 0 / 0.7246 GB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.01161/0.6967, allocations: 2.352 MB / 0.7269 GB, free: 9.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.6969, allocations: 162.6 kB / 0.727 GB, free: 9.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6981, allocations: 0.5975 MB / 0.7276 GB, free: 8.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.6983, allocations: 37.7 kB / 0.7277 GB, free: 8.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.6987, allocations: 404.3 kB / 0.728 GB, free: 8.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.699, allocations: 169 kB / 0.7282 GB, free: 8.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.699, allocations: 16 kB / 0.7282 GB, free: 8.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.6993, allocations: 376.4 kB / 0.7286 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.7005, allocations: 301.7 kB / 0.7289 GB, free: 7.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.702, allocations: 0.639 MB / 0.7295 GB, free: 6.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7034, allocations: 390.6 kB / 0.7299 GB, free: 6.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.7034, allocations: 8 kB / 0.7299 GB, free: 6.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003862/0.7073, allocations: 0.9958 MB / 0.7308 GB, free: 5.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.7074, allocations: 12 kB / 0.7309 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.7074, allocations: 8 kB / 0.7309 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/0.7079, allocations: 77.39 kB / 0.7309 GB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.7106, allocations: 319.5 kB / 0.7312 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.7131, allocations: 1.976 MB / 0.7332 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7145, allocations: 80.03 kB / 0.7333 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7146, allocations: 46.08 kB / 0.7333 GB, free: 2.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0006462/0.7153, allocations: 277.4 kB / 0.7336 GB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.7155, allocations: 71.16 kB / 0.7336 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.7212, allocations: 2.599 MB / 0.7362 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.7213, allocations: 3.984 kB / 0.7362 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.7213, allocations: 4 kB / 0.7362 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007411/0.722, allocations: 322.9 kB / 0.7365 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7223, allocations: 12 kB / 0.7365 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7234, allocations: 91.83 kB / 0.7366 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7236, allocations: 44.48 kB / 0.7366 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005053/0.7287, allocations: 1.652 MB / 0.7382 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005155/0.7339, allocations: 2.273 MB / 0.7405 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001583/0.7355, allocations: 0.6735 MB / 0.7411 GB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.7367, allocations: 0.542 MB / 0.7416 GB, free: 10.15 MB / 378.7 MB Notification: Performance of Backend: time 1.934e-06/0.7368, allocations: 0 / 0.7416 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01298/0.7498, allocations: 2.118 MB / 0.7437 GB, free: 8.199 MB / 378.7 MB Notification: Performance of SimCode: time 0.006652/0.7565, allocations: 2.867 MB / 0.7465 GB, free: 5.285 MB / 378.7 MB Notification: Performance of Templates: time 0.1309/0.8874, allocations: 50.32 MB / 0.7957 GB, free: 3.039 MB / 426.7 MB