Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.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.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") [: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.0009352/0.0009352, allocations: 191.2 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 0.9798/0.9798, 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.0008328/0.0008328, allocations: 97.44 kB / 261.8 MB, free: 13.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2739/0.2739, allocations: 48.75 MB / 358.4 MB, free: 53.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.154e-06, allocations: 0 / 424.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09736, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.93/4.028, allocations: 3.017 GB / 3.49 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/4.028, allocations: 79.72 kB / 3.49 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9588/4.987, allocations: 324.2 MB / 3.807 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.775e-05/4.987, allocations: 37.69 kB / 3.807 GB, free: 57.64 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.02564/5.013, allocations: 6.705 MB / 3.813 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/5.013, allocations: 7.625 kB / 3.813 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/5.025, allocations: 2.145 MB / 3.816 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008063/5.033, allocations: 2.972 MB / 3.818 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00182/5.035, allocations: 0.8207 MB / 3.819 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/5.036, allocations: 110.7 kB / 3.819 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02239/5.058, allocations: 14.33 MB / 3.833 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/5.068, allocations: 7.558 MB / 3.841 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/5.068, allocations: 0 / 3.841 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006692/5.069, allocations: 7.125 kB / 3.841 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/5.069, allocations: 42.69 kB / 3.841 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05604/5.125, allocations: 48.11 MB / 3.888 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/5.132, allocations: 6.226 MB / 3.894 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00629/5.139, allocations: 5.403 MB / 3.899 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3357/5.474, allocations: 122.6 MB / 4.019 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/5.475, allocations: 57.38 kB / 4.019 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=225): time 4.358e-06/5.475, allocations: 0 / 4.019 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=226): time 0.05252/5.527, allocations: 21.17 MB / 4.04 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/5.527, allocations: 101.4 kB / 4.04 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/5.528, allocations: 0.5045 MB / 4.04 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/5.529, allocations: 30.23 kB / 4.04 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/5.529, allocations: 494.4 kB / 4.041 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/5.53, allocations: 0.7554 MB / 4.041 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007521/5.531, allocations: 5.031 kB / 4.041 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001385/5.531, allocations: 443.5 kB / 4.042 GB, free: 71.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00577/5.537, allocations: 5.041 MB / 4.047 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/5.543, allocations: 5.47 MB / 4.052 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009562/5.552, allocations: 4.573 MB / 4.057 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/5.552, allocations: 3.75 kB / 4.057 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.0279/5.58, allocations: 16.62 MB / 4.073 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005199/5.581, allocations: 4.103 MB / 4.077 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/5.581, allocations: 9.344 kB / 4.077 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1088/5.69, allocations: 43.97 MB / 4.12 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/5.69, allocations: 199.3 kB / 4.12 GB, free: 43.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03398/5.724, allocations: 20.43 MB / 4.14 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/5.735, allocations: 2.172 MB / 4.142 GB, free: 23.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/5.736, allocations: 263.2 kB / 4.142 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/5.736, allocations: 4 kB / 4.142 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02467/5.76, allocations: 15.76 MB / 4.158 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/5.76, allocations: 8 kB / 4.158 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2555/6.016, allocations: 45.79 MB / 4.202 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/6.017, allocations: 203.2 kB / 4.203 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03035/6.047, allocations: 19.97 MB / 4.222 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009768/6.057, allocations: 2.171 MB / 4.224 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007972/6.058, allocations: 267.8 kB / 4.225 GB, free: 122.3 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[5]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 {9 183} Notification: Performance of prepare postOptimizeDAE: time 0.001294/6.059, allocations: 143.8 kB / 4.225 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/6.061, allocations: 0.5843 MB / 4.225 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/6.084, allocations: 15.64 MB / 4.241 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02052/6.105, allocations: 13.95 MB / 4.254 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/6.105, allocations: 11.38 kB / 4.254 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/6.105, allocations: 10.55 kB / 4.254 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03442/6.139, allocations: 29.63 MB / 4.283 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/6.139, allocations: 3.312 kB / 4.283 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01083/6.15, allocations: 2.715 MB / 4.286 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00439/6.154, allocations: 1.374 MB / 4.287 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007092/6.155, allocations: 219.4 kB / 4.287 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/6.171, allocations: 25.25 MB / 4.312 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/6.171, allocations: 3.906 kB / 4.312 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03434/6.206, allocations: 19.85 MB / 4.331 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/6.208, allocations: 1.472 MB / 4.333 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/6.21, allocations: 27.11 kB / 4.333 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009319/6.219, allocations: 2.145 MB / 4.335 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009001/6.22, allocations: 323.5 kB / 4.335 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008295/6.221, allocations: 244.3 kB / 4.335 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003736/6.221, allocations: 388.6 kB / 4.336 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008757/6.23, allocations: 2.842 MB / 4.339 GB, free: 68.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.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.phase,$cse12.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00642/6.236, allocations: 1.731 MB / 4.34 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02644/6.263, allocations: 19.47 MB / 4.359 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.263, allocations: 64 / 4.359 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009765/6.272, allocations: 9.465 MB / 4.369 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/6.275, allocations: 430.8 kB / 4.369 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/6.418, allocations: 10.11 MB / 4.379 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003845/6.422, allocations: 2.181 MB / 4.381 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/6.422, allocations: 0 / 4.381 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.3629/6.785, allocations: 251.9 MB / 4.627 GB, free: 94.73 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)