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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",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.000925/0.000925, allocations: 188.4 kB / 8.137 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.9856/0.9856, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.000821/0.000821, allocations: 90.91 kB / 261.7 MB, free: 13.53 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.76 MB / 358.4 MB, free: 53.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08409/0.358, allocations: 66.37 MB / 424.8 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.4421, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.923/4.365, allocations: 3.017 GB / 3.49 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/4.366, allocations: 71.97 kB / 3.49 GB, free: 46.02 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 1.033/5.398, allocations: 330.9 MB / 3.814 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/5.398, allocations: 11.12 kB / 3.814 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/5.412, allocations: 2.143 MB / 3.816 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/5.422, allocations: 2.977 MB / 3.819 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001914/5.424, allocations: 0.8181 MB / 3.819 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/5.425, allocations: 109 kB / 3.82 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02259/5.448, allocations: 14.33 MB / 3.833 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009878/5.458, allocations: 7.559 MB / 3.841 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/5.458, allocations: 4 kB / 3.841 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006656/5.458, allocations: 3.031 kB / 3.841 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/5.459, allocations: 43.03 kB / 3.841 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06073/5.519, allocations: 48.11 MB / 3.888 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007333/5.527, allocations: 6.21 MB / 3.894 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/5.533, allocations: 5.406 MB / 3.899 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3344/5.867, allocations: 122.5 MB / 4.019 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/5.867, allocations: 55.88 kB / 4.019 GB, free: 71.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=225): time 5.67e-06/5.867, allocations: 4 kB / 4.019 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=226): time 0.05184/5.919, allocations: 21.16 MB / 4.04 GB, free: 70.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/5.919, allocations: 101.7 kB / 4.04 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/5.92, allocations: 0.5167 MB / 4.04 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006069/5.92, allocations: 29.61 kB / 4.04 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/5.921, allocations: 490.1 kB / 4.041 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/5.922, allocations: 0.7545 MB / 4.041 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/5.922, allocations: 0.8438 kB / 4.041 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001311/5.922, allocations: 438.9 kB / 4.042 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005632/5.928, allocations: 5.037 MB / 4.047 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/5.934, allocations: 5.477 MB / 4.052 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009633/5.943, allocations: 4.575 MB / 4.057 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/5.943, allocations: 7.562 kB / 4.057 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.02858/5.972, allocations: 16.62 MB / 4.073 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005231/5.973, allocations: 4.099 MB / 4.077 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/5.973, allocations: 9.062 kB / 4.077 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1108/6.083, allocations: 43.97 MB / 4.12 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/6.084, allocations: 208.9 kB / 4.12 GB, free: 38.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03162/6.116, allocations: 20.43 MB / 4.14 GB, free: 21.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/6.126, allocations: 2.17 MB / 4.142 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000859/6.127, allocations: 268.4 kB / 4.142 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/6.127, allocations: 7.094 kB / 4.142 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02475/6.152, allocations: 15.75 MB / 4.158 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/6.152, allocations: 12 kB / 4.158 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2607/6.412, allocations: 45.82 MB / 4.202 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/6.413, allocations: 211.3 kB / 4.203 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03403/6.447, allocations: 19.96 MB / 4.222 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/6.457, allocations: 2.171 MB / 4.224 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009207/6.458, allocations: 266 kB / 4.225 GB, free: 120.4 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.001348/6.46, allocations: 148.8 kB / 4.225 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/6.462, allocations: 0.5876 MB / 4.225 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/6.487, allocations: 15.64 MB / 4.241 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02193/6.509, allocations: 13.94 MB / 4.254 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/6.509, allocations: 7.562 kB / 4.254 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/6.509, allocations: 12.83 kB / 4.254 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03734/6.546, allocations: 29.63 MB / 4.283 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/6.546, allocations: 0 / 4.283 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01117/6.557, allocations: 2.718 MB / 4.286 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/6.562, allocations: 1.373 MB / 4.287 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000871/6.563, allocations: 213.3 kB / 4.287 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/6.58, allocations: 25.25 MB / 4.312 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/6.58, allocations: 8.438 kB / 4.312 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0343/6.614, allocations: 19.84 MB / 4.331 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03971/6.654, allocations: 28.5 MB / 4.359 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/6.656, allocations: 1.471 MB / 4.361 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/6.657, allocations: 22.92 kB / 4.361 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009491/6.667, allocations: 2.146 MB / 4.363 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000904/6.668, allocations: 332.9 kB / 4.363 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008155/6.669, allocations: 236.8 kB / 4.363 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003741/6.669, allocations: 392.9 kB / 4.364 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01001/6.679, allocations: 3.054 MB / 4.367 GB, free: 36.32 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.1395/6.819, allocations: 1.776 MB / 4.368 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0313/6.85, allocations: 19.47 MB / 4.387 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/6.85, allocations: 0.6562 kB / 4.387 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/6.86, allocations: 9.457 MB / 4.397 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/6.863, allocations: 434.3 kB / 4.397 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/6.88, allocations: 10.14 MB / 4.407 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004142/6.884, allocations: 2.253 MB / 4.409 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/6.884, allocations: 0 / 4.409 GB, free: 115.9 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)