Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.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.TestTurboJetInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia") translateModel(ThermoPower.Test.GasComponents.TestTurboJetInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia") [: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.0009945/0.0009945, allocations: 189.7 kB / 8.135 MB, free: 2.207 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.088/1.088, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009639/0.0009639, allocations: 107 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.3268/0.3268, allocations: 48.76 MB / 358.4 MB, free: 53.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.562e-06, allocations: 3.938 kB / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 60.24 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.277, allocations: 0.761 GB / 1.235 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/1.278, allocations: 83.86 kB / 1.235 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.985/4.263, allocations: 1.077 GB / 2.312 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001474/4.263, allocations: 56.75 kB / 2.312 GB, free: 67.14 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.005476/4.269, allocations: 2.479 MB / 2.314 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/4.269, allocations: 11.19 kB / 2.314 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/4.271, allocations: 0.5187 MB / 2.315 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/4.274, allocations: 1.741 MB / 2.316 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/4.274, allocations: 60.12 kB / 2.316 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/4.274, allocations: 114.8 kB / 2.316 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002767/4.277, allocations: 2.019 MB / 2.318 GB, free: 65.96 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/4.28, allocations: 2.338 MB / 2.321 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/4.281, allocations: 0 / 2.321 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/4.281, allocations: 6.375 kB / 2.321 GB, free: 65.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.785e-05/4.281, allocations: 72.42 kB / 2.321 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/4.295, allocations: 11.38 MB / 2.332 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/4.295, allocations: 0.6985 MB / 2.333 GB, free: 59.47 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/4.296, allocations: 0.6475 MB / 2.333 GB, free: 59.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/4.297, allocations: 312.3 kB / 2.334 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/4.297, allocations: 66.47 kB / 2.334 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=110): time 2.945e-06/4.297, allocations: 0 / 2.334 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121): time 0.01303/4.31, allocations: 5.018 MB / 2.338 GB, free: 57.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/4.31, allocations: 256.1 kB / 2.339 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/4.313, allocations: 2.156 MB / 2.341 GB, free: 57.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/4.314, allocations: 31.86 kB / 2.341 GB, free: 57.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/4.314, allocations: 0.8217 MB / 2.342 GB, free: 57.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/4.314, allocations: 418.1 kB / 2.342 GB, free: 56.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/4.314, allocations: 0 / 2.342 GB, free: 56.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/4.315, allocations: 362.5 kB / 2.342 GB, free: 56.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/4.315, allocations: 0.7116 MB / 2.343 GB, free: 56.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009935/4.316, allocations: 1.018 MB / 2.344 GB, free: 56.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/4.318, allocations: 0.8375 MB / 2.345 GB, free: 56.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/4.318, allocations: 4.781 kB / 2.345 GB, free: 56.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003751/4.321, allocations: 2.449 MB / 2.347 GB, free: 55.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006462/4.322, allocations: 3.195 MB / 2.35 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/4.322, allocations: 10.88 kB / 2.35 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/4.326, allocations: 1.26 MB / 2.352 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/4.327, allocations: 234.6 kB / 2.352 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/4.331, allocations: 2.99 MB / 2.355 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/4.333, allocations: 152.5 kB / 2.355 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/4.333, allocations: 97.19 kB / 2.355 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/4.333, allocations: 5.562 kB / 2.355 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002881/4.336, allocations: 1.908 MB / 2.357 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/4.336, allocations: 7.062 kB / 2.357 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/4.339, allocations: 0.7566 MB / 2.358 GB, free: 51.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/4.34, allocations: 304.9 kB / 2.358 GB, free: 51.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/4.344, allocations: 4.049 MB / 2.362 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/4.345, allocations: 149.4 kB / 2.362 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/4.346, allocations: 85.81 kB / 2.362 GB, free: 48.54 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Compressor1.tau:VARIABLE(unit = "N.m" ) "net torque acting on the compressor" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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 {17 52} Notification: Performance of prepare postOptimizeDAE: time 0.0006365/4.346, allocations: 142.4 kB / 2.362 GB, free: 48.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007227/4.347, allocations: 218.2 kB / 2.362 GB, free: 48.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/4.351, allocations: 2.108 MB / 2.365 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/4.351, allocations: 11.34 kB / 2.365 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/4.351, allocations: 0 / 2.365 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/4.351, allocations: 13.75 kB / 2.365 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/4.355, allocations: 1.868 MB / 2.366 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/4.355, allocations: 0 / 2.366 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/4.356, allocations: 243.7 kB / 2.367 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/4.359, allocations: 0.6362 MB / 2.367 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/4.359, allocations: 35.27 kB / 2.367 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/4.362, allocations: 4.619 MB / 2.372 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/4.362, allocations: 0 / 2.372 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004496/4.367, allocations: 2.818 MB / 2.375 GB, free: 44.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/4.368, allocations: 377.5 kB / 2.375 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006034/4.368, allocations: 9.969 kB / 2.375 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/4.371, allocations: 149.6 kB / 2.375 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/4.371, allocations: 79.38 kB / 2.375 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003752/4.371, allocations: 107.9 kB / 2.375 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002788/4.374, allocations: 1.624 MB / 2.377 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004892/4.379, allocations: 1.247 MB / 2.378 GB, free: 43.72 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (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,Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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 {5 24,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0059/4.385, allocations: 2.263 MB / 2.38 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005877/4.391, allocations: 3.173 MB / 2.383 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/4.391, allocations: 8.562 kB / 2.383 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/4.393, allocations: 1.019 MB / 2.384 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/4.397, allocations: 0.6356 MB / 2.385 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/4.406, allocations: 4.249 MB / 2.389 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/4.408, allocations: 1.976 MB / 2.391 GB, free: 41.58 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/4.408, allocations: 0 / 2.391 GB, free: 41.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.1032/4.511, allocations: 65.04 MB / 2.455 GB, free: 38.43 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe 2>&1)