Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.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_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") [: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.001009/0.001009, allocations: 191.9 kB / 8.137 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.234/1.234, allocations: 205.2 MB / 213.7 MB, free: 13.91 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.0009859/0.0009859, allocations: 98.89 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4189/0.4189, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.267e-06, allocations: 3.938 kB / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 60.25 MB / 485 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.619/4.76, allocations: 2.965 GB / 3.439 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/4.76, allocations: 73.8 kB / 3.439 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.017/5.777, allocations: 376.3 MB / 3.806 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.655e-05/5.777, allocations: 41.91 kB / 3.806 GB, free: 49.12 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.009479/5.787, allocations: 2.84 MB / 3.809 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/5.787, allocations: 10.97 kB / 3.809 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/5.79, allocations: 0.5939 MB / 3.81 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/5.793, allocations: 1.309 MB / 3.811 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/5.794, allocations: 58.78 kB / 3.811 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/5.794, allocations: 112.7 kB / 3.811 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004762/5.799, allocations: 3.697 MB / 3.815 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/5.802, allocations: 2.925 MB / 3.818 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/5.803, allocations: 3.906 kB / 3.818 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/5.803, allocations: 0 / 3.818 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/5.803, allocations: 105.7 kB / 3.818 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/5.815, allocations: 12.57 MB / 3.83 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/5.82, allocations: 2.883 MB / 3.833 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/5.821, allocations: 1.422 MB / 3.834 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3477/6.169, allocations: 113 MB / 3.945 GB, free: 143 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/6.169, allocations: 55.5 kB / 3.945 GB, free: 143 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=244): time 4.098e-06/6.169, allocations: 0 / 3.945 GB, free: 143 MB / 0.5573 GB Notification: Performance of matching and sorting (n=244): time 0.01119/6.18, allocations: 4.632 MB / 3.949 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/6.18, allocations: 75.72 kB / 3.949 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/6.181, allocations: 398.8 kB / 3.95 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/6.181, allocations: 29.45 kB / 3.95 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/6.181, allocations: 471 kB / 3.95 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000595/6.182, allocations: 0.8028 MB / 3.951 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/6.182, allocations: 0 / 3.951 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001279/6.182, allocations: 425.7 kB / 3.951 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/6.184, allocations: 1.263 MB / 3.952 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/6.185, allocations: 1.518 MB / 3.954 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/6.19, allocations: 1.996 MB / 3.956 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/6.19, allocations: 3.312 kB / 3.956 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01023/6.2, allocations: 5.55 MB / 3.961 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/6.2, allocations: 1.404 MB / 3.963 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/6.2, allocations: 3.531 kB / 3.963 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/6.215, allocations: 4.086 MB / 3.967 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/6.216, allocations: 119.4 kB / 3.967 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/6.23, allocations: 7.455 MB / 3.974 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/6.232, allocations: 252.1 kB / 3.974 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/6.232, allocations: 92.41 kB / 3.974 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/6.232, allocations: 7.25 kB / 3.974 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009223/6.241, allocations: 4.802 MB / 3.979 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/6.241, allocations: 6.781 kB / 3.979 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/6.256, allocations: 4.093 MB / 3.983 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/6.257, allocations: 105.4 kB / 3.983 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/6.269, allocations: 7.456 MB / 3.991 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/6.27, allocations: 235.9 kB / 3.991 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/6.271, allocations: 96.41 kB / 3.991 GB, free: 138.4 MB / 0.5573 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 (hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.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 (63): * Single equations (assignments): 62 * 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 202} Notification: Performance of prepare postOptimizeDAE: time 0.0004927/6.271, allocations: 127.7 kB / 3.991 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/6.273, allocations: 0.6709 MB / 3.992 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/6.285, allocations: 8.733 MB / 4 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/6.285, allocations: 62.12 kB / 4 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/6.285, allocations: 10.06 kB / 4 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/6.285, allocations: 10.88 kB / 4 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/6.289, allocations: 3.236 MB / 4.003 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/6.289, allocations: 0 / 4.003 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/6.291, allocations: 396.5 kB / 4.004 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/6.294, allocations: 0.9628 MB / 4.005 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/6.294, allocations: 60.69 kB / 4.005 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/6.302, allocations: 5.3 MB / 4.01 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.302, allocations: 2.969 kB / 4.01 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01596/6.318, allocations: 10.14 MB / 4.02 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/6.319, allocations: 0.5851 MB / 4.02 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/6.319, allocations: 13.66 kB / 4.02 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/6.32, allocations: 116.6 kB / 4.021 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/6.321, allocations: 148.2 kB / 4.021 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/6.321, allocations: 90.19 kB / 4.021 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0003245/6.321, allocations: 302.9 kB / 4.021 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006164/6.327, allocations: 2.018 MB / 4.023 GB, free: 135.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * 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.0069/6.334, allocations: 1.818 MB / 4.025 GB, free: 135 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009154/6.343, allocations: 6.715 MB / 4.031 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/6.343, allocations: 3.156 kB / 4.031 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004528/6.348, allocations: 3.921 MB / 4.035 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/6.351, allocations: 496.9 kB / 4.036 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/6.36, allocations: 5.897 MB / 4.041 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/6.362, allocations: 1.891 MB / 4.043 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/6.362, allocations: 3.609 kB / 4.043 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1037/6.465, allocations: 89.88 MB / 4.131 GB, free: 79.81 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe 2>&1)