Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.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_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") [: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.001517/0.001517, allocations: 188.5 kB / 8.134 MB, free: 2.195 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.123/1.123, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0009411/0.0009413, allocations: 94.44 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.331/0.331, allocations: 48.76 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.753e-06, allocations: 224 / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.889/4.991, allocations: 2.965 GB / 3.439 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/4.991, allocations: 77.8 kB / 3.439 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213/6.204, allocations: 370.8 MB / 3.801 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.584e-05/6.204, allocations: 29.91 kB / 3.801 GB, free: 57.32 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01362/6.218, allocations: 2.561 MB / 3.803 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/6.218, allocations: 13.47 kB / 3.803 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/6.221, allocations: 486.3 kB / 3.804 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/6.225, allocations: 1.146 MB / 3.805 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/6.226, allocations: 51.97 kB / 3.805 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008111/6.226, allocations: 93.91 kB / 3.805 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0054/6.232, allocations: 2.751 MB / 3.808 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/6.237, allocations: 2.293 MB / 3.81 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/6.237, allocations: 6.281 kB / 3.81 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/6.238, allocations: 3.562 kB / 3.81 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/6.238, allocations: 86.77 kB / 3.81 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/6.254, allocations: 11.05 MB / 3.821 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/6.256, allocations: 1.99 MB / 3.823 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/6.257, allocations: 0.9806 MB / 3.824 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1561/6.413, allocations: 80.05 MB / 3.902 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/6.413, allocations: 49.56 kB / 3.902 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=158): time 4.037e-06/6.413, allocations: 0 / 3.902 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158): time 0.00925/6.423, allocations: 3.214 MB / 3.905 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/6.423, allocations: 68.31 kB / 3.905 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/6.423, allocations: 410.4 kB / 3.906 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/6.424, allocations: 31.08 kB / 3.906 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/6.424, allocations: 466.2 kB / 3.906 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/6.425, allocations: 0.5257 MB / 3.907 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/6.425, allocations: 0 / 3.907 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002467/6.425, allocations: 408 kB / 3.907 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/6.427, allocations: 0.8773 MB / 3.908 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/6.428, allocations: 1.095 MB / 3.909 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/6.431, allocations: 1.051 MB / 3.91 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/6.431, allocations: 1.156 kB / 3.91 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00866/6.439, allocations: 3.698 MB / 3.914 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007717/6.44, allocations: 1.414 MB / 3.915 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/6.44, allocations: 7.938 kB / 3.915 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008163/6.448, allocations: 2.39 MB / 3.917 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/6.449, allocations: 121.8 kB / 3.917 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009375/6.458, allocations: 4.796 MB / 3.922 GB, free: 17.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/6.46, allocations: 220.4 kB / 3.922 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/6.461, allocations: 71.52 kB / 3.922 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/6.461, allocations: 4 kB / 3.922 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005436/6.466, allocations: 2.982 MB / 3.925 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/6.466, allocations: 3.906 kB / 3.925 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007486/6.474, allocations: 2.42 MB / 3.928 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/6.474, allocations: 117.6 kB / 3.928 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2037/6.678, allocations: 4.79 MB / 3.932 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/6.68, allocations: 202.3 kB / 3.933 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004594/6.68, allocations: 64.45 kB / 3.933 GB, free: 139.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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 (67): * Single equations (assignments): 66 * 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 {10 113} Notification: Performance of prepare postOptimizeDAE: time 0.0007301/6.681, allocations: 128.9 kB / 3.933 GB, free: 139.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/6.683, allocations: 0.6466 MB / 3.933 GB, free: 139.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009346/6.693, allocations: 6.973 MB / 3.94 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/6.693, allocations: 58.16 kB / 3.94 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/6.693, allocations: 3.906 kB / 3.94 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/6.693, allocations: 13.02 kB / 3.94 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/6.696, allocations: 2.686 MB / 3.943 GB, free: 139 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/6.696, allocations: 0 / 3.943 GB, free: 139 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/6.697, allocations: 244.6 kB / 3.943 GB, free: 139 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/6.701, allocations: 0.9583 MB / 3.944 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/6.701, allocations: 50.31 kB / 3.944 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007817/6.709, allocations: 5.32 MB / 3.949 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.709, allocations: 0 / 3.949 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01313/6.722, allocations: 8.019 MB / 3.957 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/6.723, allocations: 444.2 kB / 3.958 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/6.723, allocations: 14.5 kB / 3.958 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/6.725, allocations: 112.6 kB / 3.958 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/6.725, allocations: 106.4 kB / 3.958 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/6.725, allocations: 68.44 kB / 3.958 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003833/6.726, allocations: 307.8 kB / 3.958 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006415/6.732, allocations: 1.733 MB / 3.96 GB, free: 136.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00707/6.739, allocations: 1.638 MB / 3.962 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008055/6.747, allocations: 5.235 MB / 3.967 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/6.747, allocations: 1.031 kB / 3.967 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/6.751, allocations: 3.393 MB / 3.97 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/6.754, allocations: 400.4 kB / 3.97 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/6.763, allocations: 5.122 MB / 3.975 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/6.765, allocations: 1.686 MB / 3.977 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/6.765, allocations: 0 / 3.977 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.0972/6.862, allocations: 69.02 MB / 4.044 GB, free: 132.4 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)