Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") [: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.00102/0.00102, allocations: 193.1 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.393/1.393, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.00137/0.00137, allocations: 100.1 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.3954/0.3954, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.728e-06/9.768e-06, allocations: 4 kB / 424.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 60.26 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.955/5.078, allocations: 3.283 GB / 3.757 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/5.078, allocations: 80.52 kB / 3.757 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.892/7.971, allocations: 1.335 GB / 5.092 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000109/7.971, allocations: 55.09 kB / 5.092 GB, free: 42.09 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.0136/7.984, allocations: 3.852 MB / 5.096 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/7.985, allocations: 8.031 kB / 5.096 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/7.986, allocations: 257.2 kB / 5.096 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/7.991, allocations: 1.558 MB / 5.098 GB, free: 36.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/7.992, allocations: 74.95 kB / 5.098 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/7.993, allocations: 139.9 kB / 5.098 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008743/8.001, allocations: 5.561 MB / 5.104 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/8.007, allocations: 3.61 MB / 5.107 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/8.008, allocations: 0 / 5.107 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/8.008, allocations: 4 kB / 5.107 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/8.008, allocations: 140.9 kB / 5.107 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/8.026, allocations: 15.14 MB / 5.122 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/8.03, allocations: 3.955 MB / 5.126 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/8.032, allocations: 1.905 MB / 5.128 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1734/8.205, allocations: 10.02 MB / 5.138 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/8.205, allocations: 64.2 kB / 5.138 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 4.338e-06/8.205, allocations: 0 / 5.138 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.01009/8.215, allocations: 4.939 MB / 5.142 GB, free: 108 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/8.215, allocations: 79.38 kB / 5.143 GB, free: 108 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/8.216, allocations: 0.6316 MB / 5.143 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/8.216, allocations: 29.36 kB / 5.143 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/8.217, allocations: 0.7694 MB / 5.144 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006029/8.217, allocations: 0.8154 MB / 5.145 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/8.218, allocations: 2.062 kB / 5.145 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001299/8.218, allocations: 455.7 kB / 5.145 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/8.219, allocations: 1.372 MB / 5.147 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/8.221, allocations: 2.015 MB / 5.148 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/8.224, allocations: 1.806 MB / 5.15 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/8.224, allocations: 3.969 kB / 5.15 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007044/8.231, allocations: 4.386 MB / 5.155 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/8.232, allocations: 7.14 MB / 5.162 GB, free: 97.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/8.232, allocations: 20.03 kB / 5.162 GB, free: 97.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/8.235, allocations: 1.113 MB / 5.163 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/8.238, allocations: 489 kB / 5.163 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/8.245, allocations: 12.07 MB / 5.175 GB, free: 87.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/8.248, allocations: 326.7 kB / 5.175 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/8.249, allocations: 115.8 kB / 5.175 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/8.249, allocations: 3.844 kB / 5.175 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006816/8.255, allocations: 4.121 MB / 5.179 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/8.255, allocations: 19.16 kB / 5.179 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/8.258, allocations: 1.113 MB / 5.18 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/8.26, allocations: 480.6 kB / 5.181 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/8.268, allocations: 12.06 MB / 5.193 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/8.27, allocations: 275.2 kB / 5.193 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/8.271, allocations: 116.9 kB / 5.193 GB, free: 77.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 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 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006363/8.271, allocations: 172.9 kB / 5.193 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/8.272, allocations: 145.5 kB / 5.193 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/8.283, allocations: 5.555 MB / 5.199 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/8.283, allocations: 24.58 kB / 5.199 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/8.283, allocations: 18.91 kB / 5.199 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/8.283, allocations: 10.92 kB / 5.199 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/8.287, allocations: 2.256 MB / 5.201 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/8.287, allocations: 0 / 5.201 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/8.288, allocations: 330.8 kB / 5.201 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00869/8.297, allocations: 2.659 MB / 5.204 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004679/8.298, allocations: 72.8 kB / 5.204 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/8.315, allocations: 10.13 MB / 5.214 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/8.315, allocations: 0 / 5.214 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01271/8.327, allocations: 7.221 MB / 5.221 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/8.329, allocations: 0.5652 MB / 5.221 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/8.329, allocations: 32.94 kB / 5.222 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/8.331, allocations: 142.5 kB / 5.222 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/8.331, allocations: 144 kB / 5.222 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/8.331, allocations: 85.02 kB / 5.222 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000485/8.332, allocations: 462.7 kB / 5.222 GB, free: 74.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004061/8.336, allocations: 1.455 MB / 5.224 GB, free: 74.45 MB / 0.5105 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005254/8.336, allocations: 345.6 kB / 5.224 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01104/8.347, allocations: 6.256 MB / 5.23 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/8.347, allocations: 3.812 kB / 5.23 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/8.352, allocations: 2.538 MB / 5.233 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/8.356, allocations: 0.7748 MB / 5.233 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/8.364, allocations: 5.315 MB / 5.239 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/8.366, allocations: 1.864 MB / 5.24 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/8.366, allocations: 1.031 kB / 5.24 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.07993/8.446, allocations: 63.96 MB / 5.303 GB, free: 65.5 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1)