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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",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.0009641/0.0009641, allocations: 188.3 kB / 8.139 MB, free: 2.18 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.98/0.98, allocations: 205.2 MB / 213.7 MB, free: 13.83 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.0008013/0.0008013, allocations: 97.25 kB / 261.8 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2734/0.2734, 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 0.09139/0.3649, allocations: 66.37 MB / 424.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.4574, allocations: 60.26 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.937/4.394, allocations: 3.017 GB / 3.491 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/4.394, allocations: 75.97 kB / 3.491 GB, free: 32.27 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 1.071/5.465, allocations: 345.8 MB / 3.828 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/5.465, allocations: 6.688 kB / 3.828 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/5.482, allocations: 2.659 MB / 3.831 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/5.494, allocations: 3.49 MB / 3.834 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003593/5.498, allocations: 1.052 MB / 3.835 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/5.5, allocations: 111.1 kB / 3.836 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03127/5.531, allocations: 18.48 MB / 3.854 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/5.544, allocations: 9.029 MB / 3.862 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/5.544, allocations: 7.844 kB / 3.862 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009301/5.545, allocations: 8 kB / 3.862 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/5.545, allocations: 40 kB / 3.862 GB, free: 54.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07905/5.624, allocations: 59.53 MB / 3.921 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/5.635, allocations: 7.224 MB / 3.928 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1437/5.779, allocations: 6.623 MB / 3.934 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1985/5.978, allocations: 122.5 MB / 4.054 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/5.978, allocations: 53.06 kB / 4.054 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.2e-06/5.978, allocations: 3.969 kB / 4.054 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=213): time 0.06311/6.041, allocations: 24.86 MB / 4.078 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/6.041, allocations: 79.75 kB / 4.078 GB, free: 45.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/6.041, allocations: 0.5049 MB / 4.079 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001498/6.043, allocations: 28.66 kB / 4.079 GB, free: 44.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/6.043, allocations: 480.9 kB / 4.079 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/6.044, allocations: 0.7032 MB / 4.08 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007891/6.045, allocations: 0 / 4.08 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/6.045, allocations: 440 kB / 4.08 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007686/6.053, allocations: 6.238 MB / 4.086 GB, free: 43.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008163/6.061, allocations: 6.725 MB / 4.093 GB, free: 43.44 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.1498/6.211, allocations: 58.15 MB / 4.15 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/6.211, allocations: 4 kB / 4.15 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.3003/6.511, allocations: 49.08 MB / 4.198 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007223/6.512, allocations: 4.966 MB / 4.202 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/6.512, allocations: 15.19 kB / 4.202 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1276/6.64, allocations: 47.49 MB / 4.249 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006247/6.646, allocations: 1.399 MB / 4.25 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/6.674, allocations: 15.37 MB / 4.265 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/6.688, allocations: 2.848 MB / 4.268 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/6.69, allocations: 321.3 kB / 4.268 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/6.69, allocations: 6.75 kB / 4.268 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1323/6.823, allocations: 41.76 MB / 4.309 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/6.823, allocations: 12 kB / 4.309 GB, free: 90.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2677/7.09, allocations: 49.13 MB / 4.357 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/7.097, allocations: 1.413 MB / 4.358 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02946/7.126, allocations: 14.92 MB / 4.373 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/7.14, allocations: 2.849 MB / 4.376 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/7.142, allocations: 313.7 kB / 4.376 GB, free: 119.3 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.002521/7.145, allocations: 180.6 kB / 4.376 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002627/7.147, allocations: 0.6842 MB / 4.377 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03058/7.178, allocations: 18.44 MB / 4.395 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03/7.208, allocations: 16.43 MB / 4.411 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/7.208, allocations: 7.344 kB / 4.411 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/7.208, allocations: 11.91 kB / 4.411 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0515/7.26, allocations: 35.79 MB / 4.446 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/7.26, allocations: 3.906 kB / 4.446 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01557/7.275, allocations: 3.485 MB / 4.449 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/7.279, allocations: 1.081 MB / 4.45 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002306/7.282, allocations: 274.1 kB / 4.451 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008166/7.29, allocations: 5.584 MB / 4.456 GB, free: 97.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/7.29, allocations: 1.656 kB / 4.456 GB, free: 97.19 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04578/7.336, allocations: 23.31 MB / 4.479 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2073/7.543, allocations: 35.85 MB / 4.514 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004595/7.548, allocations: 1.755 MB / 4.516 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/7.549, allocations: 17 kB / 4.516 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01229/7.561, allocations: 2.828 MB / 4.518 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/7.563, allocations: 391.5 kB / 4.519 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001092/7.564, allocations: 288.1 kB / 4.519 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003826/7.564, allocations: 374.8 kB / 4.519 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01257/7.577, allocations: 3.224 MB / 4.523 GB, free: 118.8 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.007068/7.584, allocations: 1.709 MB / 4.524 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03325/7.617, allocations: 22.77 MB / 4.546 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/7.617, allocations: 0 / 4.546 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/7.629, allocations: 9.352 MB / 4.556 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/7.631, allocations: 350.4 kB / 4.556 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/7.653, allocations: 11.32 MB / 4.567 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00572/7.659, allocations: 2.441 MB / 4.569 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/7.659, allocations: 0 / 4.569 GB, free: 117.1 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)