Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") [: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.0011/0.0011, allocations: 192.4 kB / 8.136 MB, free: 2.219 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.33/1.33, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.000996/0.0009961, allocations: 99.72 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4465/0.4465, allocations: 48.75 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.894e-06, allocations: 0 / 424.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 60.24 MB / 485 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.609/5.759, allocations: 2.993 GB / 3.466 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/5.759, allocations: 81.31 kB / 3.466 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.181/6.94, allocations: 362.7 MB / 3.821 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.807e-05/6.94, allocations: 7.906 kB / 3.821 GB, free: 60.76 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00572/6.945, allocations: 1.188 MB / 3.822 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/6.945, allocations: 6.688 kB / 3.822 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/6.946, allocations: 111.5 kB / 3.822 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/6.947, allocations: 413.3 kB / 3.822 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/6.947, allocations: 14.81 kB / 3.822 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/6.947, allocations: 23.5 kB / 3.822 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000523/6.948, allocations: 296.3 kB / 3.823 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/6.948, allocations: 443.2 kB / 3.823 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/6.948, allocations: 3.938 kB / 3.823 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/6.948, allocations: 10.91 kB / 3.823 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/6.948, allocations: 7.812 kB / 3.823 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/6.951, allocations: 2.53 MB / 3.825 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/6.951, allocations: 139.4 kB / 3.826 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/6.951, allocations: 123.6 kB / 3.826 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0617/7.013, allocations: 32 MB / 3.857 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/7.013, allocations: 40.67 kB / 3.857 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/7.013, allocations: 0 / 3.857 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.003802/7.017, allocations: 1.086 MB / 3.858 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/7.017, allocations: 106.4 kB / 3.858 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/7.017, allocations: 236.2 kB / 3.858 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/7.017, allocations: 30.77 kB / 3.858 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/7.017, allocations: 208.3 kB / 3.859 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/7.017, allocations: 104.7 kB / 3.859 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/7.017, allocations: 1.062 kB / 3.859 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/7.017, allocations: 348 kB / 3.859 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/7.018, allocations: 108.2 kB / 3.859 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/7.018, allocations: 168.6 kB / 3.859 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/7.018, allocations: 133.4 kB / 3.859 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/7.018, allocations: 1.562 kB / 3.859 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002007/7.02, allocations: 0.6579 MB / 3.86 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/7.02, allocations: 0.5296 MB / 3.861 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/7.02, allocations: 1.375 kB / 3.861 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/7.022, allocations: 327.2 kB / 3.861 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/7.022, allocations: 40.77 kB / 3.861 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/7.024, allocations: 1.016 MB / 3.862 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/7.024, allocations: 51.84 kB / 3.862 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/7.024, allocations: 14.86 kB / 3.862 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/7.024, allocations: 4.312 kB / 3.862 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/7.026, allocations: 456.5 kB / 3.862 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/7.026, allocations: 1 kB / 3.862 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/7.027, allocations: 275.8 kB / 3.863 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/7.027, allocations: 46.73 kB / 3.863 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/7.029, allocations: 0.9276 MB / 3.864 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/7.029, allocations: 47.98 kB / 3.864 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/7.029, allocations: 17.39 kB / 3.864 GB, free: 32.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {4 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001315/7.029, allocations: 117.6 kB / 3.864 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/7.03, allocations: 126.2 kB / 3.864 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/7.031, allocations: 1.076 MB / 3.865 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/7.031, allocations: 7.156 kB / 3.865 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/7.031, allocations: 0 / 3.865 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/7.031, allocations: 11.61 kB / 3.865 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/7.033, allocations: 1.718 MB / 3.867 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/7.033, allocations: 0 / 3.867 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/7.034, allocations: 92.98 kB / 3.867 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/7.034, allocations: 126 kB / 3.867 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/7.034, allocations: 11.16 kB / 3.867 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/7.036, allocations: 2.565 MB / 3.869 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/7.036, allocations: 7.688 kB / 3.869 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001726/7.038, allocations: 1.236 MB / 3.871 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/7.038, allocations: 116.7 kB / 3.871 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/7.038, allocations: 0 / 3.871 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/7.038, allocations: 35.78 kB / 3.871 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/7.038, allocations: 22.62 kB / 3.871 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/7.038, allocations: 11.69 kB / 3.871 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001932/7.039, allocations: 189.1 kB / 3.871 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005522/7.044, allocations: 0.9705 MB / 3.872 GB, free: 27.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 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.007665/7.052, allocations: 1.623 MB / 3.873 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001559/7.053, allocations: 0.8113 MB / 3.874 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/7.053, allocations: 0 / 3.874 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/7.054, allocations: 0.6272 MB / 3.875 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/7.055, allocations: 163.5 kB / 3.875 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/7.057, allocations: 1.047 MB / 3.876 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/7.057, allocations: 0.8979 MB / 3.877 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/7.057, allocations: 0 / 3.877 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.04446/7.102, allocations: 32.39 MB / 3.909 GB, free: 20.91 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)