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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",fmuType="me",version="2.0",platforms={"static"}) [: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.0009076/0.0009076, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.9803/0.9803, allocations: 205.2 MB / 213.7 MB, free: 13.83 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.0007944/0.0007943, allocations: 86.98 kB / 261.7 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2704/0.2704, allocations: 48.76 MB / 358.5 MB, free: 53.17 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.08512/0.3556, allocations: 66.36 MB / 424.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.4388, allocations: 60.26 MB / 485.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.807/4.246, allocations: 2.979 GB / 3.452 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/4.246, allocations: 74.73 kB / 3.452 GB, free: 82.03 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.9188/5.165, allocations: 304.8 MB / 3.75 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/5.165, allocations: 12.81 kB / 3.75 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/5.168, allocations: 0.5654 MB / 3.75 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/5.173, allocations: 1.762 MB / 3.752 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002084/5.175, allocations: 1.031 MB / 3.753 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008038/5.176, allocations: 108 kB / 3.753 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01717/5.193, allocations: 11.94 MB / 3.765 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/5.201, allocations: 6.726 MB / 3.772 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/5.201, allocations: 0 / 3.772 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006204/5.202, allocations: 3.938 kB / 3.772 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/5.202, allocations: 91.28 kB / 3.772 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04198/5.244, allocations: 34.67 MB / 3.805 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006048/5.25, allocations: 5.501 MB / 3.811 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005034/5.255, allocations: 4.631 MB / 3.815 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1383/5.393, allocations: 79.48 MB / 3.893 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/5.393, allocations: 54.25 kB / 3.893 GB, free: 17.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 3.226e-06/5.393, allocations: 0 / 3.893 GB, free: 17.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.03025/5.424, allocations: 16.58 MB / 3.909 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/5.424, allocations: 71.28 kB / 3.909 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/5.424, allocations: 401.4 kB / 3.91 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007543/5.425, allocations: 25.7 kB / 3.91 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/5.425, allocations: 461.1 kB / 3.91 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/5.426, allocations: 0.6417 MB / 3.911 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/5.427, allocations: 4 kB / 3.911 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001338/5.427, allocations: 407.7 kB / 3.911 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005231/5.432, allocations: 4.363 MB / 3.915 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/5.438, allocations: 4.585 MB / 3.92 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/5.443, allocations: 3.322 MB / 3.923 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/5.443, allocations: 1.688 kB / 3.923 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.2045/5.648, allocations: 28.86 MB / 3.951 GB, free: 132.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/5.648, allocations: 1.318 MB / 3.953 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/5.648, allocations: 6.656 kB / 3.953 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1251/5.773, allocations: 47.4 MB / 3.999 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/5.775, allocations: 296.9 kB / 3.999 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/5.797, allocations: 15.35 MB / 4.014 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009369/5.807, allocations: 2.062 MB / 4.016 GB, free: 128 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/5.807, allocations: 200.4 kB / 4.016 GB, free: 128 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/5.807, allocations: 4.125 kB / 4.016 GB, free: 128 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06994/5.877, allocations: 27.24 MB / 4.043 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/5.877, allocations: 7.453 kB / 4.043 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1254/6.003, allocations: 47.4 MB / 4.089 GB, free: 97.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/6.004, allocations: 292.3 kB / 4.09 GB, free: 97.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/6.027, allocations: 15.38 MB / 4.105 GB, free: 85.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/6.036, allocations: 2.06 MB / 4.107 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/6.037, allocations: 198.2 kB / 4.107 GB, free: 83.75 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.001274/6.039, allocations: 124.8 kB / 4.107 GB, free: 83.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/6.041, allocations: 0.667 MB / 4.108 GB, free: 83.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/6.059, allocations: 13.8 MB / 4.121 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01673/6.076, allocations: 12.28 MB / 4.133 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/6.076, allocations: 4 kB / 4.133 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/6.076, allocations: 10.41 kB / 4.133 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.158/6.234, allocations: 26.89 MB / 4.159 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/6.234, allocations: 5.094 kB / 4.159 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/6.245, allocations: 2.457 MB / 4.162 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004039/6.249, allocations: 1.12 MB / 4.163 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007751/6.25, allocations: 189.2 kB / 4.163 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/6.257, allocations: 5.678 MB / 4.169 GB, free: 131 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/6.257, allocations: 4.891 kB / 4.169 GB, free: 131 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02543/6.283, allocations: 17.56 MB / 4.186 GB, free: 130.2 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03301/6.316, allocations: 25.36 MB / 4.21 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/6.318, allocations: 1.187 MB / 4.212 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009773/6.319, allocations: 29.3 kB / 4.212 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008795/6.328, allocations: 2.027 MB / 4.214 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/6.329, allocations: 297.5 kB / 4.214 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006941/6.33, allocations: 200.9 kB / 4.214 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0002748/6.33, allocations: 305.2 kB / 4.214 GB, free: 125.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008569/6.339, allocations: 2.625 MB / 4.217 GB, free: 125.7 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.004397/6.343, allocations: 1.471 MB / 4.218 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0197/6.363, allocations: 16.43 MB / 4.234 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/6.363, allocations: 0 / 4.234 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007847/6.371, allocations: 7.238 MB / 4.241 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/6.373, allocations: 375.8 kB / 4.242 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/6.389, allocations: 9.743 MB / 4.251 GB, free: 113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004064/6.393, allocations: 2.185 MB / 4.253 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/6.393, allocations: 0 / 4.253 GB, free: 112.1 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)