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.001023/0.001023, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009077/0.0009078, allocations: 86.77 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3379/0.3379, allocations: 48.78 MB / 364.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.605e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.226/2.371, allocations: 0.7618 GB / 1.243 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/2.371, allocations: 86.08 kB / 1.243 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.85/7.221, allocations: 1.078 GB / 2.321 GB, free: 69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/7.221, allocations: 0 / 2.321 GB, free: 69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002486/7.221, allocations: 66.94 kB / 2.321 GB, free: 69 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.01031/7.232, allocations: 2.48 MB / 2.323 GB, free: 68.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.737e-05/7.232, allocations: 9.656 kB / 2.324 GB, free: 68.23 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007081/7.233, allocations: 270.4 kB / 2.324 GB, free: 68.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/7.236, allocations: 0.5144 MB / 2.324 GB, free: 68.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005725/7.242, allocations: 1.726 MB / 2.326 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/7.242, allocations: 146.3 kB / 2.326 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/7.242, allocations: 204.8 kB / 2.326 GB, free: 67.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/7.249, allocations: 2.569 MB / 2.329 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/7.249, allocations: 7.812 kB / 2.329 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003441/7.249, allocations: 97.69 kB / 2.329 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.813e-05/7.25, allocations: 66.62 kB / 2.329 GB, free: 67.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/7.253, allocations: 2.017 MB / 2.331 GB, free: 67.47 MB / 0.5417 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.02026/7.273, allocations: 11.56 MB / 2.342 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/7.275, allocations: 0.95 MB / 2.343 GB, free: 61.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009661/7.276, allocations: 0.6374 MB / 2.344 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/7.277, allocations: 312.8 kB / 2.344 GB, free: 61.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.169e-05/7.277, allocations: 71.67 kB / 2.344 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=110): time 7.404e-06/7.277, allocations: 0 / 2.344 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121): time 0.01515/7.292, allocations: 5.198 MB / 2.349 GB, free: 59.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/7.292, allocations: 248.6 kB / 2.349 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/7.297, allocations: 2.782 MB / 2.352 GB, free: 59.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000479/7.297, allocations: 62.08 kB / 2.352 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/7.298, allocations: 1.178 MB / 2.353 GB, free: 58.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/7.299, allocations: 439.8 kB / 2.354 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/7.299, allocations: 25.62 kB / 2.354 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001523/7.299, allocations: 365.8 kB / 2.354 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/7.3, allocations: 0.6925 MB / 2.355 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/7.302, allocations: 1.015 MB / 2.356 GB, free: 58.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/7.303, allocations: 0.8103 MB / 2.357 GB, free: 58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/7.303, allocations: 3.953 kB / 2.357 GB, free: 58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004871/7.308, allocations: 2.491 MB / 2.359 GB, free: 57.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001109/7.309, allocations: 3.289 MB / 2.362 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/7.309, allocations: 7.969 kB / 2.362 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/7.315, allocations: 1.421 MB / 2.364 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.316, allocations: 237.4 kB / 2.364 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/7.32, allocations: 2.648 MB / 2.366 GB, free: 53.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/7.324, allocations: 188.3 kB / 2.367 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/7.324, allocations: 86.84 kB / 2.367 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/7.324, allocations: 3.75 kB / 2.367 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/7.328, allocations: 2.026 MB / 2.369 GB, free: 53.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.307e-05/7.328, allocations: 9.25 kB / 2.369 GB, free: 53.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/7.332, allocations: 0.86 MB / 2.37 GB, free: 53.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/7.333, allocations: 303.5 kB / 2.37 GB, free: 53.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/7.337, allocations: 3.84 MB / 2.374 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/7.34, allocations: 180.6 kB / 2.374 GB, free: 50.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/7.34, allocations: 82.55 kB / 2.374 GB, free: 50.19 MB / 0.5417 GB 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.0009491/7.341, allocations: 190.2 kB / 2.374 GB, free: 50.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/7.343, allocations: 264 kB / 2.374 GB, free: 49.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/7.348, allocations: 2.154 MB / 2.376 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/7.348, allocations: 22.41 kB / 2.376 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/7.348, allocations: 0 / 2.376 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/7.348, allocations: 9.797 kB / 2.376 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/7.355, allocations: 2.119 MB / 2.379 GB, free: 49.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/7.355, allocations: 0 / 2.379 GB, free: 49.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/7.356, allocations: 249.5 kB / 2.379 GB, free: 49.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/7.36, allocations: 0.6934 MB / 2.379 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/7.36, allocations: 45.19 kB / 2.379 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/7.365, allocations: 4.492 MB / 2.384 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/7.365, allocations: 3.812 kB / 2.384 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007567/7.372, allocations: 2.892 MB / 2.387 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/7.375, allocations: 439.2 kB / 2.387 GB, free: 45.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/7.376, allocations: 33.58 kB / 2.387 GB, free: 45.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/7.38, allocations: 187 kB / 2.387 GB, free: 45.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/7.381, allocations: 81.58 kB / 2.387 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006399/7.381, allocations: 109 kB / 2.387 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005837/7.387, allocations: 2.131 MB / 2.39 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.1e-07/7.387, allocations: 0 / 2.39 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01125/7.399, allocations: 1.401 MB / 2.391 GB, free: 45.17 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.01372/7.412, allocations: 5.39 MB / 2.396 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00856/7.421, allocations: 3.158 MB / 2.399 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-05/7.421, allocations: 10.25 kB / 2.399 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/7.424, allocations: 1.042 MB / 2.4 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008694/7.433, allocations: 1.124 MB / 2.401 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/7.449, allocations: 4.999 MB / 2.406 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/7.452, allocations: 1.801 MB / 2.408 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008115/7.46, allocations: 1.624 MB / 2.41 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/7.462, allocations: 0.9848 MB / 2.411 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of SimCode: time 2.154e-06/7.462, allocations: 0 / 2.411 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6704/8.133, allocations: 111.7 MB / 2.52 GB, free: 79.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/8.133, allocations: 220.2 kB / 2.52 GB, free: 78.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/14.87, allocations: 0 / 2.52 GB, free: 78.93 MB / 0.5573 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)