Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.001522/0.001522, allocations: 181.1 kB / 16.39 MB, free: 5.762 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.476/1.476, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008907/0.0008905, allocations: 101.4 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4407/0.4407, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/1.893, allocations: 0.7185 GB / 1.206 GB, free: 74.65 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.893, allocations: 84.2 kB / 1.206 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7182/2.611, allocations: 202 MB / 1.403 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/2.612, allocations: 0 / 1.403 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.159e-05/2.612, allocations: 23.98 kB / 1.403 GB, free: 82.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001927/2.614, allocations: 1.01 MB / 1.404 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/2.614, allocations: 8.031 kB / 1.404 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/2.614, allocations: 98.52 kB / 1.404 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/2.614, allocations: 135 kB / 1.404 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/2.615, allocations: 0.5394 MB / 1.405 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/2.615, allocations: 37.31 kB / 1.405 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/2.615, allocations: 51.98 kB / 1.405 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/2.616, allocations: 0.5925 MB / 1.406 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/2.616, allocations: 3.984 kB / 1.406 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/2.616, allocations: 27.94 kB / 1.406 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/2.616, allocations: 12 kB / 1.406 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/2.617, allocations: 460.9 kB / 1.406 GB, free: 79.87 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003666/2.621, allocations: 2.318 MB / 1.408 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/2.621, allocations: 134.6 kB / 1.408 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/2.621, allocations: 121.1 kB / 1.408 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/2.621, allocations: 34.56 kB / 1.409 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/2.621, allocations: 0 / 1.409 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0004576/2.622, allocations: 248.9 kB / 1.409 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/2.622, allocations: 51.41 kB / 1.409 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009187/2.623, allocations: 0.8904 MB / 1.41 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/2.623, allocations: 29.7 kB / 1.41 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/2.623, allocations: 387.2 kB / 1.41 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/2.623, allocations: 59.25 kB / 1.41 GB, free: 75.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/2.623, allocations: 4 kB / 1.41 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/2.623, allocations: 325.9 kB / 1.41 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/2.623, allocations: 125.7 kB / 1.411 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/2.623, allocations: 251 kB / 1.411 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/2.624, allocations: 149.4 kB / 1.411 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.624, allocations: 4 kB / 1.411 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006995/2.624, allocations: 462 kB / 1.411 GB, free: 74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/2.624, allocations: 11.98 kB / 1.411 GB, free: 73.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/2.624, allocations: 4 kB / 1.411 GB, free: 73.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/2.624, allocations: 8 kB / 1.411 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/2.625, allocations: 107.8 kB / 1.412 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003432/2.625, allocations: 0.6135 MB / 1.412 GB, free: 73.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/2.626, allocations: 79.19 kB / 1.412 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/2.626, allocations: 23.94 kB / 1.412 GB, free: 73.14 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "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: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000295/2.626, allocations: 245.6 kB / 1.412 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/2.626, allocations: 75.06 kB / 1.413 GB, free: 72.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/2.627, allocations: 227.8 kB / 1.413 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/2.627, allocations: 7.938 kB / 1.413 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/2.627, allocations: 0 / 1.413 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/2.627, allocations: 3.953 kB / 1.413 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/2.628, allocations: 0.8323 MB / 1.414 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.628, allocations: 4 kB / 1.414 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/2.628, allocations: 44 kB / 1.414 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/2.628, allocations: 8 kB / 1.414 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/2.628, allocations: 4.047 kB / 1.414 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002081/2.628, allocations: 0.5977 MB / 1.414 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/2.628, allocations: 3.938 kB / 1.414 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/2.629, allocations: 424.4 kB / 1.415 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/2.629, allocations: 180.2 kB / 1.415 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/2.629, allocations: 11.98 kB / 1.415 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/2.629, allocations: 28.05 kB / 1.415 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/2.629, allocations: 11.94 kB / 1.415 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/2.629, allocations: 19.98 kB / 1.415 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006642/2.63, allocations: 0.6941 MB / 1.416 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.63, allocations: 0 / 1.416 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001006/2.631, allocations: 267.8 kB / 1.416 GB, free: 69.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002531/2.634, allocations: 2.092 MB / 1.418 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004633/2.634, allocations: 240.6 kB / 1.418 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.634, allocations: 0 / 1.418 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/2.634, allocations: 68.16 kB / 1.418 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/2.636, allocations: 303.1 kB / 1.418 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/2.639, allocations: 5.132 MB / 1.423 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/2.639, allocations: 0.9254 MB / 1.424 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004942/2.64, allocations: 149.6 kB / 1.424 GB, free: 60.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/2.64, allocations: 235.4 kB / 1.425 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/2.64, allocations: 0 / 1.425 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0485/2.689, allocations: 30.26 MB / 1.454 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/2.689, allocations: 259 kB / 1.454 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/6.063, allocations: 4 kB / 1.455 GB, free: 29.38 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)