Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") [: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.001024/0.001024, allocations: 190.4 kB / 8.136 MB, free: 2.219 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.022/1.022, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008477/0.0008478, allocations: 86.23 kB / 261.7 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.2856/0.2856, allocations: 48.75 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.114e-06, allocations: 224 / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09978, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.068/4.168, allocations: 2.965 GB / 3.439 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/4.168, allocations: 82.06 kB / 3.439 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9619/5.13, allocations: 360.6 MB / 3.791 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.964e-05/5.13, allocations: 28.91 kB / 3.791 GB, free: 54.54 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005634/5.135, allocations: 1.753 MB / 3.793 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/5.136, allocations: 7.688 kB / 3.793 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/5.137, allocations: 252.5 kB / 3.793 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/5.138, allocations: 0.7121 MB / 3.794 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/5.138, allocations: 28.91 kB / 3.794 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/5.138, allocations: 49.66 kB / 3.794 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/5.14, allocations: 1.04 MB / 3.795 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/5.141, allocations: 1.053 MB / 3.796 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/5.141, allocations: 9.375 kB / 3.796 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/5.141, allocations: 0 / 3.796 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/5.141, allocations: 42.78 kB / 3.796 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/5.145, allocations: 4.614 MB / 3.801 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/5.146, allocations: 0.76 MB / 3.801 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/5.147, allocations: 383.7 kB / 3.802 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1427/5.289, allocations: 80.16 MB / 3.88 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/5.289, allocations: 44.47 kB / 3.88 GB, free: 32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=72): time 3.447e-06/5.29, allocations: 0 / 3.88 GB, free: 32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.003567/5.293, allocations: 1.283 MB / 3.881 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/5.293, allocations: 58.59 kB / 3.881 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/5.294, allocations: 353.1 kB / 3.882 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/5.294, allocations: 25.7 kB / 3.882 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/5.294, allocations: 315.8 kB / 3.882 GB, free: 31.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/5.294, allocations: 243.7 kB / 3.882 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/5.294, allocations: 1.031 kB / 3.882 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001356/5.294, allocations: 373.8 kB / 3.883 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/5.295, allocations: 339.5 kB / 3.883 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/5.295, allocations: 475.4 kB / 3.883 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/5.296, allocations: 442.9 kB / 3.884 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/5.296, allocations: 0 / 3.884 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003238/5.299, allocations: 1.538 MB / 3.885 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002984/5.3, allocations: 0.874 MB / 3.886 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.3, allocations: 5.75 kB / 3.886 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/5.302, allocations: 0.7757 MB / 3.887 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/5.303, allocations: 90.42 kB / 3.887 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/5.305, allocations: 1.979 MB / 3.889 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/5.306, allocations: 96.8 kB / 3.889 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/5.306, allocations: 33.05 kB / 3.889 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/5.306, allocations: 6.688 kB / 3.889 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002187/5.309, allocations: 1.159 MB / 3.89 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/5.309, allocations: 10.42 kB / 3.89 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/5.311, allocations: 0.7827 MB / 3.891 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/5.311, allocations: 86.98 kB / 3.891 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/5.314, allocations: 1.964 MB / 3.893 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/5.315, allocations: 98.36 kB / 3.893 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/5.315, allocations: 40.95 kB / 3.893 GB, free: 28.58 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.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 (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0002007/5.315, allocations: 118 kB / 3.893 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/5.316, allocations: 332.4 kB / 3.894 GB, free: 28.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/5.319, allocations: 3.078 MB / 3.897 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/5.319, allocations: 24.34 kB / 3.897 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/5.319, allocations: 3.875 kB / 3.897 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/5.319, allocations: 7.469 kB / 3.897 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/5.321, allocations: 1.307 MB / 3.898 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.321, allocations: 0 / 3.898 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/5.321, allocations: 133.8 kB / 3.898 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/5.322, allocations: 293.7 kB / 3.898 GB, free: 28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/5.322, allocations: 24.14 kB / 3.898 GB, free: 28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/5.325, allocations: 2.306 MB / 3.901 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/5.325, allocations: 0 / 3.901 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005036/5.33, allocations: 3.491 MB / 3.904 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/5.331, allocations: 259.8 kB / 3.904 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/5.331, allocations: 3.156 kB / 3.904 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/5.331, allocations: 68.31 kB / 3.904 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/5.332, allocations: 50.62 kB / 3.904 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/5.332, allocations: 28.95 kB / 3.904 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003082/5.332, allocations: 273 kB / 3.905 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005253/5.337, allocations: 1.382 MB / 3.906 GB, free: 25.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007265/5.344, allocations: 1.792 MB / 3.908 GB, free: 25.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003002/5.347, allocations: 2.162 MB / 3.91 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.347, allocations: 0 / 3.91 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/5.349, allocations: 1.524 MB / 3.911 GB, free: 25.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/5.35, allocations: 239.9 kB / 3.912 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/5.354, allocations: 2.356 MB / 3.914 GB, free: 24.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/5.354, allocations: 1.216 MB / 3.915 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.81e-07/5.354, allocations: 3.938 kB / 3.915 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.05716/5.412, allocations: 46.99 MB / 3.961 GB, free: 15.75 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)