Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.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.TubeWithoutWall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003163/0.003169, allocations: 356.9 kB / 15.95 MB, free: 6.203 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.601/3.601, 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.003537/0.003537, allocations: 216.8 kB / 397.8 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo): time 0.08338/0.08338, allocations: 11.13 MB / 448.4 MB, free: 33.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 12 kB / 499 MB, free: 15.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09648, allocations: 40.05 MB / 0.5264 GB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SiemensPower.Components.Pipes.Tests.TubeWithoutWall): time 0.3002/0.3968, allocations: 39.54 MB / 0.565 GB, free: 28.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03773/0.4346, allocations: 22.1 MB / 0.5866 GB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.4362, allocations: 14.5 kB / 0.5866 GB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.4387, allocations: 0.5144 MB / 0.5871 GB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.4548, allocations: 3.685 MB / 0.5907 GB, free: 7.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0179/0.4728, allocations: 4.069 MB / 0.5947 GB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4839, allocations: 7.952 MB / 0.6024 GB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/0.488, allocations: 1.582 MB / 0.604 GB, free: 10.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.4987, allocations: 2.375 MB / 0.6063 GB, free: 8.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009164/0.508, allocations: 2.338 MB / 0.6086 GB, free: 6.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.5094, allocations: 160 kB / 0.6087 GB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02731/0.5367, allocations: 7.99 MB / 0.6165 GB, free: 14.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.5398, allocations: 1.321 MB / 0.6178 GB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.5421, allocations: 0.7227 MB / 0.6185 GB, free: 12.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.5597, allocations: 7.179 MB / 0.6255 GB, free: 4.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5597, allocations: 0 / 0.6255 GB, free: 4.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5598, allocations: 0 / 0.6255 GB, free: 4.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.5599, allocations: 0 / 0.6255 GB, free: 4.848 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 725 * Number of variables: 725 Notification: Performance of Generate backend data structure: time 0.02263/0.5826, allocations: 4.505 MB / 0.6299 GB, free: 268 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.5826, allocations: 8.031 kB / 0.63 GB, free: 260 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/0.6017, allocations: 1.627 MB / 0.6315 GB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009022/0.6108, allocations: 2.484 MB / 0.634 GB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009445/0.6118, allocations: 429.7 kB / 0.6344 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/0.6134, allocations: 279.8 kB / 0.6346 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.6415, allocations: 6.517 MB / 0.641 GB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.6417, allocations: 15.88 kB / 0.641 GB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008033/0.6425, allocations: 116.7 kB / 0.6411 GB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/0.6428, allocations: 176.9 kB / 0.6413 GB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/0.6754, allocations: 7.149 MB / 0.6483 GB, free: 13.08 MB / 346.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.3084/0.9839, allocations: 22.33 MB / 0.6701 GB, free: 90.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02629/1.01, allocations: 5.686 MB / 0.6756 GB, free: 90.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/1.021, allocations: 2.962 MB / 0.6785 GB, free: 89.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003861/1.025, allocations: 1.487 MB / 0.68 GB, free: 87.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01929/1.044, allocations: 4.192 MB / 0.6841 GB, free: 86.88 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002907/1.047, allocations: 247.8 kB / 0.6843 GB, free: 86.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=358): time 1.393e-05/1.047, allocations: 0 / 0.6843 GB, free: 86.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=382): time 0.08859/1.136, allocations: 19.41 MB / 0.7033 GB, free: 77.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.136, allocations: 175.4 kB / 0.7034 GB, free: 77.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/1.14, allocations: 2.059 MB / 0.7055 GB, free: 75.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.141, allocations: 93.7 kB / 0.7055 GB, free: 75.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.142, allocations: 1.095 MB / 0.7066 GB, free: 73.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002444/1.145, allocations: 1.321 MB / 0.7079 GB, free: 72.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/1.145, allocations: 80 kB / 0.708 GB, free: 72.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/1.145, allocations: 487.1 kB / 0.7084 GB, free: 72.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009407/1.155, allocations: 2.694 MB / 0.7111 GB, free: 69.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.165, allocations: 3.558 MB / 0.7145 GB, free: 65.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.175, allocations: 3.153 MB / 0.7176 GB, free: 62.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/1.175, allocations: 4 kB / 0.7176 GB, free: 62.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.03022/1.206, allocations: 8.562 MB / 0.726 GB, free: 53.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.206, allocations: 109.6 kB / 0.7261 GB, free: 53.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/1.206, allocations: 24 kB / 0.7261 GB, free: 53.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02909/1.235, allocations: 3.902 MB / 0.7299 GB, free: 49.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/1.24, allocations: 0.6903 MB / 0.7306 GB, free: 48.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/1.264, allocations: 6.313 MB / 0.7368 GB, free: 42.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008558/1.272, allocations: 498.9 kB / 0.7372 GB, free: 42.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.273, allocations: 221.7 kB / 0.7375 GB, free: 41.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 47 (tube1.friction.DPMFLOW_IN_con.roughness,tube2.friction.DPMFLOW_IN_con.roughness,$whenCondition1,$whenCondition2,$whenCondition3,tube2.fluid[1].phase,tube2.fluid[2].phase,tube2.fluid[3].phase,tube2.fluid[4].phase,tube2.fluid[5].phase,tube2.fluid[6].phase,tube2.fluid[7].phase,tube2.fluid[8].phase,tube2.fluid[9].phase,tube2.fluid[10].phase,watersource_mh.medium.phase,watersink_ph.water.phase,InletMassFlowRate.originalTable.a,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.last,$PRE.InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,$PRE.OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,$PRE.InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.nextEvent,tube1.fluid[1].phase,tube1.fluid[2].phase,tube1.fluid[3].phase,tube1.fluid[4].phase,tube1.fluid[5].phase,tube1.fluid[6].phase,tube1.fluid[7].phase,tube1.fluid[8].phase,tube1.fluid[9].phase,tube1.fluid[10].phase,watersource_add.medium.phase,tube1.state_from_b.phase,tube1.state_from_a.phase,tube2.state_from_b.phase,tube2.state_from_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 381 * Array equations: 0 * Algorithm blocks: 3 * 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 {22 121} Notification: Performance of prepare postOptimizeDAE: time 0.003541/1.277, allocations: 1.077 MB / 0.7385 GB, free: 40.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.279, allocations: 288.8 kB / 0.7388 GB, free: 40.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03786/1.317, allocations: 15.96 MB / 0.7544 GB, free: 24.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/1.317, allocations: 19.92 kB / 0.7544 GB, free: 24.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.317, allocations: 4 kB / 0.7544 GB, free: 24.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/1.321, allocations: 1.193 MB / 0.7556 GB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/1.323, allocations: 128 kB / 0.7557 GB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008671/1.332, allocations: 0.6199 MB / 0.7563 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002214/1.334, allocations: 0.5533 MB / 0.7568 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0319/1.366, allocations: 10.88 MB / 0.7674 GB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03824/1.404, allocations: 14.64 MB / 0.7817 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01329/1.417, allocations: 4.939 MB / 0.7866 GB, free: 7.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003902/1.421, allocations: 1.415 MB / 0.788 GB, free: 6.016 MB / 362.7 MB Notification: Performance of Backend: time 1.372e-06/1.421, allocations: 0 / 0.788 GB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2838/1.705, allocations: 6.451 MB / 0.7943 GB, free: 110.5 MB / 362.7 MB Notification: Performance of SimCode: time 0.04257/1.748, allocations: 10.75 MB / 0.8048 GB, free: 105.7 MB / 362.7 MB Notification: Performance of Templates: time 0.2962/2.044, allocations: 111.9 MB / 0.9141 GB, free: 13.04 MB / 362.7 MB