Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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.0009639/0.0009639, allocations: 190.9 kB / 8.135 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 0.9902/0.9902, 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.0008351/0.0008351, allocations: 93.61 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.2796/0.2796, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 5.741e-06/5.761e-06, allocations: 0 / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09155, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.122/4.214, allocations: 2.979 GB / 3.452 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/4.214, allocations: 75.86 kB / 3.452 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9646/5.179, allocations: 298.7 MB / 3.744 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.547e-05/5.179, allocations: 37.77 kB / 3.744 GB, free: 53.36 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02456/5.203, allocations: 5.976 MB / 3.75 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/5.203, allocations: 7.906 kB / 3.75 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/5.209, allocations: 0.5624 MB / 3.75 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/5.215, allocations: 1.767 MB / 3.752 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003302/5.218, allocations: 1.032 MB / 3.753 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/5.22, allocations: 114.2 kB / 3.753 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02085/5.241, allocations: 11.94 MB / 3.765 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/5.252, allocations: 6.727 MB / 3.771 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/5.252, allocations: 0 / 3.771 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008146/5.252, allocations: 3.844 kB / 3.771 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-05/5.253, allocations: 92.28 kB / 3.772 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04456/5.297, allocations: 34.66 MB / 3.805 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/5.304, allocations: 5.501 MB / 3.811 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005366/5.31, allocations: 4.631 MB / 3.815 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/5.456, allocations: 79.48 MB / 3.893 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/5.456, allocations: 60.88 kB / 3.893 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 4.449e-06/5.456, allocations: 0 / 3.893 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.04003/5.496, allocations: 16.58 MB / 3.909 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/5.496, allocations: 72.19 kB / 3.909 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/5.497, allocations: 406.7 kB / 3.91 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008085/5.498, allocations: 25.7 kB / 3.91 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/5.498, allocations: 458.6 kB / 3.91 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/5.499, allocations: 0.6429 MB / 3.911 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/5.5, allocations: 0 / 3.911 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001689/5.5, allocations: 416.9 kB / 3.911 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005459/5.505, allocations: 4.357 MB / 3.915 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006157/5.511, allocations: 4.583 MB / 3.92 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/5.517, allocations: 3.333 MB / 3.923 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/5.517, allocations: 0 / 3.923 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.2247/5.742, allocations: 28.72 MB / 3.951 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002653/5.742, allocations: 1.308 MB / 3.952 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/5.742, allocations: 8.469 kB / 3.952 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1267/5.869, allocations: 47.4 MB / 3.999 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/5.871, allocations: 302.3 kB / 3.999 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02831/5.899, allocations: 15.36 MB / 4.014 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009793/5.909, allocations: 2.057 MB / 4.016 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/5.91, allocations: 201.5 kB / 4.016 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/5.91, allocations: 3.75 kB / 4.016 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07396/5.984, allocations: 27.24 MB / 4.043 GB, free: 126 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/5.984, allocations: 3.031 kB / 4.043 GB, free: 126 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1317/6.116, allocations: 47.4 MB / 4.089 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/6.117, allocations: 291.9 kB / 4.089 GB, free: 97.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/6.148, allocations: 15.37 MB / 4.104 GB, free: 85.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/6.158, allocations: 2.061 MB / 4.106 GB, free: 83.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/6.159, allocations: 195.4 kB / 4.107 GB, free: 83.83 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (121): * Single equations (assignments): 120 * 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 89} Notification: Performance of prepare postOptimizeDAE: time 0.002366/6.162, allocations: 123.1 kB / 4.107 GB, free: 83.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003038/6.165, allocations: 0.662 MB / 4.107 GB, free: 83.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/6.187, allocations: 13.81 MB / 4.121 GB, free: 72.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01684/6.204, allocations: 12.28 MB / 4.133 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/6.204, allocations: 4 kB / 4.133 GB, free: 61.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/6.204, allocations: 10.64 kB / 4.133 GB, free: 61.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1841/6.388, allocations: 26.84 MB / 4.159 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/6.388, allocations: 7.562 kB / 4.159 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01053/6.399, allocations: 2.466 MB / 4.161 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/6.403, allocations: 1.114 MB / 4.163 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/6.404, allocations: 195 kB / 4.163 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00757/6.411, allocations: 5.664 MB / 4.168 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/6.411, allocations: 9.5 kB / 4.168 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0286/6.44, allocations: 17.56 MB / 4.185 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/6.443, allocations: 1.185 MB / 4.187 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/6.445, allocations: 27.75 kB / 4.187 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00981/6.454, allocations: 2.035 MB / 4.189 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/6.456, allocations: 304.2 kB / 4.189 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001318/6.457, allocations: 205 kB / 4.189 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003433/6.457, allocations: 297.6 kB / 4.189 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009671/6.467, allocations: 2.432 MB / 4.192 GB, free: 129.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,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: 22 ($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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.006855/6.474, allocations: 1.461 MB / 4.193 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02206/6.496, allocations: 16.43 MB / 4.209 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/6.496, allocations: 3.969 kB / 4.209 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008565/6.505, allocations: 7.242 MB / 4.216 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/6.507, allocations: 382.3 kB / 4.217 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/6.525, allocations: 9.722 MB / 4.226 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/6.529, allocations: 2.139 MB / 4.228 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of SimCode: time 6.82e-07/6.529, allocations: 2.625 kB / 4.228 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.359/6.888, allocations: 220 MB / 4.443 GB, free: 118.1 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)