Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [: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.001028/0.001028, allocations: 196.3 kB / 8.138 MB, free: 2.184 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.288/1.288, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0008519/0.0008516, allocations: 99.69 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.37/0.37, allocations: 48.75 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.663e-06, allocations: 224 / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 60.26 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/4.735, allocations: 2.907 GB / 3.381 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/4.736, allocations: 76.36 kB / 3.381 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.8693/5.605, allocations: 338.8 MB / 3.712 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.425e-05/5.605, allocations: 8 kB / 3.712 GB, free: 23.59 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.006391/5.611, allocations: 1.36 MB / 3.713 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/5.611, allocations: 8.031 kB / 3.713 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/5.612, allocations: 67.5 kB / 3.713 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/5.612, allocations: 351.2 kB / 3.714 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/5.612, allocations: 11.91 kB / 3.714 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/5.612, allocations: 20 kB / 3.714 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000301/5.613, allocations: 169.3 kB / 3.714 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/5.613, allocations: 322.6 kB / 3.714 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/5.613, allocations: 0 / 3.714 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/5.613, allocations: 4 kB / 3.714 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/5.613, allocations: 11.98 kB / 3.714 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/5.615, allocations: 1.692 MB / 3.716 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/5.615, allocations: 106 kB / 3.716 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/5.615, allocations: 60.75 kB / 3.716 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2782/5.893, allocations: 64.04 MB / 3.779 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/5.893, allocations: 30.56 kB / 3.779 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/5.893, allocations: 0 / 3.779 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0008955/5.894, allocations: 265.7 kB / 3.779 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/5.894, allocations: 51.41 kB / 3.779 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/5.894, allocations: 243.1 kB / 3.779 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/5.894, allocations: 25.7 kB / 3.779 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/5.895, allocations: 182.6 kB / 3.779 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/5.895, allocations: 62.12 kB / 3.779 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/5.895, allocations: 0.9375 kB / 3.779 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.029e-05/5.895, allocations: 343.2 kB / 3.78 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/5.895, allocations: 52.59 kB / 3.78 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/5.895, allocations: 115 kB / 3.78 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/5.895, allocations: 75.59 kB / 3.78 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.895, allocations: 3.906 kB / 3.78 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001115/5.896, allocations: 450 kB / 3.78 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/5.896, allocations: 0.6129 MB / 3.781 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/5.896, allocations: 3.844 kB / 3.781 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/5.897, allocations: 76.25 kB / 3.781 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/5.897, allocations: 55.72 kB / 3.781 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/5.898, allocations: 1.893 MB / 3.783 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/5.898, allocations: 31.88 kB / 3.783 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/5.898, allocations: 15.45 kB / 3.783 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-06/5.898, allocations: 3.969 kB / 3.783 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007949/5.899, allocations: 317.8 kB / 3.783 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/5.899, allocations: 3.562 kB / 3.783 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/5.899, allocations: 82.92 kB / 3.784 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/5.9, allocations: 49.03 kB / 3.784 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/5.901, allocations: 1.907 MB / 3.785 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/5.901, allocations: 25.33 kB / 3.785 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/5.901, allocations: 13.69 kB / 3.785 GB, free: 81.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/5.901, allocations: 110.6 kB / 3.786 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/5.901, allocations: 100 kB / 3.786 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/5.902, allocations: 0.9232 MB / 3.787 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/5.902, allocations: 14.94 kB / 3.787 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/5.902, allocations: 0 / 3.787 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/5.902, allocations: 2.875 kB / 3.787 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/5.902, allocations: 499.4 kB / 3.787 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.902, allocations: 6.047 kB / 3.787 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/5.903, allocations: 45.98 kB / 3.787 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/5.903, allocations: 22.52 kB / 3.787 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/5.903, allocations: 6.625 kB / 3.787 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005983/5.903, allocations: 1.231 MB / 3.788 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/5.903, allocations: 0 / 3.788 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008882/5.904, allocations: 0.9589 MB / 3.789 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/5.904, allocations: 121.9 kB / 3.789 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/5.904, allocations: 0 / 3.789 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/5.905, allocations: 18.48 kB / 3.789 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/5.905, allocations: 9.922 kB / 3.789 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/5.905, allocations: 10.56 kB / 3.789 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001259/5.905, allocations: 187.5 kB / 3.79 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005285/5.91, allocations: 1.368 MB / 3.791 GB, free: 79.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007377/5.917, allocations: 2.032 MB / 3.793 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001017/5.918, allocations: 0.7414 MB / 3.794 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.919, allocations: 0 / 3.794 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/5.919, allocations: 0.4892 MB / 3.794 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/5.92, allocations: 106.2 kB / 3.794 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/5.921, allocations: 0.9858 MB / 3.795 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/5.922, allocations: 0.8796 MB / 3.796 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of SimCode: time 4.4e-07/5.922, allocations: 1.5 kB / 3.796 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.0442/5.966, allocations: 38.23 MB / 3.833 GB, free: 76.47 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)