Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.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_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") [: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.0009365/0.0009365, allocations: 190.1 kB / 8.135 MB, free: 2.172 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.06/1.06, 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.0008707/0.0008707, allocations: 91.56 kB / 261.7 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2798/0.2798, allocations: 48.75 MB / 358.4 MB, free: 53.05 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.466e-06, allocations: 7.938 kB / 424.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09346, allocations: 60.25 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.862/3.956, allocations: 3.017 GB / 3.49 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/3.956, allocations: 78.03 kB / 3.491 GB, free: 47.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.9796/4.936, allocations: 337.9 MB / 3.821 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.558e-05/4.936, allocations: 30.03 kB / 3.821 GB, free: 61.74 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.03188/4.968, allocations: 7.874 MB / 3.828 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/4.968, allocations: 9.031 kB / 3.828 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/4.984, allocations: 2.658 MB / 3.831 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/4.994, allocations: 3.487 MB / 3.834 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002887/4.997, allocations: 1.053 MB / 3.835 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/4.999, allocations: 111.8 kB / 3.835 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0285/5.028, allocations: 18.47 MB / 3.853 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/5.041, allocations: 9.033 MB / 3.862 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/5.041, allocations: 4.281 kB / 3.862 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000799/5.042, allocations: 3.469 kB / 3.862 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/5.042, allocations: 42.34 kB / 3.862 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0692/5.111, allocations: 59.54 MB / 3.92 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008226/5.119, allocations: 7.225 MB / 3.928 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008921/5.128, allocations: 6.68 MB / 3.934 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3273/5.455, allocations: 122.5 MB / 4.054 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/5.455, allocations: 56.62 kB / 4.054 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 4.568e-06/5.455, allocations: 0 / 4.054 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=213): time 0.05881/5.514, allocations: 24.87 MB / 4.078 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/5.514, allocations: 80.06 kB / 4.078 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/5.515, allocations: 0.5014 MB / 4.079 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009815/5.516, allocations: 25.7 kB / 4.079 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/5.516, allocations: 475.9 kB / 4.079 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/5.517, allocations: 0.7093 MB / 4.08 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007153/5.518, allocations: 1.031 kB / 4.08 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001072/5.518, allocations: 432 kB / 4.08 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007321/5.525, allocations: 6.244 MB / 4.086 GB, free: 51.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007302/5.533, allocations: 6.73 MB / 4.093 GB, free: 50.5 MB / 0.5261 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[1] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[2] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[3] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[4] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[5] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[6] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[7] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[8] = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.htilde[9] = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.143/5.676, allocations: 58.15 MB / 4.15 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/5.676, allocations: 0 / 4.15 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.2899/5.965, allocations: 49.71 MB / 4.198 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006404/5.966, allocations: 4.964 MB / 4.203 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/5.966, allocations: 10.62 kB / 4.203 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1238/6.09, allocations: 47.49 MB / 4.249 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005725/6.096, allocations: 1.397 MB / 4.251 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/6.119, allocations: 15.37 MB / 4.266 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/6.132, allocations: 2.848 MB / 4.269 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/6.135, allocations: 317.5 kB / 4.269 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/6.135, allocations: 3.719 kB / 4.269 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1268/6.262, allocations: 41.76 MB / 4.31 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/6.262, allocations: 12 kB / 4.31 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1224/6.384, allocations: 47.19 MB / 4.356 GB, free: 69.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00601/6.39, allocations: 1.418 MB / 4.357 GB, free: 68.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/6.545, allocations: 14.91 MB / 4.372 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/6.558, allocations: 2.852 MB / 4.374 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/6.56, allocations: 319.5 kB / 4.375 GB, free: 120 MB / 0.5261 GB Warning: Assuming redundant initial conditions for the following 10 initial equations: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 179 * 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.001779/6.562, allocations: 184.2 kB / 4.375 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002489/6.564, allocations: 0.6867 MB / 4.376 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/6.593, allocations: 18.43 MB / 4.394 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02896/6.622, allocations: 16.44 MB / 4.41 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/6.622, allocations: 6.156 kB / 4.41 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/6.622, allocations: 11.48 kB / 4.41 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04634/6.668, allocations: 35.78 MB / 4.445 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/6.668, allocations: 0 / 4.445 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01536/6.684, allocations: 3.491 MB / 4.448 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004114/6.688, allocations: 1.091 MB / 4.449 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002074/6.69, allocations: 276.9 kB / 4.449 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/6.697, allocations: 5.57 MB / 4.455 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/6.697, allocations: 0 / 4.455 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04225/6.74, allocations: 23.32 MB / 4.478 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004023/6.744, allocations: 1.757 MB / 4.479 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/6.745, allocations: 21.83 kB / 4.479 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/6.757, allocations: 2.821 MB / 4.482 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/6.758, allocations: 391.1 kB / 4.482 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/6.759, allocations: 294.1 kB / 4.483 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003829/6.76, allocations: 372.5 kB / 4.483 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01071/6.77, allocations: 3.024 MB / 4.486 GB, free: 90.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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: 24 ($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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.007021/6.777, allocations: 1.695 MB / 4.488 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03382/6.811, allocations: 22.78 MB / 4.51 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/6.811, allocations: 0 / 4.51 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/6.823, allocations: 9.347 MB / 4.519 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/6.826, allocations: 349.7 kB / 4.519 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1581/6.984, allocations: 12.11 MB / 4.531 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005417/6.99, allocations: 2.395 MB / 4.534 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/6.99, allocations: 0 / 4.534 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.388/7.378, allocations: 271.1 MB / 4.798 GB, free: 105.9 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)