Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004114/0.004114, allocations: 364.4 kB / 15.96 MB, free: 6.203 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.852/3.852, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.005102/0.005101, allocations: 235 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.5673/0.5673, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09492, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04753/0.1425, allocations: 36.44 MB / 0.7157 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.4023/0.5449, allocations: 18.82 MB / 0.7341 GB, free: 14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.5461, allocations: 24.62 kB / 0.7341 GB, free: 14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5476, allocations: 367.3 kB / 0.7345 GB, free: 13.99 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.02203/0.5697, allocations: 4.095 MB / 0.7385 GB, free: 13.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008838/0.5786, allocations: 2.018 MB / 0.7404 GB, free: 13.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004375/0.583, allocations: 2.36 MB / 0.7427 GB, free: 12.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.5842, allocations: 406.7 kB / 0.7431 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01618/0.6004, allocations: 6.386 MB / 0.7494 GB, free: 12.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02025/0.6207, allocations: 9.116 MB / 0.7583 GB, free: 7.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.621, allocations: 36 kB / 0.7583 GB, free: 7.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0194/0.6404, allocations: 6.943 MB / 0.7651 GB, free: 1.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005668/0.641, allocations: 244.6 kB / 0.7653 GB, free: 1.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.6415, allocations: 185.3 kB / 0.7655 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009176/0.6507, allocations: 3.462 MB / 0.7689 GB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6507, allocations: 0 / 0.7689 GB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6507, allocations: 0 / 0.7689 GB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.6508, allocations: 0 / 0.7689 GB, free: 13.59 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.005992/0.6568, allocations: 1.545 MB / 0.7704 GB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6568, allocations: 12.83 kB / 0.7704 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.6599, allocations: 310.7 kB / 0.7707 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.6612, allocations: 0.5515 MB / 0.7712 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.6614, allocations: 112.7 kB / 0.7713 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.6616, allocations: 59.03 kB / 0.7714 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.6657, allocations: 1.222 MB / 0.7726 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.6658, allocations: 3.938 kB / 0.7726 GB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.6659, allocations: 35.66 kB / 0.7726 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-05/0.666, allocations: 41.3 kB / 0.7727 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00436/0.6704, allocations: 1.055 MB / 0.7737 GB, free: 8.531 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.01032/0.6807, allocations: 5.606 MB / 0.7792 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.6847, allocations: 0.8018 MB / 0.7799 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.6859, allocations: 292.6 kB / 0.7802 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08518/0.7711, allocations: 19.08 MB / 0.7989 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.664e-05/0.7712, allocations: 39.28 kB / 0.7989 GB, free: 12.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 5.871e-06/0.7713, allocations: 4 kB / 0.7989 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.01589/0.7872, allocations: 2.354 MB / 0.8012 GB, free: 9.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7874, allocations: 162.7 kB / 0.8014 GB, free: 9.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.7888, allocations: 0.5936 MB / 0.8019 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.789, allocations: 41.69 kB / 0.802 GB, free: 8.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/0.7896, allocations: 397.5 kB / 0.8023 GB, free: 8.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.7899, allocations: 177 kB / 0.8025 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.79, allocations: 16 kB / 0.8025 GB, free: 8.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.7903, allocations: 378.7 kB / 0.8029 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.7918, allocations: 297.8 kB / 0.8032 GB, free: 7.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.794, allocations: 0.6429 MB / 0.8038 GB, free: 6.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.7962, allocations: 392.5 kB / 0.8042 GB, free: 6.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.7962, allocations: 6.734 kB / 0.8042 GB, free: 6.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005537/0.8018, allocations: 1 MB / 0.8052 GB, free: 5.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.8019, allocations: 8 kB / 0.8052 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/0.8019, allocations: 16.12 kB / 0.8052 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/0.8027, allocations: 68.81 kB / 0.8053 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.8059, allocations: 311.6 kB / 0.8055 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.8088, allocations: 1.983 MB / 0.8075 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.8108, allocations: 87.98 kB / 0.8076 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.811, allocations: 43.98 kB / 0.8076 GB, free: 2.719 MB / 394.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.0009731/0.812, allocations: 275.7 kB / 0.8079 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.8124, allocations: 67.16 kB / 0.8079 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/0.8211, allocations: 2.604 MB / 0.8105 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/0.8212, allocations: 4 kB / 0.8105 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.8213, allocations: 3.953 kB / 0.8105 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.8224, allocations: 330.8 kB / 0.8108 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/0.8228, allocations: 12 kB / 0.8108 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.8246, allocations: 87.77 kB / 0.8109 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.8249, allocations: 52.48 kB / 0.8109 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006416/0.8313, allocations: 1.648 MB / 0.8126 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006575/0.838, allocations: 2.28 MB / 0.8148 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002104/0.8401, allocations: 0.6579 MB / 0.8154 GB, free: 10.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.8417, allocations: 0.5537 MB / 0.816 GB, free: 10.11 MB / 410.7 MB Notification: Performance of Backend: time 1.173e-06/0.8417, allocations: 4 kB / 0.816 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01495/0.8567, allocations: 2.128 MB / 0.8181 GB, free: 8.141 MB / 410.7 MB Notification: Performance of SimCode: time 0.006988/0.8637, allocations: 2.859 MB / 0.8208 GB, free: 5.246 MB / 410.7 MB Notification: Performance of Templates: time 0.1482/1.012, allocations: 50.72 MB / 0.8704 GB, free: 2.605 MB / 458.7 MB