Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") [: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.3+maint.om/package.mo): time 0.0009699/0.0009702, allocations: 190.9 kB / 8.137 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.067/1.067, allocations: 205.2 MB / 213.7 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 89.22 kB / 261.7 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3227/0.3227, allocations: 48.75 MB / 358.4 MB, free: 53.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.751e-06, allocations: 0 / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.507/4.615, allocations: 2.956 GB / 3.43 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/4.615, allocations: 82.06 kB / 3.43 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.316/5.931, allocations: 363.4 MB / 3.785 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001561/5.931, allocations: 51.36 kB / 3.785 GB, free: 54.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01737/5.948, allocations: 4.352 MB / 3.789 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.948, allocations: 11.28 kB / 3.789 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/5.954, allocations: 0.8435 MB / 3.79 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006794/5.961, allocations: 1.811 MB / 3.792 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/5.961, allocations: 95.22 kB / 3.792 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/5.963, allocations: 164.6 kB / 3.792 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01241/5.976, allocations: 6.064 MB / 3.798 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/5.987, allocations: 4.202 MB / 3.802 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/5.987, allocations: 0 / 3.802 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009483/5.988, allocations: 3.453 kB / 3.802 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/5.988, allocations: 166.5 kB / 3.802 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/6.019, allocations: 20.81 MB / 3.822 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005302/6.024, allocations: 3.538 MB / 3.826 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/6.027, allocations: 1.848 MB / 3.828 GB, free: 41.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1283/6.155, allocations: 64.08 MB / 3.89 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.462e-05/6.155, allocations: 65.25 kB / 3.89 GB, free: 32.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=273): time 6.562e-06/6.155, allocations: 1.219 kB / 3.89 GB, free: 32.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=273): time 0.01973/6.175, allocations: 6.742 MB / 3.897 GB, free: 31.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/6.175, allocations: 76.31 kB / 3.897 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/6.176, allocations: 495.6 kB / 3.897 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005555/6.177, allocations: 25.7 kB / 3.897 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/6.177, allocations: 0.7447 MB / 3.898 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/6.178, allocations: 0.9209 MB / 3.899 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/6.179, allocations: 2.969 kB / 3.899 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003253/6.179, allocations: 452.2 kB / 3.899 GB, free: 29.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/6.182, allocations: 1.614 MB / 3.901 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/6.184, allocations: 1.945 MB / 3.903 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/6.188, allocations: 1.924 MB / 3.905 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/6.188, allocations: 4 kB / 3.905 GB, free: 27.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01264/6.201, allocations: 6.568 MB / 3.911 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008308/6.202, allocations: 2.272 MB / 3.913 GB, free: 22.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/6.202, allocations: 9.438 kB / 3.913 GB, free: 22.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/6.215, allocations: 3.762 MB / 3.917 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/6.217, allocations: 278 kB / 3.917 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/6.235, allocations: 7.561 MB / 3.925 GB, free: 16.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/6.239, allocations: 390.5 kB / 3.925 GB, free: 16.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008278/6.24, allocations: 107.2 kB / 3.925 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/6.24, allocations: 4 kB / 3.925 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01125/6.251, allocations: 5.273 MB / 3.93 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.951e-05/6.251, allocations: 4 kB / 3.93 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/6.264, allocations: 3.77 MB / 3.934 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/6.266, allocations: 269.3 kB / 3.934 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/6.283, allocations: 7.557 MB / 3.942 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/6.286, allocations: 377.3 kB / 3.942 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/6.287, allocations: 105.1 kB / 3.942 GB, free: 1.871 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.001211/6.288, allocations: 151.7 kB / 3.942 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003776/6.292, allocations: 1.179 MB / 3.943 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2388/6.531, allocations: 13.73 MB / 3.957 GB, free: 133.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/6.531, allocations: 97.44 kB / 3.957 GB, free: 133.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/6.531, allocations: 14.5 kB / 3.957 GB, free: 133.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/6.531, allocations: 17.88 kB / 3.957 GB, free: 133.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/6.536, allocations: 4.788 MB / 3.962 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/6.536, allocations: 8.5 kB / 3.962 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/6.538, allocations: 400.3 kB / 3.962 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009216/6.547, allocations: 2.613 MB / 3.965 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/6.548, allocations: 84.53 kB / 3.965 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/6.566, allocations: 12.78 MB / 3.977 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/6.566, allocations: 0 / 3.977 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02552/6.592, allocations: 15.7 MB / 3.992 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/6.593, allocations: 0.6727 MB / 3.993 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/6.594, allocations: 32.31 kB / 3.993 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/6.596, allocations: 235.7 kB / 3.993 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/6.596, allocations: 169.5 kB / 3.994 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/6.596, allocations: 99.77 kB / 3.994 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004408/6.597, allocations: 358.3 kB / 3.994 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009757/6.606, allocations: 2.463 MB / 3.996 GB, free: 130.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 44 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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: 1 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006019/6.612, allocations: 1.606 MB / 3.998 GB, free: 130.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01435/6.627, allocations: 9.984 MB / 4.008 GB, free: 130 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/6.627, allocations: 3.938 kB / 4.008 GB, free: 130 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007358/6.634, allocations: 6.452 MB / 4.014 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/6.638, allocations: 0.61 MB / 4.015 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/6.651, allocations: 9.605 MB / 4.024 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/6.653, allocations: 2.451 MB / 4.026 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/6.653, allocations: 3.344 kB / 4.026 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1332/6.786, allocations: 99.7 MB / 4.124 GB, free: 88.89 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)