Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.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.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") [: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.0009929/0.000993, allocations: 189.8 kB / 8.133 MB, free: 2.168 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.021/1.021, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.000877/0.000877, allocations: 91.62 kB / 261.8 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.286/0.286, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.688e-06, allocations: 7.938 kB / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09674, allocations: 60.25 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.095/4.192, allocations: 2.973 GB / 3.447 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/4.192, allocations: 78.33 kB / 3.447 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.084/5.276, allocations: 325.6 MB / 3.765 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.794e-05/5.276, allocations: 63.2 kB / 3.765 GB, free: 50.5 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: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.04485/5.321, allocations: 12.44 MB / 3.777 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/5.321, allocations: 9.375 kB / 3.777 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008131/5.329, allocations: 1.038 MB / 3.778 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009228/5.338, allocations: 3.351 MB / 3.781 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004834/5.343, allocations: 2.298 MB / 3.783 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/5.345, allocations: 205.2 kB / 3.784 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04065/5.386, allocations: 28.95 MB / 3.812 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/5.407, allocations: 14.51 MB / 3.826 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/5.407, allocations: 7.719 kB / 3.826 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/5.408, allocations: 0 / 3.826 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/5.408, allocations: 174.6 kB / 3.826 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/5.513, allocations: 73.79 MB / 3.898 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/5.527, allocations: 11.29 MB / 3.909 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/5.541, allocations: 10.29 MB / 3.919 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2649/5.806, allocations: 79.52 MB / 3.997 GB, free: 94.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/5.806, allocations: 75.31 kB / 3.997 GB, free: 94.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=371): time 4.779e-06/5.806, allocations: 0 / 3.997 GB, free: 94.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=373): time 0.06187/5.868, allocations: 35.59 MB / 4.032 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/5.868, allocations: 88.8 kB / 4.032 GB, free: 93.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/5.869, allocations: 483.7 kB / 4.032 GB, free: 93.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/5.87, allocations: 25.7 kB / 4.032 GB, free: 93.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/5.87, allocations: 0.7393 MB / 4.033 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/5.872, allocations: 1.223 MB / 4.034 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/5.873, allocations: 0 / 4.034 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000129/5.873, allocations: 488.2 kB / 4.035 GB, free: 92.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01071/5.884, allocations: 9.688 MB / 4.044 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/5.895, allocations: 10.06 MB / 4.054 GB, free: 86.14 MB / 0.5417 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.2971/6.192, allocations: 110.6 MB / 4.162 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/6.192, allocations: 0.75 kB / 4.162 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.3459/6.538, allocations: 74.94 MB / 4.235 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003129/6.538, allocations: 2.193 MB / 4.237 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/6.538, allocations: 3.844 kB / 4.237 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1817/6.72, allocations: 82.66 MB / 4.318 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/6.723, allocations: 0.5527 MB / 4.319 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04851/6.771, allocations: 41.3 MB / 4.359 GB, free: 90.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/6.791, allocations: 4.58 MB / 4.363 GB, free: 86.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/6.793, allocations: 431.7 kB / 4.364 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/6.793, allocations: 4 kB / 4.364 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2038/6.996, allocations: 72.92 MB / 4.435 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/6.997, allocations: 11.67 kB / 4.435 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3092/7.306, allocations: 82.65 MB / 4.516 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/7.308, allocations: 0.5336 MB / 4.516 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0486/7.357, allocations: 41.3 MB / 4.557 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/7.376, allocations: 4.573 MB / 4.561 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/7.378, allocations: 409.3 kB / 4.561 GB, free: 110.6 MB / 0.5417 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.hex.p = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002671/7.381, allocations: 176.6 kB / 4.562 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004194/7.385, allocations: 1.231 MB / 4.563 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0372/7.422, allocations: 30.83 MB / 4.593 GB, free: 95.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03038/7.453, allocations: 27.57 MB / 4.62 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/7.453, allocations: 8 kB / 4.62 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/7.453, allocations: 23.31 kB / 4.62 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2298/7.683, allocations: 68.32 MB / 4.687 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/7.683, allocations: 13.41 kB / 4.687 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02325/7.706, allocations: 5.473 MB / 4.692 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004232/7.71, allocations: 1.689 MB / 4.694 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001637/7.712, allocations: 407.4 kB / 4.694 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/7.729, allocations: 29.75 MB / 4.723 GB, free: 97.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/7.729, allocations: 14.41 kB / 4.723 GB, free: 97.67 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0531/7.783, allocations: 39.3 MB / 4.761 GB, free: 91.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004909/7.787, allocations: 2.527 MB / 4.764 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/7.79, allocations: 48.59 kB / 4.764 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01877/7.808, allocations: 4.537 MB / 4.768 GB, free: 90.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/7.81, allocations: 0.6332 MB / 4.769 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001653/7.812, allocations: 429 kB / 4.769 GB, free: 90.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003253/7.812, allocations: 350.2 kB / 4.77 GB, free: 90.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01293/7.825, allocations: 4.248 MB / 4.774 GB, free: 90.51 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,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: 82 ($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,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 43 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006121/7.831, allocations: 1.444 MB / 4.775 GB, free: 90.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04214/7.873, allocations: 36.01 MB / 4.81 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/7.873, allocations: 6.75 kB / 4.81 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01664/7.89, allocations: 17.22 MB / 4.827 GB, free: 67.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/7.894, allocations: 0.6459 MB / 4.828 GB, free: 67.44 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/7.928, allocations: 21.48 MB / 4.849 GB, free: 61.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008729/7.936, allocations: 3.863 MB / 4.853 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/7.936, allocations: 0 / 4.853 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.6658/8.602, allocations: 454.7 MB / 5.297 GB, free: 78.79 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)