Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.tube_test.conf.json Using package SiemensPower with version 2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/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(SiemensPower.Components.Pipes.Tests.tube_test,tolerance=1e-05,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="SiemensPower_SiemensPower.Components.Pipes.Tests.tube_test") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002756/0.002761, allocations: 352.3 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.749/3.749, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.006484/0.006483, allocations: 225.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo): time 0.14/0.14, allocations: 11.12 MB / 448.4 MB, free: 176.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006652/0.0006657, allocations: 8 kB / 499 MB, free: 127.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09333, allocations: 40.05 MB / 0.5264 GB, free: 87.04 MB / 362.7 MB Notification: Performance of NFInst.instantiate(SiemensPower.Components.Pipes.Tests.tube_test): time 0.07119/0.1646, allocations: 36.88 MB / 0.5624 GB, free: 50.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.09824/0.2629, allocations: 22.82 MB / 0.5847 GB, free: 27.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.265, allocations: 27.81 kB / 0.5847 GB, free: 27.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.2679, allocations: 0.5594 MB / 0.5853 GB, free: 26.6 MB / 362.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. Notification: Performance of NFTyping.typeBindings: time 0.01599/0.2839, allocations: 3.903 MB / 0.5891 GB, free: 22.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.3021, allocations: 4.115 MB / 0.5931 GB, free: 18.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.329/0.6311, allocations: 19.45 MB / 0.6121 GB, free: 49.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02599/0.6572, allocations: 7.111 MB / 0.619 GB, free: 49.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02183/0.6791, allocations: 5.821 MB / 0.6247 GB, free: 49.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02567/0.7048, allocations: 7.164 MB / 0.6317 GB, free: 49.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007818/0.7128, allocations: 0.5428 MB / 0.6322 GB, free: 49.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04766/0.7605, allocations: 8.765 MB / 0.6408 GB, free: 49.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01247/0.7731, allocations: 3.705 MB / 0.6444 GB, free: 49.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01287/0.786, allocations: 2.253 MB / 0.6466 GB, free: 49.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0488/0.8349, allocations: 18.49 MB / 0.6647 GB, free: 41.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.835, allocations: 3.594 kB / 0.6647 GB, free: 41.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.835, allocations: 0 / 0.6647 GB, free: 41.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008903/0.8359, allocations: 4 kB / 0.6647 GB, free: 41.46 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: 2465 * Number of variables: 2465 Notification: Performance of Generate backend data structure: time 0.1006/0.9366, allocations: 13.05 MB / 0.6774 GB, free: 34.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.9367, allocations: 8.906 kB / 0.6774 GB, free: 34.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05183/0.9885, allocations: 2.922 MB / 0.6803 GB, free: 32.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03703/1.026, allocations: 7.072 MB / 0.6872 GB, free: 28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00255/1.028, allocations: 0.9774 MB / 0.6882 GB, free: 27.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008883/1.037, allocations: 0.9961 MB / 0.6891 GB, free: 26.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/1.146, allocations: 19.65 MB / 0.7083 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007667/1.147, allocations: 28.55 kB / 0.7083 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00669/1.154, allocations: 392.4 kB / 0.7087 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007692/1.155, allocations: 442.8 kB / 0.7091 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08275/1.238, allocations: 22.27 MB / 0.7309 GB, free: 5.539 MB / 378.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.7931/2.031, allocations: 74.25 MB / 0.8034 GB, free: 82.99 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08364/2.114, allocations: 18.37 MB / 0.8213 GB, free: 73.63 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02518/2.14, allocations: 8.432 MB / 0.8296 GB, free: 69.18 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005178/2.145, allocations: 1.969 MB / 0.8315 GB, free: 67.34 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04022/2.185, allocations: 10.37 MB / 0.8416 GB, free: 58.89 MB / 394.8 MB Notification: Performance of pre-optimization done (n=875): time 1.829e-05/2.185, allocations: 7.422 kB / 0.8416 GB, free: 58.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=909): time 0.6635/2.849, allocations: 72.48 MB / 0.9124 GB, free: 110.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002708/2.849, allocations: 228.7 kB / 0.9126 GB, free: 110.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02782/2.877, allocations: 6.362 MB / 0.9188 GB, free: 108.7 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.005006/2.882, allocations: 188.9 kB / 0.919 GB, free: 108.5 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00807/2.89, allocations: 3.776 MB / 0.9227 GB, free: 106.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0127/2.903, allocations: 3.286 MB / 0.9259 GB, free: 103.9 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005864/2.909, allocations: 215.3 kB / 0.9261 GB, free: 103.7 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.001371/2.91, allocations: 0.7556 MB / 0.9269 GB, free: 103.2 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02888/2.939, allocations: 8.225 MB / 0.9349 GB, free: 100.1 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03654/2.976, allocations: 10.62 MB / 0.9453 GB, free: 92.89 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0448/3.021, allocations: 9.675 MB / 0.9547 GB, free: 87.75 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/3.021, allocations: 22.66 kB / 0.9547 GB, free: 87.75 MB / 394.8 MB Notification: Performance of matching and sorting (n=1392) (initialization): time 0.0922/3.113, allocations: 22.76 MB / 0.977 GB, free: 71.39 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/3.114, allocations: 102.6 kB / 0.9771 GB, free: 71.29 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/3.114, allocations: 64 kB / 0.9771 GB, free: 71.22 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04174/3.155, allocations: 5.747 MB / 0.9827 GB, free: 65.47 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05463/3.21, allocations: 4.754 MB / 0.9874 GB, free: 60.71 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04224/3.252, allocations: 9.125 MB / 0.9963 GB, free: 51.56 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03193/3.284, allocations: 1.192 MB / 0.9975 GB, free: 50.37 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006584/3.291, allocations: 0.5677 MB / 0.998 GB, free: 49.8 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 110 (ECO.HT[10].KC_IN_con.roughness,ECO.HT[10].KC_IN_con.target,ECO.HT[9].KC_IN_con.roughness,ECO.HT[9].KC_IN_con.target,ECO.HT[8].KC_IN_con.roughness,ECO.HT[8].KC_IN_con.target,ECO.HT[7].KC_IN_con.roughness,ECO.HT[7].KC_IN_con.target,ECO.HT[6].KC_IN_con.roughness,ECO.HT[6].KC_IN_con.target,ECO.HT[5].KC_IN_con.roughness,ECO.HT[5].KC_IN_con.target,ECO.HT[4].KC_IN_con.roughness,ECO.HT[4].KC_IN_con.target,ECO.HT[3].KC_IN_con.roughness,ECO.HT[3].KC_IN_con.target,ECO.HT[2].KC_IN_con.roughness,ECO.HT[2].KC_IN_con.target,ECO.HT[1].KC_IN_con.roughness,ECO.HT[1].KC_IN_con.target,ECO.friction.DPMFLOW_IN_con.roughness,EVA.HT[20].KC_IN_con.roughness,EVA.HT[20].KC_IN_con.target,EVA.HT[19].KC_IN_con.roughness,EVA.HT[19].KC_IN_con.target,EVA.HT[18].KC_IN_con.roughness,EVA.HT[18].KC_IN_con.target,EVA.HT[17].KC_IN_con.roughness,EVA.HT[17].KC_IN_con.target,EVA.HT[16].KC_IN_con.roughness,EVA.HT[16].KC_IN_con.target,EVA.HT[15].KC_IN_con.roughness,EVA.HT[15].KC_IN_con.target,EVA.HT[14].KC_IN_con.roughness,EVA.HT[14].KC_IN_con.target,EVA.HT[13].KC_IN_con.roughness,EVA.HT[13].KC_IN_con.target,EVA.HT[12].KC_IN_con.roughness,EVA.HT[12].KC_IN_con.target,EVA.HT[11].KC_IN_con.roughness,EVA.HT[11].KC_IN_con.target,EVA.HT[10].KC_IN_con.roughness,EVA.HT[10].KC_IN_con.target,EVA.HT[9].KC_IN_con.roughness,EVA.HT[9].KC_IN_con.target,EVA.HT[8].KC_IN_con.roughness,EVA.HT[8].KC_IN_con.target,EVA.HT[7].KC_IN_con.roughness,EVA.HT[7].KC_IN_con.target,EVA.HT[6].KC_IN_con.roughness,EVA.HT[6].KC_IN_con.target,EVA.HT[5].KC_IN_con.roughness,EVA.HT[5].KC_IN_con.target,EVA.HT[4].KC_IN_con.roughness,EVA.HT[4].KC_IN_con.target,EVA.HT[3].KC_IN_con.roughness,EVA.HT[3].KC_IN_con.target,EVA.HT[2].KC_IN_con.roughness,EVA.HT[2].KC_IN_con.target,EVA.HT[1].KC_IN_con.roughness,EVA.HT[1].KC_IN_con.target,EVA.friction.DPMFLOW_IN_con.roughness,$whenCondition1,$whenCondition2,watersource_mh.medium.phase,watersink_ph.water.phase,EVA.fluid[1].phase,EVA.fluid[2].phase,EVA.fluid[3].phase,EVA.fluid[4].phase,EVA.fluid[5].phase,EVA.fluid[6].phase,EVA.fluid[7].phase,EVA.fluid[8].phase,EVA.fluid[9].phase,EVA.fluid[10].phase,EVA.fluid[11].phase,EVA.fluid[12].phase,EVA.fluid[13].phase,EVA.fluid[14].phase,EVA.fluid[15].phase,EVA.fluid[16].phase,EVA.fluid[17].phase,EVA.fluid[18].phase,EVA.fluid[19].phase,EVA.fluid[20].phase,ECO.fluid[1].phase,ECO.fluid[2].phase,ECO.fluid[3].phase,ECO.fluid[4].phase,ECO.fluid[5].phase,ECO.fluid[6].phase,ECO.fluid[7].phase,ECO.fluid[8].phase,ECO.fluid[9].phase,ECO.fluid[10].phase,timeTable1.originalTable.a,timeTable1.originalTable.b,timeTable1.originalTable.last,$PRE.timeTable1.originalTable.nextEvent,timeTable1.originalTable.nextEvent,timeTable.originalTable.a,timeTable.originalTable.b,timeTable.originalTable.last,$PRE.timeTable.originalTable.nextEvent,timeTable.originalTable.nextEvent,ECO.state_from_b.phase,ECO.state_from_a.phase,EVA.state_from_b.phase,EVA.state_from_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1185): * Single equations (assignments): 1182 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {32 168} Notification: Performance of prepare postOptimizeDAE: time 0.02211/3.313, allocations: 3.71 MB / 1.002 GB, free: 46.07 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008288/3.322, allocations: 0.7299 MB / 1.002 GB, free: 45.33 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4704/3.792, allocations: 38.8 MB / 1.04 GB, free: 99.84 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004256/3.793, allocations: 46.64 kB / 1.04 GB, free: 99.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/3.793, allocations: 0.6562 kB / 1.04 GB, free: 99.84 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01398/3.807, allocations: 3.006 MB / 1.043 GB, free: 99.74 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007213/3.814, allocations: 357.2 kB / 1.044 GB, free: 99.74 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02347/3.837, allocations: 1.237 MB / 1.045 GB, free: 99.74 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00815/3.846, allocations: 1.393 MB / 1.046 GB, free: 99.73 MB / 394.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1401/3.986, allocations: 33.59 MB / 1.079 GB, free: 91.72 MB / 394.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.105/4.091, allocations: 36.38 MB / 1.114 GB, free: 70.22 MB / 394.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02907/4.12, allocations: 12.06 MB / 1.126 GB, free: 58.14 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01154/4.132, allocations: 4.33 MB / 1.13 GB, free: 53.83 MB / 394.8 MB Notification: Performance of Backend: time 8.72e-07/4.132, allocations: 0 / 1.13 GB, free: 53.83 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.07031/4.202, allocations: 15.46 MB / 1.146 GB, free: 38.79 MB / 394.8 MB Notification: Performance of SimCode: time 0.08649/4.288, allocations: 35.97 MB / 1.181 GB, free: 2.898 MB / 394.8 MB Notification: Performance of Templates: time 1.517/5.805, allocations: 260.2 MB / 1.435 GB, free: 46.55 MB / 410.8 MB