Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo", uses=false) Using package SiemensPower with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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") translateModel(SiemensPower.Components.Pipes.Tests.TubeWithoutWall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003593/0.003593, allocations: 178.8 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.187/1.187, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001698/0.001698, allocations: 101.2 kB / 217.7 MB, free: 8.172 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo): time 0.02667/0.02667, allocations: 5.615 MB / 262.4 MB, free: 26.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/7.023e-06, allocations: 0 / 308.5 MB, free: 11.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 40.04 MB / 348.5 MB, free: 36.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.742/6.996, allocations: 2.901 GB / 3.241 GB, free: 106.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/6.996, allocations: 52.97 kB / 3.241 GB, free: 106.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.884/9.88, allocations: 0.9459 GB / 4.187 GB, free: 26.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002082/9.88, allocations: 63.28 kB / 4.187 GB, free: 26.76 MB / 394.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.0159/9.896, allocations: 4.253 MB / 4.191 GB, free: 22.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/9.896, allocations: 12.03 kB / 4.191 GB, free: 22.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/9.911, allocations: 1.75 MB / 4.193 GB, free: 20.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/9.923, allocations: 3.178 MB / 4.196 GB, free: 17.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007296/9.923, allocations: 360.1 kB / 4.196 GB, free: 17.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/9.925, allocations: 167.9 kB / 4.197 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/9.935, allocations: 5.371 MB / 4.202 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009449/9.945, allocations: 4.737 MB / 4.206 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/9.945, allocations: 11.88 kB / 4.206 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009446/9.946, allocations: 12 kB / 4.206 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/9.946, allocations: 117 kB / 4.207 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1603/10.11, allocations: 24.95 MB / 4.231 GB, free: 56.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00498/10.11, allocations: 3.762 MB / 4.235 GB, free: 55.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/10.11, allocations: 2.583 MB / 4.237 GB, free: 55.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/10.12, allocations: 1.441 MB / 4.238 GB, free: 54.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00407/10.12, allocations: 2.805 MB / 4.241 GB, free: 54.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=358): time 7.935e-06/10.12, allocations: 0 / 4.241 GB, free: 54.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=382): time 0.03323/10.15, allocations: 14.38 MB / 4.255 GB, free: 53.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/10.15, allocations: 175.7 kB / 4.255 GB, free: 53.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/10.16, allocations: 1.739 MB / 4.257 GB, free: 53.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007681/10.16, allocations: 29.55 kB / 4.257 GB, free: 53.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006792/10.16, allocations: 0.8702 MB / 4.258 GB, free: 52.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/10.16, allocations: 1.264 MB / 4.259 GB, free: 51.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/10.16, allocations: 2.906 kB / 4.259 GB, free: 51.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/10.16, allocations: 468 kB / 4.26 GB, free: 51.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/10.16, allocations: 2.524 MB / 4.262 GB, free: 51.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/10.17, allocations: 3.35 MB / 4.265 GB, free: 50.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006525/10.17, allocations: 2.944 MB / 4.268 GB, free: 50.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-05/10.17, allocations: 3.969 kB / 4.268 GB, free: 50.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.01796/10.19, allocations: 8.852 MB / 4.277 GB, free: 50.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/10.19, allocations: 3.375 kB / 4.277 GB, free: 50.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/10.19, allocations: 27.86 kB / 4.277 GB, free: 50.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/10.2, allocations: 3.146 MB / 4.28 GB, free: 50.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/10.21, allocations: 0.6571 MB / 4.281 GB, free: 50.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/10.22, allocations: 6.994 MB / 4.288 GB, free: 49.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005152/10.23, allocations: 418.7 kB / 4.288 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000962/10.23, allocations: 221.9 kB / 4.288 GB, free: 49.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 363 * 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.001677/10.23, allocations: 317.6 kB / 4.288 GB, free: 49.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004952/10.23, allocations: 1.374 MB / 4.29 GB, free: 49.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/10.25, allocations: 16.02 MB / 4.305 GB, free: 48.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-05/10.25, allocations: 126.4 kB / 4.306 GB, free: 48.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/10.25, allocations: 3.906 kB / 4.306 GB, free: 48.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-05/10.26, allocations: 21.56 kB / 4.306 GB, free: 48.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0334/10.29, allocations: 24.89 MB / 4.33 GB, free: 37.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/10.29, allocations: 7.156 kB / 4.33 GB, free: 37.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005179/10.29, allocations: 0.9952 MB / 4.331 GB, free: 37.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/10.3, allocations: 0.8366 MB / 4.332 GB, free: 37.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009076/10.3, allocations: 153.6 kB / 4.332 GB, free: 37.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/10.3, allocations: 3.539 MB / 4.335 GB, free: 34.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/10.3, allocations: 11.78 kB / 4.335 GB, free: 34.92 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02703/10.33, allocations: 17.17 MB / 4.352 GB, free: 22.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/10.33, allocations: 1.26 MB / 4.353 GB, free: 21.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/10.33, allocations: 74.48 kB / 4.353 GB, free: 21.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00521/10.34, allocations: 431.3 kB / 4.354 GB, free: 21.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/10.34, allocations: 0.5059 MB / 4.354 GB, free: 20.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007421/10.34, allocations: 192.7 kB / 4.354 GB, free: 20.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002022/10.34, allocations: 1.268 MB / 4.356 GB, free: 19.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00937/10.35, allocations: 2.377 MB / 4.358 GB, free: 17.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 27 (tube2.fluid[1].h,tube2.fluid[2].h,tube2.fluid[3].h,tube2.fluid[4].h,tube2.fluid[5].h,tube2.fluid[6].h,tube2.fluid[7].h,tube2.fluid[8].h,tube2.fluid[9].p,tube2.fluid[9].h,tube2.fluid[10].h,tube2.m_flows[1],InletMassFlowRate.C1signal.y,OutletPressure.C1signal.y,InletEnthalpy.C1signal.y,tube1.fluid[1].h,tube1.fluid[2].h,tube1.fluid[3].h,tube1.fluid[4].h,tube1.fluid[5].h,tube1.fluid[6].h,tube1.fluid[7].h,tube1.fluid[8].h,tube1.fluid[9].p,tube1.fluid[9].h,tube1.fluid[10].h,tube1.m_flows[1]) * Number of discrete variables: 92 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse69.phase,$cse69.region,$cse70.phase,$cse70.region,$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,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,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) * Number of discrete states: 15 (InletMassFlowRate.originalTable.last,InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.a,$whenCondition3,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.b,OutletPressure.originalTable.a,$whenCondition2,InletEnthalpy.originalTable.last,InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009369/10.36, allocations: 2.347 MB / 4.36 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01447/10.38, allocations: 9.815 MB / 4.37 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/10.38, allocations: 4 kB / 4.37 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1596/10.53, allocations: 10.25 MB / 4.38 GB, free: 63.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007889/10.54, allocations: 1.353 MB / 4.381 GB, free: 63.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/10.56, allocations: 12.31 MB / 4.393 GB, free: 62.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003663/10.56, allocations: 3.144 MB / 4.396 GB, free: 61.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/10.56, allocations: 0 / 4.396 GB, free: 61.52 MB / 394.7 MB Notification: Performance of Templates: time 0.1602/10.72, allocations: 124.6 MB / 4.518 GB, free: 17.53 MB / 394.7 MB make -j1 -f SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.makefile (rm -f SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.pipe ; mkfifo SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.pipe ; head -c 1048576 < SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.pipe >> ../files/SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.sim & ./SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall -abortSlowSimulation -alarm=480 -lv LOG_STATS > SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.pipe 2>&1)