Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [: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.001032/0.001032, allocations: 190.8 kB / 8.134 MB, free: 2.199 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.072/1.072, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.0008768/0.0008768, allocations: 101 kB / 261.8 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3422/0.3422, allocations: 48.75 MB / 358.4 MB, free: 53.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.035e-05, allocations: 7.938 kB / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 60.25 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.316, allocations: 0.7177 GB / 1.191 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/1.316, allocations: 78.22 kB / 1.191 GB, free: 85.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5276/1.844, allocations: 200.9 MB / 1.388 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.114e-05/1.844, allocations: 16 kB / 1.388 GB, free: 98.61 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001773/1.845, allocations: 0.9115 MB / 1.388 GB, free: 97.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.846, allocations: 8.031 kB / 1.388 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/1.846, allocations: 135 kB / 1.389 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/1.847, allocations: 0.5467 MB / 1.389 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.847, allocations: 16 kB / 1.389 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/1.847, allocations: 31.91 kB / 1.389 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006009/1.848, allocations: 426.5 kB / 1.39 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/1.849, allocations: 0.5196 MB / 1.39 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.849, allocations: 3.984 kB / 1.39 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/1.849, allocations: 4 kB / 1.39 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.849, allocations: 12 kB / 1.39 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/1.852, allocations: 2.152 MB / 1.392 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/1.852, allocations: 122.5 kB / 1.392 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/1.852, allocations: 52.84 kB / 1.392 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/1.853, allocations: 117.1 kB / 1.392 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.853, allocations: 38.56 kB / 1.393 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.365e-06/1.853, allocations: 0 / 1.393 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003671/1.853, allocations: 173.2 kB / 1.393 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/1.853, allocations: 55.34 kB / 1.393 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/1.854, allocations: 0.6427 MB / 1.393 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/1.854, allocations: 25.7 kB / 1.393 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/1.854, allocations: 330.5 kB / 1.394 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/1.854, allocations: 55.28 kB / 1.394 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/1.854, allocations: 4 kB / 1.394 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/1.854, allocations: 366.7 kB / 1.394 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.854, allocations: 117.7 kB / 1.394 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.854, allocations: 242.2 kB / 1.394 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/1.854, allocations: 140.8 kB / 1.395 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.854, allocations: 0 / 1.395 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005396/1.855, allocations: 402.6 kB / 1.395 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.855, allocations: 8 kB / 1.395 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.855, allocations: 4.562 kB / 1.395 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.855, allocations: 8 kB / 1.395 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/1.856, allocations: 115.8 kB / 1.395 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002389/1.856, allocations: 0.6132 MB / 1.396 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/1.856, allocations: 43.52 kB / 1.396 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/1.856, allocations: 16 kB / 1.396 GB, free: 89.82 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.856, allocations: 130.1 kB / 1.396 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/1.857, allocations: 59.25 kB / 1.396 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/1.857, allocations: 194 kB / 1.396 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.857, allocations: 4 kB / 1.396 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.857, allocations: 0 / 1.396 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.857, allocations: 0 / 1.396 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/1.858, allocations: 0.7648 MB / 1.397 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.858, allocations: 4.078 kB / 1.397 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/1.858, allocations: 47.91 kB / 1.397 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.858, allocations: 3.984 kB / 1.397 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.858, allocations: 4 kB / 1.397 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001734/1.858, allocations: 0.6095 MB / 1.398 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.858, allocations: 7.938 kB / 1.398 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003254/1.859, allocations: 383.9 kB / 1.398 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.859, allocations: 156.4 kB / 1.398 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/1.859, allocations: 0 / 1.398 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/1.859, allocations: 19.92 kB / 1.398 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/1.859, allocations: 11.98 kB / 1.398 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/1.859, allocations: 20.03 kB / 1.398 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004082/1.86, allocations: 0.4911 MB / 1.399 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000815/1.861, allocations: 275.4 kB / 1.399 GB, free: 86.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/1.862, allocations: 1.084 MB / 1.4 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003831/1.863, allocations: 223.9 kB / 1.4 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.863, allocations: 0 / 1.4 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/1.863, allocations: 59.92 kB / 1.4 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/1.864, allocations: 131.1 kB / 1.4 GB, free: 85.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.865, allocations: 0.8089 MB / 1.401 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/1.865, allocations: 0.9825 MB / 1.402 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.865, allocations: 0 / 1.402 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.01656/1.882, allocations: 12.44 MB / 1.414 GB, free: 70.93 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)