Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [: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.001107/0.001107, allocations: 191.6 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.28/1.28, 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.001023/0.001023, allocations: 107.8 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.3296/0.3296, allocations: 48.76 MB / 358.4 MB, free: 53.16 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.683e-06/6.863e-06, allocations: 224 / 424.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 60.26 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.571, allocations: 2.917 GB / 3.391 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/4.572, allocations: 79.94 kB / 3.391 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.798/5.37, allocations: 295.9 MB / 3.68 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.851e-05/5.37, allocations: 15.62 kB / 3.68 GB, free: 62.58 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.005844/5.376, allocations: 1.301 MB / 3.681 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/5.376, allocations: 12 kB / 3.681 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/5.376, allocations: 63.34 kB / 3.681 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/5.376, allocations: 338.3 kB / 3.681 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/5.376, allocations: 12.75 kB / 3.681 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/5.377, allocations: 15.12 kB / 3.681 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002912/5.377, allocations: 139.8 kB / 3.681 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/5.377, allocations: 275.7 kB / 3.682 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/5.377, allocations: 4.938 kB / 3.682 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/5.377, allocations: 0.9375 kB / 3.682 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/5.377, allocations: 7.594 kB / 3.682 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/5.379, allocations: 1.444 MB / 3.683 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/5.379, allocations: 140 kB / 3.683 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/5.379, allocations: 39.73 kB / 3.683 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3166/5.696, allocations: 64.03 MB / 3.746 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/5.696, allocations: 33.56 kB / 3.746 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.966e-06/5.696, allocations: 0 / 3.746 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0008124/5.697, allocations: 214.5 kB / 3.746 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/5.697, allocations: 54.81 kB / 3.746 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/5.697, allocations: 237.9 kB / 3.746 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/5.697, allocations: 25.7 kB / 3.746 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/5.697, allocations: 179.1 kB / 3.747 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/5.697, allocations: 46.23 kB / 3.747 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/5.697, allocations: 6.531 kB / 3.747 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/5.697, allocations: 336.2 kB / 3.747 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/5.697, allocations: 40.22 kB / 3.747 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/5.697, allocations: 99.47 kB / 3.747 GB, free: 119.9 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/5.698, allocations: 224.6 kB / 3.747 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/5.698, allocations: 0 / 3.747 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005261/5.699, allocations: 262.2 kB / 3.748 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/5.699, allocations: 3.906 kB / 3.748 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/5.699, allocations: 0 / 3.748 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/5.699, allocations: 30.14 kB / 3.748 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/5.699, allocations: 45.16 kB / 3.748 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007713/5.7, allocations: 1.236 MB / 3.749 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/5.7, allocations: 18.06 kB / 3.749 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/5.7, allocations: 13.75 kB / 3.749 GB, free: 118.5 MB / 0.5105 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: Inertia1.a = $START.Inertia1.a Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/5.7, allocations: 116.1 kB / 3.749 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/5.7, allocations: 69.95 kB / 3.749 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/5.701, allocations: 0.6577 MB / 3.75 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/5.701, allocations: 12.42 kB / 3.75 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/5.701, allocations: 0 / 3.75 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/5.701, allocations: 0 / 3.75 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/5.702, allocations: 1.069 MB / 3.751 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/5.702, allocations: 0 / 3.751 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/5.702, allocations: 40.91 kB / 3.751 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/5.703, allocations: 23.22 kB / 3.751 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/5.703, allocations: 3.344 kB / 3.751 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006101/5.703, allocations: 1.22 MB / 3.752 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.703, allocations: 6.953 kB / 3.752 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007517/5.704, allocations: 0.7165 MB / 3.753 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/5.704, allocations: 119.2 kB / 3.753 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/5.704, allocations: 3.312 kB / 3.753 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/5.704, allocations: 15.81 kB / 3.753 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/5.704, allocations: 10.23 kB / 3.753 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/5.704, allocations: 3.875 kB / 3.753 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001466/5.704, allocations: 194.7 kB / 3.753 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006303/5.711, allocations: 1.284 MB / 3.754 GB, free: 116.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007404/5.718, allocations: 1.948 MB / 3.756 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000557/5.719, allocations: 401 kB / 3.757 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/5.719, allocations: 0 / 3.757 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/5.719, allocations: 370.1 kB / 3.757 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/5.72, allocations: 107.9 kB / 3.757 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/5.721, allocations: 0.7564 MB / 3.758 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/5.721, allocations: 0.856 MB / 3.759 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/5.721, allocations: 0 / 3.759 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.04221/5.764, allocations: 35.64 MB / 3.793 GB, free: 115 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)