Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_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.TestGasFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_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.001009/0.001009, allocations: 191 kB / 8.133 MB, free: 2.199 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.345/1.345, 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.0008214/0.0008213, allocations: 98.22 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.3947/0.3947, allocations: 48.75 MB / 358.4 MB, free: 53.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 4.219 kB / 424.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 60.25 MB / 485 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9601/1.077, allocations: 456.3 MB / 0.9192 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.077, allocations: 77.3 kB / 0.9193 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6365/1.714, allocations: 226.9 MB / 1.141 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001486/1.714, allocations: 46.48 kB / 1.141 GB, free: 97.45 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.006679/1.72, allocations: 2.082 MB / 1.143 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.721, allocations: 7.438 kB / 1.143 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/1.725, allocations: 491.2 kB / 1.143 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/1.728, allocations: 1.188 MB / 1.145 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.728, allocations: 64.66 kB / 1.145 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009289/1.729, allocations: 124.8 kB / 1.145 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006141/1.736, allocations: 3.225 MB / 1.148 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/1.741, allocations: 2.93 MB / 1.151 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/1.742, allocations: 2.625 kB / 1.151 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005269/1.742, allocations: 6.219 kB / 1.151 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/1.742, allocations: 120.8 kB / 1.151 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/1.76, allocations: 12.54 MB / 1.163 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/1.763, allocations: 2.346 MB / 1.165 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/1.765, allocations: 1.163 MB / 1.167 GB, free: 88.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/1.765, allocations: 122.6 kB / 1.167 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.765, allocations: 65.56 kB / 1.167 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=202): time 5.39e-06/1.765, allocations: 0 / 1.167 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=205): time 0.01714/1.783, allocations: 6.89 MB / 1.173 GB, free: 87.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.783, allocations: 98.42 kB / 1.174 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/1.784, allocations: 0.6458 MB / 1.174 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.784, allocations: 29.27 kB / 1.174 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/1.784, allocations: 0.6871 MB / 1.175 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/1.785, allocations: 0.6867 MB / 1.176 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.785, allocations: 0 / 1.176 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.785, allocations: 439.5 kB / 1.176 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.787, allocations: 0.9885 MB / 1.177 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/1.789, allocations: 1.566 MB / 1.178 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/1.792, allocations: 1.64 MB / 1.18 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/1.792, allocations: 2.906 kB / 1.18 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.00654/1.798, allocations: 3.806 MB / 1.184 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/1.8, allocations: 6.267 MB / 1.19 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/1.8, allocations: 18.33 kB / 1.19 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007672/1.807, allocations: 2.165 MB / 1.192 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.809, allocations: 487.9 kB / 1.193 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/1.816, allocations: 5.78 MB / 1.198 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.818, allocations: 190.3 kB / 1.198 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/1.819, allocations: 167.5 kB / 1.199 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.819, allocations: 3.688 kB / 1.199 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00605/1.825, allocations: 3.592 MB / 1.202 GB, free: 71.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.386e-05/1.825, allocations: 17.25 kB / 1.202 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007636/1.832, allocations: 2.171 MB / 1.204 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.834, allocations: 472.8 kB / 1.205 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/1.841, allocations: 5.789 MB / 1.21 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.843, allocations: 183.8 kB / 1.21 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/1.843, allocations: 161.8 kB / 1.211 GB, free: 67.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.0007665/1.844, allocations: 156 kB / 1.211 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/1.845, allocations: 136.4 kB / 1.211 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009456/1.854, allocations: 4.069 MB / 1.215 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.854, allocations: 21.25 kB / 1.215 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/1.854, allocations: 6.781 kB / 1.215 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.854, allocations: 10.08 kB / 1.215 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.865, allocations: 5.486 MB / 1.22 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.865, allocations: 1.312 kB / 1.22 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.867, allocations: 468.2 kB / 1.221 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.87, allocations: 1.097 MB / 1.222 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.87, allocations: 58.03 kB / 1.222 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009275/1.88, allocations: 7.607 MB / 1.229 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.88, allocations: 3.906 kB / 1.229 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008193/1.888, allocations: 4.959 MB / 1.234 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/1.889, allocations: 191.5 kB / 1.234 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.889, allocations: 19.98 kB / 1.234 GB, free: 51.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.891, allocations: 130.1 kB / 1.234 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.891, allocations: 133.8 kB / 1.235 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.891, allocations: 151.6 kB / 1.235 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006169/1.892, allocations: 487.1 kB / 1.235 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003755/1.896, allocations: 1.023 MB / 1.236 GB, free: 49.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 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.001725/1.898, allocations: 1.109 MB / 1.237 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007905/1.905, allocations: 4.545 MB / 1.242 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.905, allocations: 8.906 kB / 1.242 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.908, allocations: 1.702 MB / 1.243 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.911, allocations: 0.4943 MB / 1.244 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/1.919, allocations: 3.926 MB / 1.248 GB, free: 38.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/1.921, allocations: 1.881 MB / 1.25 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.921, allocations: 0 / 1.25 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.2554/2.176, allocations: 60.05 MB / 1.308 GB, free: 144.5 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1)