Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",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.001162/0.001162, allocations: 181.3 kB / 8.137 MB, free: 2.129 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.023/1.023, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008368/0.0008368, allocations: 93.48 kB / 261.8 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.2776/0.2776, allocations: 48.75 MB / 358.5 MB, free: 53.09 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.08927/0.3669, allocations: 66.37 MB / 424.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.4556, allocations: 60.26 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.956/4.412, allocations: 2.978 GB / 3.452 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/4.412, allocations: 81.69 kB / 3.452 GB, free: 72.25 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.9207/5.333, allocations: 304.8 MB / 3.75 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/5.333, allocations: 18.5 kB / 3.75 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/5.336, allocations: 0.5636 MB / 3.75 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/5.341, allocations: 1.763 MB / 3.752 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002189/5.343, allocations: 1.026 MB / 3.753 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008361/5.344, allocations: 113.8 kB / 3.753 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01772/5.362, allocations: 11.95 MB / 3.765 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008971/5.371, allocations: 6.726 MB / 3.772 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/5.371, allocations: 0.9375 kB / 3.772 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006389/5.372, allocations: 11.75 kB / 3.772 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/5.372, allocations: 86.75 kB / 3.772 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04391/5.416, allocations: 34.68 MB / 3.805 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/5.422, allocations: 5.494 MB / 3.811 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005438/5.428, allocations: 4.636 MB / 3.815 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1434/5.571, allocations: 79.48 MB / 3.893 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/5.571, allocations: 58.25 kB / 3.893 GB, free: 17.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 3.887e-06/5.571, allocations: 0.5469 kB / 3.893 GB, free: 17.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.03552/5.607, allocations: 16.64 MB / 3.909 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/5.607, allocations: 77.41 kB / 3.909 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/5.607, allocations: 394.8 kB / 3.91 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000652/5.608, allocations: 29.7 kB / 3.91 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/5.608, allocations: 468.6 kB / 3.91 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/5.609, allocations: 0.6306 MB / 3.911 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/5.61, allocations: 0 / 3.911 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001614/5.61, allocations: 422.7 kB / 3.911 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/5.616, allocations: 4.361 MB / 3.915 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006017/5.622, allocations: 4.587 MB / 3.92 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1394/5.761, allocations: 4.122 MB / 3.924 GB, free: 137 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/5.761, allocations: 0 / 3.924 GB, free: 137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.07552/5.837, allocations: 28.08 MB / 3.951 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/5.837, allocations: 1.313 MB / 3.953 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/5.837, allocations: 3.625 kB / 3.953 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1255/5.962, allocations: 47.4 MB / 3.999 GB, free: 132.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/5.964, allocations: 318.3 kB / 3.999 GB, free: 132.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/5.99, allocations: 15.36 MB / 4.014 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009789/5.999, allocations: 2.086 MB / 4.016 GB, free: 132 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009165/6, allocations: 196.9 kB / 4.017 GB, free: 132 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/6, allocations: 3.406 kB / 4.017 GB, free: 132 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07076/6.071, allocations: 27.24 MB / 4.043 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/6.071, allocations: 4 kB / 4.043 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1243/6.196, allocations: 47.41 MB / 4.089 GB, free: 92.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/6.197, allocations: 297.9 kB / 4.09 GB, free: 92.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/6.22, allocations: 15.37 MB / 4.105 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00966/6.229, allocations: 2.069 MB / 4.107 GB, free: 77.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/6.23, allocations: 197.9 kB / 4.107 GB, free: 77.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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.001257/6.232, allocations: 132.9 kB / 4.107 GB, free: 77.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/6.234, allocations: 0.6571 MB / 4.108 GB, free: 77.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/6.252, allocations: 13.81 MB / 4.121 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01468/6.266, allocations: 12.29 MB / 4.133 GB, free: 55.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/6.266, allocations: 8 kB / 4.133 GB, free: 55.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/6.266, allocations: 12.98 kB / 4.133 GB, free: 55.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1644/6.431, allocations: 26.76 MB / 4.159 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/6.431, allocations: 6.594 kB / 4.159 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/6.442, allocations: 2.473 MB / 4.162 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00405/6.446, allocations: 1.117 MB / 4.163 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007995/6.447, allocations: 187.5 kB / 4.163 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007606/6.454, allocations: 5.673 MB / 4.169 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/6.454, allocations: 5.188 kB / 4.169 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02663/6.481, allocations: 17.56 MB / 4.186 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03471/6.516, allocations: 25.35 MB / 4.21 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/6.518, allocations: 1.184 MB / 4.212 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/6.52, allocations: 30.41 kB / 4.212 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009217/6.529, allocations: 2.048 MB / 4.214 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009905/6.53, allocations: 304.5 kB / 4.214 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009207/6.531, allocations: 202.8 kB / 4.214 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003314/6.531, allocations: 300.2 kB / 4.214 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01058/6.542, allocations: 2.627 MB / 4.217 GB, free: 123.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,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: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.006419/6.548, allocations: 1.468 MB / 4.218 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02191/6.57, allocations: 16.44 MB / 4.234 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/6.57, allocations: 0 / 4.234 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008657/6.579, allocations: 7.243 MB / 4.242 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/6.581, allocations: 384.2 kB / 4.242 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/6.599, allocations: 9.736 MB / 4.251 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/6.604, allocations: 2.189 MB / 4.254 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/6.604, allocations: 0 / 4.254 GB, free: 109.5 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)