Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.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.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") [: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.001176/0.001176, allocations: 194.1 kB / 8.136 MB, free: 2.195 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.099/1.099, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0008221/0.000822, allocations: 94.23 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.3152/0.3152, allocations: 48.75 MB / 358.4 MB, free: 53.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.672e-06, allocations: 0 / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 60.25 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.274, allocations: 0.7611 GB / 1.235 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/1.274, allocations: 79.95 kB / 1.235 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.644/3.918, allocations: 0.9693 GB / 2.204 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003025/3.918, allocations: 61.62 kB / 2.204 GB, free: 57.86 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.007062/3.925, allocations: 2.439 MB / 2.206 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/3.926, allocations: 9.094 kB / 2.207 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/3.929, allocations: 0.5024 MB / 2.207 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/3.933, allocations: 1.794 MB / 2.209 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/3.933, allocations: 62.31 kB / 2.209 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/3.933, allocations: 110.8 kB / 2.209 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002991/3.936, allocations: 1.827 MB / 2.211 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/3.94, allocations: 2.132 MB / 2.213 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/3.94, allocations: 6.562 kB / 2.213 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/3.94, allocations: 4.781 kB / 2.213 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/3.94, allocations: 72.66 kB / 2.213 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/3.954, allocations: 10.38 MB / 2.223 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/3.955, allocations: 0.5914 MB / 2.224 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/3.956, allocations: 0.5652 MB / 2.224 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/3.956, allocations: 300.2 kB / 2.224 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/3.956, allocations: 63.31 kB / 2.224 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 2.465e-06/3.956, allocations: 0 / 2.224 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105): time 0.01066/3.967, allocations: 4.318 MB / 2.229 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/3.967, allocations: 168.3 kB / 2.229 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/3.971, allocations: 2.436 MB / 2.231 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/3.971, allocations: 28.86 kB / 2.231 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/3.971, allocations: 0.8209 MB / 2.232 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/3.972, allocations: 363.2 kB / 2.232 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/3.972, allocations: 0 / 2.232 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/3.972, allocations: 358.8 kB / 2.233 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/3.973, allocations: 0.6915 MB / 2.233 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/3.974, allocations: 0.9463 MB / 2.234 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/3.975, allocations: 0.7605 MB / 2.235 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/3.975, allocations: 1.562 kB / 2.235 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004652/3.979, allocations: 2.351 MB / 2.237 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000602/3.98, allocations: 3.323 MB / 2.241 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/3.98, allocations: 8.094 kB / 2.241 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/3.984, allocations: 1.161 MB / 2.242 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/3.985, allocations: 214.5 kB / 2.242 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/3.99, allocations: 2.887 MB / 2.245 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/3.992, allocations: 130.2 kB / 2.245 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/3.992, allocations: 84.73 kB / 2.245 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.992, allocations: 4 kB / 2.245 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003307/3.995, allocations: 1.901 MB / 2.247 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/3.995, allocations: 8 kB / 2.247 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/3.998, allocations: 0.8216 MB / 2.248 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/4, allocations: 250.4 kB / 2.248 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/4.003, allocations: 3.579 MB / 2.251 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/4.005, allocations: 121.5 kB / 2.252 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/4.005, allocations: 75.84 kB / 2.252 GB, free: 31.27 MB / 0.5261 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CombustionChamber1.M:DUMMY_STATE(min = 0.0 unit = "kg" ) "Gas total mass" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006757/4.006, allocations: 156.5 kB / 2.252 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/4.006, allocations: 221.4 kB / 2.252 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/4.01, allocations: 1.911 MB / 2.254 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/4.01, allocations: 8 kB / 2.254 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/4.01, allocations: 4 kB / 2.254 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/4.01, allocations: 5.953 kB / 2.254 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009077/4.019, allocations: 4.075 MB / 2.258 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/4.019, allocations: 0 / 2.258 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/4.021, allocations: 233.9 kB / 2.258 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/4.022, allocations: 482.1 kB / 2.258 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/4.023, allocations: 31.69 kB / 2.259 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/4.026, allocations: 4.378 MB / 2.263 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/4.026, allocations: 4.031 kB / 2.263 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004138/4.03, allocations: 2.492 MB / 2.265 GB, free: 18.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/4.031, allocations: 418.2 kB / 2.266 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006691/4.032, allocations: 15.98 kB / 2.266 GB, free: 18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/4.034, allocations: 125.1 kB / 2.266 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/4.034, allocations: 56.91 kB / 2.266 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003776/4.035, allocations: 107.9 kB / 2.266 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003059/4.038, allocations: 1.837 MB / 2.268 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00585/4.044, allocations: 1.2 MB / 2.269 GB, free: 14.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (CombustionChamber1.fluegas.p,CombustionChamber1.fluegas.Xi[2],CombustionChamber1.fluegas.Xi[3],CombustionChamber1.fluegas.Xi[4],CombustionChamber1.fluegas.Xi[5],CombustionChamber1.fluegas.T,CombustionChamber1.fluegas.R,CombustionChamber1.Tm,ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,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: 2 {3 15,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005528/4.049, allocations: 2.143 MB / 2.271 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005363/4.054, allocations: 2.875 MB / 2.274 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/4.054, allocations: 6.656 kB / 2.274 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/4.056, allocations: 0.9149 MB / 2.275 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/4.06, allocations: 0.5824 MB / 2.275 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/4.069, allocations: 4.274 MB / 2.279 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/4.072, allocations: 2.007 MB / 2.281 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/4.072, allocations: 0 / 2.281 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of Templates: time 0.2929/4.364, allocations: 62.12 MB / 2.342 GB, free: 110.5 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe 2>&1)