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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed",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.001541/0.001541, allocations: 177.1 kB / 8.35 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.485/1.485, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008424/0.0008426, allocations: 82.83 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5476/0.5476, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.362e-05, allocations: 224 / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.214/2.357, allocations: 0.7611 GB / 1.235 GB, free: 61.44 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/2.357, allocations: 79.95 kB / 1.235 GB, free: 61.36 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.109/6.466, allocations: 0.9578 GB / 2.193 GB, free: 59.84 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.905e-06/6.466, allocations: 0 / 2.193 GB, free: 59.84 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0004513/6.467, allocations: 61.69 kB / 2.193 GB, free: 59.83 MB / 0.5265 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.01202/6.479, allocations: 2.449 MB / 2.196 GB, free: 58.59 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 7.726e-05/6.479, allocations: 11.28 kB / 2.196 GB, free: 58.59 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/6.484, allocations: 0.5084 MB / 2.196 GB, free: 58.43 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00694/6.49, allocations: 1.766 MB / 2.198 GB, free: 57.91 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/6.491, allocations: 60.72 kB / 2.198 GB, free: 57.91 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008517/6.492, allocations: 110 kB / 2.198 GB, free: 57.91 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003352/6.495, allocations: 1.778 MB / 2.2 GB, free: 57.9 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/6.499, allocations: 2.088 MB / 2.202 GB, free: 57.72 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/6.499, allocations: 14.16 kB / 2.202 GB, free: 57.71 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/6.499, allocations: 3.625 kB / 2.202 GB, free: 57.71 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.603e-05/6.499, allocations: 72.58 kB / 2.202 GB, free: 57.7 MB / 0.5265 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.01628/6.515, allocations: 10.08 MB / 2.212 GB, free: 52.28 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/6.517, allocations: 0.8334 MB / 2.213 GB, free: 52.25 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/6.518, allocations: 0.5513 MB / 2.213 GB, free: 52.23 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/6.518, allocations: 304.4 kB / 2.213 GB, free: 52.05 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/6.518, allocations: 61.81 kB / 2.213 GB, free: 52 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=94): time 6.692e-06/6.518, allocations: 7.375 kB / 2.214 GB, free: 52 MB / 0.5265 GB Notification: Performance of matching and sorting (n=105): time 0.01252/6.531, allocations: 4.278 MB / 2.218 GB, free: 50.94 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/6.531, allocations: 172.2 kB / 2.218 GB, free: 50.75 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/6.536, allocations: 2.42 MB / 2.22 GB, free: 50.52 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0004547/6.536, allocations: 32.45 kB / 2.22 GB, free: 50.49 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/6.537, allocations: 1.226 MB / 2.221 GB, free: 50.05 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/6.538, allocations: 362.1 kB / 2.222 GB, free: 49.81 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/6.538, allocations: 0 / 2.222 GB, free: 49.81 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001477/6.538, allocations: 355 kB / 2.222 GB, free: 49.51 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/6.539, allocations: 0.6738 MB / 2.223 GB, free: 49.43 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/6.54, allocations: 0.9157 MB / 2.224 GB, free: 48.82 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/6.541, allocations: 0.7383 MB / 2.224 GB, free: 48.54 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/6.541, allocations: 3.875 kB / 2.224 GB, free: 48.54 MB / 0.5265 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004411/6.545, allocations: 2.288 MB / 2.227 GB, free: 47.65 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.001066/6.547, allocations: 3.324 MB / 2.23 GB, free: 44.05 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/6.547, allocations: 15.64 kB / 2.23 GB, free: 44.04 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/6.55, allocations: 1.146 MB / 2.231 GB, free: 43.82 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/6.551, allocations: 210.6 kB / 2.231 GB, free: 43.8 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/6.555, allocations: 2.755 MB / 2.234 GB, free: 42.06 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/6.557, allocations: 144.8 kB / 2.234 GB, free: 42.05 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/6.557, allocations: 80.2 kB / 2.234 GB, free: 42.04 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/6.557, allocations: 3.688 kB / 2.234 GB, free: 42.04 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003143/6.56, allocations: 1.841 MB / 2.236 GB, free: 41.37 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/6.56, allocations: 11.53 kB / 2.236 GB, free: 41.37 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/6.563, allocations: 0.7978 MB / 2.237 GB, free: 41.22 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/6.564, allocations: 254.4 kB / 2.237 GB, free: 41.2 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/6.567, allocations: 3.467 MB / 2.24 GB, free: 38.46 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/6.569, allocations: 130.5 kB / 2.24 GB, free: 38.45 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/6.569, allocations: 78.25 kB / 2.241 GB, free: 38.43 MB / 0.5265 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.0007531/6.57, allocations: 143.9 kB / 2.241 GB, free: 38.3 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002835/6.573, allocations: 1.587 MB / 2.242 GB, free: 37.64 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/6.573, allocations: 222.7 kB / 2.242 GB, free: 37.54 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/6.577, allocations: 1.838 MB / 2.244 GB, free: 36.82 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/6.577, allocations: 11.19 kB / 2.244 GB, free: 36.82 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/6.577, allocations: 3.953 kB / 2.244 GB, free: 36.81 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/6.577, allocations: 7.688 kB / 2.244 GB, free: 36.81 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/6.584, allocations: 4.03 MB / 2.248 GB, free: 35.22 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/6.584, allocations: 0 / 2.248 GB, free: 35.22 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/6.585, allocations: 233.7 kB / 2.248 GB, free: 35.21 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/6.587, allocations: 485.7 kB / 2.249 GB, free: 35.08 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/6.587, allocations: 29.7 kB / 2.249 GB, free: 35.07 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/6.59, allocations: 4.3 MB / 2.253 GB, free: 31.27 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/6.59, allocations: 3.844 kB / 2.253 GB, free: 31.27 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/6.594, allocations: 2.452 MB / 2.255 GB, free: 29.05 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/6.595, allocations: 414.5 kB / 2.256 GB, free: 28.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/6.595, allocations: 11.66 kB / 2.256 GB, free: 28.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/6.597, allocations: 142.2 kB / 2.256 GB, free: 28.55 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/6.597, allocations: 74.14 kB / 2.256 GB, free: 28.51 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/6.597, allocations: 97.41 kB / 2.256 GB, free: 28.44 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.002533/6.6, allocations: 1.838 MB / 2.258 GB, free: 26.8 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.61e-07/6.6, allocations: 0 / 2.258 GB, free: 26.8 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.00411/6.604, allocations: 1.191 MB / 2.259 GB, free: 25.62 MB / 0.5265 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.008947/6.613, allocations: 5.067 MB / 2.264 GB, free: 21.43 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.005362/6.618, allocations: 2.778 MB / 2.267 GB, free: 18.89 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.338e-05/6.618, allocations: 10.56 kB / 2.267 GB, free: 18.88 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/6.62, allocations: 0.8972 MB / 2.268 GB, free: 18.05 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/6.624, allocations: 0.5898 MB / 2.268 GB, free: 17.62 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/6.636, allocations: 4.797 MB / 2.273 GB, free: 13.57 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/6.638, allocations: 1.816 MB / 2.275 GB, free: 12.12 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.004273/6.642, allocations: 1.558 MB / 2.276 GB, free: 11.1 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/6.643, allocations: 0.965 MB / 2.277 GB, free: 10.21 MB / 0.5265 GB Notification: Performance of SimCode: time 1.202e-06/6.643, allocations: 0 / 2.277 GB, free: 10.21 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5921/7.235, allocations: 77.1 MB / 2.352 GB, free: 70.56 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/7.236, allocations: 167.2 kB / 2.353 GB, free: 70.37 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.686/12.92, allocations: 4 kB / 2.353 GB, free: 70.36 MB / 0.5421 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe 2>&1)