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.001008/0.001008, allocations: 175 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.435/1.435, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.0008702/0.0008704, allocations: 90.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3324/0.3324, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.218e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 60.24 MB / 492.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.124/2.271, allocations: 0.7619 GB / 1.243 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/2.271, allocations: 82.66 kB / 1.243 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.29/6.561, allocations: 0.9703 GB / 2.214 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/6.561, allocations: 0 / 2.214 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003681/6.562, allocations: 65.53 kB / 2.214 GB, free: 60.68 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.009328/6.571, allocations: 2.446 MB / 2.216 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/6.571, allocations: 14.72 kB / 2.216 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/6.572, allocations: 257.8 kB / 2.216 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/6.576, allocations: 0.5074 MB / 2.217 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006437/6.583, allocations: 1.775 MB / 2.218 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/6.583, allocations: 136.2 kB / 2.219 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009798/6.584, allocations: 181.2 kB / 2.219 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/6.592, allocations: 2.348 MB / 2.221 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/6.592, allocations: 7.469 kB / 2.221 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006087/6.593, allocations: 82.09 kB / 2.221 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/6.593, allocations: 76.88 kB / 2.221 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/6.597, allocations: 1.839 MB / 2.223 GB, free: 58.48 MB / 0.5261 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.01956/6.616, allocations: 10.58 MB / 2.233 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/6.619, allocations: 0.8405 MB / 2.234 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/6.62, allocations: 0.5538 MB / 2.235 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/6.621, allocations: 308.8 kB / 2.235 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.221e-05/6.621, allocations: 56.94 kB / 2.235 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 5.921e-06/6.621, allocations: 3.469 kB / 2.235 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105): time 0.01849/6.639, allocations: 4.543 MB / 2.239 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/6.64, allocations: 163.2 kB / 2.24 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007744/6.647, allocations: 3.066 MB / 2.243 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007101/6.648, allocations: 57.7 kB / 2.243 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/6.649, allocations: 1.226 MB / 2.244 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/6.65, allocations: 373.4 kB / 2.244 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/6.65, allocations: 32 kB / 2.244 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001311/6.65, allocations: 357.3 kB / 2.245 GB, free: 44.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/6.652, allocations: 0.6803 MB / 2.245 GB, free: 43.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/6.653, allocations: 0.9357 MB / 2.246 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/6.655, allocations: 0.7428 MB / 2.247 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/6.655, allocations: 1.25 kB / 2.247 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006717/6.662, allocations: 2.409 MB / 2.249 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009821/6.663, allocations: 3.424 MB / 2.253 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/6.663, allocations: 8 kB / 2.253 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006656/6.67, allocations: 1.291 MB / 2.254 GB, free: 34.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/6.671, allocations: 207.7 kB / 2.254 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/6.675, allocations: 2.589 MB / 2.257 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/6.679, allocations: 166.2 kB / 2.257 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/6.679, allocations: 83.97 kB / 2.257 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/6.679, allocations: 7.281 kB / 2.257 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005574/6.685, allocations: 1.998 MB / 2.259 GB, free: 29.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/6.685, allocations: 8 kB / 2.259 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/6.69, allocations: 0.9167 MB / 2.26 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/6.691, allocations: 255.6 kB / 2.26 GB, free: 28.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/6.696, allocations: 3.37 MB / 2.263 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/6.7, allocations: 164.4 kB / 2.263 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000379/6.7, allocations: 79.97 kB / 2.263 GB, free: 24.47 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 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 {14 44} Notification: Performance of prepare postOptimizeDAE: time 0.001183/6.701, allocations: 181.7 kB / 2.264 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/6.703, allocations: 272.3 kB / 2.264 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/6.71, allocations: 1.948 MB / 2.266 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/6.71, allocations: 15.75 kB / 2.266 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/6.71, allocations: 3.984 kB / 2.266 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/6.71, allocations: 5.578 kB / 2.266 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/6.724, allocations: 4.316 MB / 2.27 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/6.724, allocations: 11.88 kB / 2.27 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/6.725, allocations: 230.5 kB / 2.27 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/6.727, allocations: 0.5253 MB / 2.271 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/6.727, allocations: 45.69 kB / 2.271 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/6.731, allocations: 4.277 MB / 2.275 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/6.731, allocations: 0 / 2.275 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/6.736, allocations: 2.576 MB / 2.278 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/6.738, allocations: 476.8 kB / 2.278 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/6.739, allocations: 39.94 kB / 2.278 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/6.742, allocations: 152.9 kB / 2.278 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/6.742, allocations: 72.14 kB / 2.278 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004279/6.742, allocations: 103.9 kB / 2.278 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005393/6.748, allocations: 2.35 MB / 2.281 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/6.748, allocations: 0 / 2.281 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008932/6.757, allocations: 1.323 MB / 2.282 GB, free: 5.254 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.01338/6.77, allocations: 4.987 MB / 2.287 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00843/6.779, allocations: 2.866 MB / 2.29 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/6.779, allocations: 10.56 kB / 2.29 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/6.781, allocations: 0.9338 MB / 2.291 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007966/6.789, allocations: 1.042 MB / 2.292 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/6.807, allocations: 4.996 MB / 2.296 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/6.81, allocations: 1.812 MB / 2.298 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008358/6.819, allocations: 1.792 MB / 2.3 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/6.821, allocations: 0.9913 MB / 2.301 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/6.821, allocations: 0 / 2.301 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7478/7.569, allocations: 108.3 MB / 2.407 GB, free: 62.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/7.569, allocations: 218.8 kB / 2.407 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/14.26, allocations: 4 kB / 2.407 GB, free: 61.91 MB / 0.5417 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)