Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.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_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",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.0009536/0.0009536, allocations: 186.9 kB / 8.136 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.9856/0.9856, 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.0008766/0.0008766, allocations: 85.89 kB / 261.7 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2741/0.2741, allocations: 48.75 MB / 358.4 MB, free: 53.07 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.08751/0.3616, allocations: 66.37 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.4513, allocations: 60.26 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.127/4.578, allocations: 2.978 GB / 3.452 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/4.578, allocations: 80.66 kB / 3.452 GB, free: 72.09 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.9758/5.554, allocations: 304.9 MB / 3.75 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/5.554, allocations: 7.531 kB / 3.75 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/5.56, allocations: 0.5614 MB / 3.75 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006233/5.566, allocations: 1.769 MB / 3.752 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003371/5.569, allocations: 1.022 MB / 3.753 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/5.571, allocations: 116 kB / 3.753 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02285/5.594, allocations: 11.94 MB / 3.765 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/5.606, allocations: 6.732 MB / 3.772 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.237e-05/5.606, allocations: 3.938 kB / 3.772 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/5.607, allocations: 7.328 kB / 3.772 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.412e-05/5.607, allocations: 92.2 kB / 3.772 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05098/5.658, allocations: 34.68 MB / 3.805 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007456/5.666, allocations: 5.497 MB / 3.811 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005902/5.672, allocations: 4.63 MB / 3.815 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1476/5.819, allocations: 79.48 MB / 3.893 GB, free: 17.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/5.819, allocations: 56.73 kB / 3.893 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 4.198e-06/5.819, allocations: 0 / 3.893 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.04196/5.861, allocations: 16.64 MB / 3.909 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/5.861, allocations: 75.56 kB / 3.909 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/5.862, allocations: 403.6 kB / 3.91 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009694/5.863, allocations: 25.7 kB / 3.91 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/5.863, allocations: 467.2 kB / 3.91 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/5.864, allocations: 0.6419 MB / 3.911 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007952/5.865, allocations: 0 / 3.911 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001819/5.865, allocations: 412.8 kB / 3.911 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00615/5.872, allocations: 4.363 MB / 3.916 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/5.878, allocations: 4.586 MB / 3.92 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1585/6.036, allocations: 4.103 MB / 3.924 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/6.036, allocations: 0 / 3.924 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.07471/6.111, allocations: 28.08 MB / 3.951 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/6.111, allocations: 1.313 MB / 3.953 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/6.111, allocations: 8.25 kB / 3.953 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1267/6.238, allocations: 47.41 MB / 3.999 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/6.24, allocations: 312.8 kB / 3.999 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02757/6.267, allocations: 15.35 MB / 4.014 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00961/6.277, allocations: 2.087 MB / 4.016 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009182/6.278, allocations: 198.8 kB / 4.017 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/6.278, allocations: 3.438 kB / 4.017 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07022/6.348, allocations: 27.24 MB / 4.043 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/6.348, allocations: 4.75 kB / 4.043 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1265/6.475, allocations: 47.4 MB / 4.089 GB, free: 92.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/6.476, allocations: 312.1 kB / 4.09 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/6.505, allocations: 15.36 MB / 4.105 GB, free: 79.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009837/6.515, allocations: 2.081 MB / 4.107 GB, free: 77.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009774/6.516, allocations: 196.2 kB / 4.107 GB, free: 77.69 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.001419/6.517, allocations: 127 kB / 4.107 GB, free: 77.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/6.52, allocations: 0.6596 MB / 4.108 GB, free: 77.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/6.537, allocations: 13.81 MB / 4.121 GB, free: 65.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01521/6.552, allocations: 12.29 MB / 4.133 GB, free: 55.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/6.553, allocations: 4 kB / 4.133 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/6.553, allocations: 9.844 kB / 4.133 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.168/6.721, allocations: 26.76 MB / 4.159 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/6.721, allocations: 6.594 kB / 4.159 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01049/6.731, allocations: 2.47 MB / 4.162 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004138/6.735, allocations: 1.119 MB / 4.163 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/6.737, allocations: 187.3 kB / 4.163 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008148/6.745, allocations: 5.676 MB / 4.169 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/6.745, allocations: 10.34 kB / 4.169 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02817/6.773, allocations: 17.55 MB / 4.186 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03553/6.808, allocations: 25.35 MB / 4.21 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/6.811, allocations: 1.187 MB / 4.212 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/6.812, allocations: 37.08 kB / 4.212 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009293/6.822, allocations: 2.041 MB / 4.214 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/6.823, allocations: 304.6 kB / 4.214 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009716/6.824, allocations: 203 kB / 4.214 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0003282/6.824, allocations: 303.7 kB / 4.214 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01023/6.834, allocations: 2.622 MB / 4.217 GB, free: 123.5 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.006602/6.841, allocations: 1.468 MB / 4.218 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02296/6.864, allocations: 16.43 MB / 4.234 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.864, allocations: 3.781 kB / 4.234 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009008/6.873, allocations: 7.244 MB / 4.242 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/6.876, allocations: 393.3 kB / 4.242 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/6.893, allocations: 9.731 MB / 4.251 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004209/6.897, allocations: 2.186 MB / 4.254 GB, free: 110 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/6.897, allocations: 0 / 4.254 GB, free: 110 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1)