Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_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.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_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.0009598/0.0009598, allocations: 191.2 kB / 8.138 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 1.004/1.004, 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.0008467/0.0008466, allocations: 95.52 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2756/0.2756, allocations: 48.76 MB / 358.5 MB, free: 53.14 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.835e-06, allocations: 4 kB / 424.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.0887, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.936/4.025, allocations: 2.972 GB / 3.445 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001564/4.025, allocations: 81.17 kB / 3.445 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.007/5.033, allocations: 327.9 MB / 3.765 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.79e-05/5.033, allocations: 32.64 kB / 3.765 GB, free: 52.13 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.03155/5.064, allocations: 7.906 MB / 3.773 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/5.064, allocations: 6.469 kB / 3.773 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/5.071, allocations: 0.8642 MB / 3.774 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/5.082, allocations: 3.169 MB / 3.777 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003063/5.085, allocations: 1.062 MB / 3.778 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/5.087, allocations: 103.6 kB / 3.778 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02505/5.112, allocations: 14.75 MB / 3.793 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/5.124, allocations: 7.737 MB / 3.8 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/5.124, allocations: 3.891 kB / 3.8 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009321/5.125, allocations: 5.562 kB / 3.8 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/5.125, allocations: 42.94 kB / 3.8 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/5.187, allocations: 48.87 MB / 3.848 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/5.195, allocations: 6.408 MB / 3.854 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/5.202, allocations: 5.664 MB / 3.86 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3577/5.56, allocations: 122.4 MB / 3.979 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/5.56, allocations: 58.67 kB / 3.979 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=222): time 5.941e-06/5.56, allocations: 0.6562 kB / 3.979 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.05542/5.616, allocations: 20.47 MB / 3.999 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/5.616, allocations: 77.05 kB / 3.999 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/5.616, allocations: 0.5209 MB / 4 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001723/5.618, allocations: 25.7 kB / 4 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/5.618, allocations: 431.7 kB / 4 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/5.62, allocations: 0.7319 MB / 4.001 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/5.622, allocations: 1.406 kB / 4.001 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001784/5.622, allocations: 430.6 kB / 4.002 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007309/5.629, allocations: 5.352 MB / 4.007 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007506/5.637, allocations: 5.612 MB / 4.012 GB, free: 103.5 MB / 0.5417 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.1415/5.778, allocations: 53.31 MB / 4.064 GB, free: 99.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/5.778, allocations: 3.094 kB / 4.064 GB, free: 99.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.1005/5.879, allocations: 31.66 MB / 4.095 GB, free: 86.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002857/5.879, allocations: 1.668 MB / 4.097 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/5.879, allocations: 7.609 kB / 4.097 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.126/6.005, allocations: 47.5 MB / 4.143 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005542/6.011, allocations: 1.261 MB / 4.144 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03087/6.042, allocations: 15.29 MB / 4.159 GB, free: 33.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/6.055, allocations: 2.854 MB / 4.162 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/6.058, allocations: 249.8 kB / 4.162 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/6.058, allocations: 8 kB / 4.162 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8933/6.951, allocations: 210.9 MB / 4.368 GB, free: 55.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/6.951, allocations: 6.688 kB / 4.368 GB, free: 55.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.253/7.204, allocations: 47.16 MB / 4.414 GB, free: 130.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/7.209, allocations: 1.272 MB / 4.416 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/7.23, allocations: 14.81 MB / 4.43 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/7.242, allocations: 2.851 MB / 4.433 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008619/7.243, allocations: 236.2 kB / 4.433 GB, free: 129.3 MB / 0.5417 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: 19 * 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 (172): * Single equations (assignments): 171 * 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.001499/7.245, allocations: 159.1 kB / 4.433 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/7.247, allocations: 0.6881 MB / 4.434 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02162/7.269, allocations: 16.06 MB / 4.45 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.019/7.288, allocations: 14.31 MB / 4.464 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/7.288, allocations: 3.938 kB / 4.464 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/7.288, allocations: 11.39 kB / 4.464 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0353/7.323, allocations: 30.31 MB / 4.493 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/7.323, allocations: 0 / 4.493 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01331/7.336, allocations: 3.395 MB / 4.497 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003956/7.34, allocations: 1.086 MB / 4.498 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008233/7.341, allocations: 215.3 kB / 4.498 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007522/7.349, allocations: 5.56 MB / 4.503 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/7.349, allocations: 0 / 4.503 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03221/7.381, allocations: 20.05 MB / 4.523 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/7.384, allocations: 1.44 MB / 4.524 GB, free: 99.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/7.385, allocations: 19.94 kB / 4.524 GB, free: 99.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/7.397, allocations: 2.827 MB / 4.527 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009421/7.398, allocations: 326.7 kB / 4.527 GB, free: 97.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009158/7.399, allocations: 227 kB / 4.528 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004146/7.399, allocations: 396.1 kB / 4.528 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009151/7.408, allocations: 2.787 MB / 4.531 GB, free: 94.32 MB / 0.5417 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 (210): * Single equations (assignments): 195 * 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.007353/7.416, allocations: 1.677 MB / 4.532 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02393/7.44, allocations: 19.62 MB / 4.551 GB, free: 75.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/7.44, allocations: 4.375 kB / 4.551 GB, free: 75.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009093/7.449, allocations: 8.298 MB / 4.56 GB, free: 68.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/7.451, allocations: 345.3 kB / 4.56 GB, free: 67.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/7.47, allocations: 10.96 MB / 4.571 GB, free: 59.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.142/7.612, allocations: 2.242 MB / 4.573 GB, free: 127 MB / 0.5417 GB Notification: Performance of SimCode: time 1.363e-06/7.612, allocations: 2.969 kB / 4.573 GB, free: 127 MB / 0.5417 GB Notification: Performance of Templates: time 0.3661/7.978, allocations: 250.4 MB / 4.817 GB, free: 120.2 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)