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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestTurboJetInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestTurboJetInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetInertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001548, allocations: 175.3 kB / 8.349 MB, free: 0.7266 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.581/1.581, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009434, allocations: 88.25 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4124/0.4124, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.748e-05, allocations: 4.219 kB / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.614/1.714, allocations: 0.7611 GB / 1.235 GB, free: 45.87 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.714, allocations: 77.34 kB / 1.235 GB, free: 45.83 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.609/6.324, allocations: 1.064 GB / 2.299 GB, free: 66.65 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.413e-06/6.324, allocations: 0 / 2.299 GB, free: 66.65 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002556/6.324, allocations: 62.55 kB / 2.299 GB, free: 66.65 MB / 0.5421 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.01037/6.334, allocations: 2.483 MB / 2.302 GB, free: 66.02 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/6.334, allocations: 11.75 kB / 2.302 GB, free: 66.02 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/6.338, allocations: 0.5168 MB / 2.302 GB, free: 65.87 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/6.342, allocations: 1.723 MB / 2.304 GB, free: 65.55 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/6.342, allocations: 59.69 kB / 2.304 GB, free: 65.55 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/6.343, allocations: 122.5 kB / 2.304 GB, free: 65.54 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003367/6.346, allocations: 1.956 MB / 2.306 GB, free: 65.54 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/6.35, allocations: 2.295 MB / 2.308 GB, free: 65.34 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/6.35, allocations: 9.406 kB / 2.308 GB, free: 65.34 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/6.351, allocations: 9.453 kB / 2.308 GB, free: 65.34 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.888e-05/6.351, allocations: 67.16 kB / 2.308 GB, free: 65.33 MB / 0.5421 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/6.368, allocations: 11.03 MB / 2.319 GB, free: 59.32 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/6.37, allocations: 0.9608 MB / 2.32 GB, free: 59.27 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009006/6.371, allocations: 0.6306 MB / 2.321 GB, free: 59.25 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/6.372, allocations: 307.4 kB / 2.321 GB, free: 59.07 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/6.372, allocations: 65.22 kB / 2.321 GB, free: 59.03 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=110): time 4.679e-06/6.372, allocations: 2.438 kB / 2.321 GB, free: 59.03 MB / 0.5421 GB Notification: Performance of matching and sorting (n=121): time 0.01403/6.386, allocations: 4.985 MB / 2.326 GB, free: 57.79 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/6.386, allocations: 243.6 kB / 2.326 GB, free: 57.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/6.39, allocations: 2.15 MB / 2.328 GB, free: 57.29 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/6.39, allocations: 31.86 kB / 2.328 GB, free: 57.25 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009977/6.391, allocations: 1.194 MB / 2.33 GB, free: 56.92 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/6.391, allocations: 417.3 kB / 2.33 GB, free: 56.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/6.392, allocations: 2.344 kB / 2.33 GB, free: 56.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001416/6.392, allocations: 361.6 kB / 2.33 GB, free: 56.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/6.393, allocations: 0.6905 MB / 2.331 GB, free: 56.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/6.394, allocations: 0.9927 MB / 2.332 GB, free: 56.07 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/6.395, allocations: 0.8178 MB / 2.333 GB, free: 56.05 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/6.395, allocations: 3.531 kB / 2.333 GB, free: 56.05 MB / 0.5421 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004545/6.4, allocations: 2.373 MB / 2.335 GB, free: 55.88 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009325/6.401, allocations: 3.205 MB / 2.338 GB, free: 52.56 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.639e-05/6.401, allocations: 8.312 kB / 2.338 GB, free: 52.56 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004825/6.406, allocations: 1.232 MB / 2.339 GB, free: 52.54 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/6.407, allocations: 240.1 kB / 2.34 GB, free: 52.54 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/6.412, allocations: 2.85 MB / 2.342 GB, free: 51.39 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/6.415, allocations: 157 kB / 2.343 GB, free: 51.38 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/6.415, allocations: 81.98 kB / 2.343 GB, free: 51.38 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/6.415, allocations: 9.719 kB / 2.343 GB, free: 51.38 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00344/6.419, allocations: 1.856 MB / 2.344 GB, free: 51.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/6.419, allocations: 6.906 kB / 2.344 GB, free: 51.34 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/6.422, allocations: 0.7341 MB / 2.345 GB, free: 51.33 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/6.424, allocations: 310.6 kB / 2.345 GB, free: 51.33 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/6.427, allocations: 3.932 MB / 2.349 GB, free: 48.44 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/6.43, allocations: 153.1 kB / 2.349 GB, free: 48.43 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/6.43, allocations: 80.14 kB / 2.35 GB, free: 48.43 MB / 0.5421 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.0009824/6.431, allocations: 144.3 kB / 2.35 GB, free: 48.31 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004162/6.436, allocations: 1.761 MB / 2.351 GB, free: 48.12 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/6.436, allocations: 220.5 kB / 2.352 GB, free: 48.02 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/6.441, allocations: 2.014 MB / 2.354 GB, free: 47.89 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/6.441, allocations: 13.22 kB / 2.354 GB, free: 47.89 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/6.441, allocations: 4.406 kB / 2.354 GB, free: 47.89 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/6.441, allocations: 7.141 kB / 2.354 GB, free: 47.89 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/6.445, allocations: 1.863 MB / 2.355 GB, free: 47.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/6.445, allocations: 0 / 2.355 GB, free: 47.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/6.447, allocations: 245.2 kB / 2.356 GB, free: 47.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/6.449, allocations: 0.6291 MB / 2.356 GB, free: 47.67 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/6.449, allocations: 33.23 kB / 2.356 GB, free: 47.67 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/6.453, allocations: 4.526 MB / 2.361 GB, free: 44.24 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.453, allocations: 2.188 kB / 2.361 GB, free: 44.24 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/6.458, allocations: 2.758 MB / 2.363 GB, free: 43.82 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/6.459, allocations: 377.2 kB / 2.364 GB, free: 43.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/6.46, allocations: 9.5 kB / 2.364 GB, free: 43.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/6.462, allocations: 148.1 kB / 2.364 GB, free: 43.61 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/6.462, allocations: 87.02 kB / 2.364 GB, free: 43.61 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/6.462, allocations: 110.8 kB / 2.364 GB, free: 43.61 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.002976/6.465, allocations: 1.617 MB / 2.366 GB, free: 43.46 MB / 0.5421 GB Notification: Performance of sort global known variables: time 7.41e-07/6.465, allocations: 0 / 2.366 GB, free: 43.46 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.006082/6.471, allocations: 1.255 MB / 2.367 GB, free: 43.4 MB / 0.5421 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.01021/6.482, allocations: 5.468 MB / 2.372 GB, free: 42.17 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006561/6.488, allocations: 3.055 MB / 2.375 GB, free: 42.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/6.488, allocations: 7.531 kB / 2.375 GB, free: 42.09 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/6.49, allocations: 1.009 MB / 2.376 GB, free: 41.98 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/6.496, allocations: 0.6462 MB / 2.377 GB, free: 41.95 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/6.51, allocations: 4.774 MB / 2.382 GB, free: 40.95 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/6.512, allocations: 1.809 MB / 2.383 GB, free: 40.21 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.005759/6.518, allocations: 1.379 MB / 2.385 GB, free: 40.19 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/6.52, allocations: 0.963 MB / 2.386 GB, free: 40.18 MB / 0.5421 GB Notification: Performance of SimCode: time 2.044e-06/6.52, allocations: 0 / 2.386 GB, free: 40.18 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/6.688, allocations: 79.51 MB / 2.463 GB, free: 24.27 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/6.688, allocations: 163.5 kB / 2.463 GB, free: 24.08 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.744/12.43, allocations: 0 / 2.463 GB, free: 24.08 MB / 0.5421 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetInertia_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe 2>&1)