Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.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_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C",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.00092/0.00092, allocations: 183.5 kB / 8.135 MB, free: 2.223 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.9668/0.9668, 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.0008411/0.000841, allocations: 83.3 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2722/0.2722, allocations: 48.75 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.08486/0.3571, allocations: 66.37 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.4427, allocations: 60.26 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.811/4.254, allocations: 2.973 GB / 3.447 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/4.254, allocations: 77.75 kB / 3.447 GB, free: 86.87 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: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 1.102/5.356, allocations: 338.1 MB / 3.777 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/5.356, allocations: 7.781 kB / 3.777 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009222/5.365, allocations: 1.036 MB / 3.778 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/5.376, allocations: 3.352 MB / 3.781 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005769/5.382, allocations: 2.294 MB / 3.783 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/5.385, allocations: 205.2 kB / 3.784 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04762/5.432, allocations: 28.94 MB / 3.812 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/5.457, allocations: 14.51 MB / 3.826 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/5.457, allocations: 8.438 kB / 3.826 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/5.458, allocations: 3.938 kB / 3.826 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/5.458, allocations: 176.5 kB / 3.826 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/5.572, allocations: 73.8 MB / 3.898 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/5.589, allocations: 11.29 MB / 3.909 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01601/5.605, allocations: 10.29 MB / 3.919 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2909/5.896, allocations: 79.53 MB / 3.997 GB, free: 92.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/5.896, allocations: 79.19 kB / 3.997 GB, free: 92.94 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=371): time 4.839e-06/5.896, allocations: 0 / 3.997 GB, free: 92.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=373): time 0.06949/5.966, allocations: 35.58 MB / 4.032 GB, free: 92.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/5.966, allocations: 89.39 kB / 4.032 GB, free: 92.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/5.966, allocations: 482.7 kB / 4.032 GB, free: 91.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001833/5.968, allocations: 29.67 kB / 4.032 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/5.968, allocations: 0.7341 MB / 4.033 GB, free: 91.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/5.97, allocations: 1.227 MB / 4.034 GB, free: 90.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/5.971, allocations: 0 / 4.034 GB, free: 90.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001613/5.971, allocations: 486.3 kB / 4.035 GB, free: 90.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/5.983, allocations: 9.69 MB / 4.044 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01193/5.995, allocations: 10.06 MB / 4.054 GB, free: 84.57 MB / 0.5417 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.hex.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.314/6.309, allocations: 110.6 MB / 4.162 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/6.309, allocations: 0 / 4.162 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.3733/6.682, allocations: 75.22 MB / 4.236 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/6.683, allocations: 2.191 MB / 4.238 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/6.683, allocations: 4.562 kB / 4.238 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1908/6.873, allocations: 82.66 MB / 4.318 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/6.877, allocations: 0.556 MB / 4.319 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05389/6.93, allocations: 41.3 MB / 4.359 GB, free: 88.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02265/6.953, allocations: 4.577 MB / 4.364 GB, free: 85.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003279/6.956, allocations: 427.3 kB / 4.364 GB, free: 84.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/6.956, allocations: 5.875 kB / 4.364 GB, free: 84.94 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2168/7.173, allocations: 72.92 MB / 4.435 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.194e-05/7.173, allocations: 7.562 kB / 4.435 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3493/7.523, allocations: 82.65 MB / 4.516 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/7.526, allocations: 0.5366 MB / 4.517 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05501/7.581, allocations: 41.31 MB / 4.557 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02319/7.604, allocations: 4.573 MB / 4.561 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004252/7.608, allocations: 410.4 kB / 4.562 GB, free: 109.7 MB / 0.5417 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.hex.p = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,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 (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.006375/7.615, allocations: 166.5 kB / 4.562 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005971/7.621, allocations: 1.226 MB / 4.563 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05552/7.676, allocations: 30.83 MB / 4.593 GB, free: 93.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04407/7.72, allocations: 27.58 MB / 4.62 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-05/7.72, allocations: 8 kB / 4.62 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.914e-05/7.72, allocations: 23.95 kB / 4.62 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2703/7.991, allocations: 68.11 MB / 4.687 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/7.991, allocations: 18.78 kB / 4.687 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02745/8.018, allocations: 5.481 MB / 4.692 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004929/8.023, allocations: 1.682 MB / 4.694 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003823/8.027, allocations: 398.5 kB / 4.694 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/8.047, allocations: 29.77 MB / 4.723 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/8.047, allocations: 15.41 kB / 4.723 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06532/8.113, allocations: 39.3 MB / 4.762 GB, free: 90.55 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0862/8.199, allocations: 56.62 MB / 4.817 GB, free: 66.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007108/8.206, allocations: 2.528 MB / 4.819 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003082/8.209, allocations: 48.2 kB / 4.819 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02232/8.231, allocations: 4.542 MB / 4.824 GB, free: 65.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003728/8.235, allocations: 0.6314 MB / 4.825 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002964/8.238, allocations: 429.3 kB / 4.825 GB, free: 65.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004164/8.239, allocations: 360.6 kB / 4.825 GB, free: 65.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0207/8.259, allocations: 4.415 MB / 4.83 GB, free: 65.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 82 ($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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 43 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007432/8.267, allocations: 1.459 MB / 4.831 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06143/8.328, allocations: 36 MB / 4.866 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.011e-05/8.328, allocations: 0 / 4.866 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02321/8.352, allocations: 17.22 MB / 4.883 GB, free: 24.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006204/8.358, allocations: 0.6457 MB / 4.884 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2092/8.567, allocations: 21.5 MB / 4.905 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009507/8.576, allocations: 3.958 MB / 4.908 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/8.577, allocations: 0 / 4.908 GB, free: 116.7 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)