Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",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.001222/0.001222, allocations: 180.6 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.765/1.765, 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.0008812/0.0008812, allocations: 95.27 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4482/0.4482, allocations: 48.77 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 60.23 MB / 499 MB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/1.907, allocations: 0.7181 GB / 1.205 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.907, allocations: 79.72 kB / 1.205 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6954/2.603, allocations: 203.6 MB / 1.404 GB, free: 81.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/2.603, allocations: 0 / 1.404 GB, free: 81.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.221e-05/2.603, allocations: 16 kB / 1.404 GB, free: 81.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002106/2.605, allocations: 1.157 MB / 1.405 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/2.605, allocations: 8.031 kB / 1.405 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/2.605, allocations: 94.52 kB / 1.406 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/2.606, allocations: 154.7 kB / 1.406 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/2.607, allocations: 0.6748 MB / 1.406 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/2.607, allocations: 41 kB / 1.406 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/2.607, allocations: 48 kB / 1.406 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/2.608, allocations: 0.5879 MB / 1.407 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/2.608, allocations: 0 / 1.407 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/2.608, allocations: 24 kB / 1.407 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/2.608, allocations: 12 kB / 1.407 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/2.609, allocations: 451.7 kB / 1.407 GB, free: 78.45 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.003709/2.612, allocations: 2.366 MB / 1.41 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/2.613, allocations: 130.5 kB / 1.41 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/2.613, allocations: 121.2 kB / 1.41 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/2.613, allocations: 38.56 kB / 1.41 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.265e-06/2.613, allocations: 0 / 1.41 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0005045/2.613, allocations: 260.7 kB / 1.41 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/2.613, allocations: 51.41 kB / 1.41 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/2.615, allocations: 1.202 MB / 1.412 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/2.615, allocations: 29.7 kB / 1.412 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/2.615, allocations: 471 kB / 1.412 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/2.615, allocations: 55.2 kB / 1.412 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/2.615, allocations: 4 kB / 1.412 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/2.615, allocations: 333.8 kB / 1.412 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/2.615, allocations: 125.6 kB / 1.412 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/2.616, allocations: 245.6 kB / 1.413 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/2.616, allocations: 149.4 kB / 1.413 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.616, allocations: 4 kB / 1.413 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005982/2.616, allocations: 470.1 kB / 1.413 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/2.616, allocations: 8 kB / 1.413 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/2.616, allocations: 4.531 kB / 1.413 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/2.617, allocations: 12 kB / 1.413 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/2.617, allocations: 103.8 kB / 1.413 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003344/2.617, allocations: 0.6093 MB / 1.414 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/2.618, allocations: 83.19 kB / 1.414 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/2.618, allocations: 20 kB / 1.414 GB, free: 71.27 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0004414/2.618, allocations: 301.7 kB / 1.414 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/2.618, allocations: 94.86 kB / 1.415 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/2.619, allocations: 240.4 kB / 1.415 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/2.619, allocations: 4 kB / 1.415 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.619, allocations: 3.984 kB / 1.415 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/2.619, allocations: 3.953 kB / 1.415 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/2.62, allocations: 0.584 MB / 1.415 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/2.62, allocations: 0 / 1.415 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/2.62, allocations: 47.91 kB / 1.415 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/2.62, allocations: 4 kB / 1.415 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/2.62, allocations: 0 / 1.415 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002377/2.62, allocations: 0.5977 MB / 1.416 GB, free: 69.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/2.62, allocations: 0 / 1.416 GB, free: 69.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/2.62, allocations: 382.8 kB / 1.416 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/2.621, allocations: 223.9 kB / 1.417 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/2.621, allocations: 8 kB / 1.417 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/2.621, allocations: 19.94 kB / 1.417 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/2.621, allocations: 11.98 kB / 1.417 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/2.621, allocations: 11.98 kB / 1.417 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009987/2.622, allocations: 0.9385 MB / 1.417 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/2.622, allocations: 0 / 1.417 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001158/2.624, allocations: 283.8 kB / 1.418 GB, free: 67.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.002504/2.626, allocations: 1.845 MB / 1.42 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004904/2.627, allocations: 235.6 kB / 1.42 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/2.627, allocations: 0 / 1.42 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/2.627, allocations: 57.05 kB / 1.42 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/2.628, allocations: 328.1 kB / 1.42 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/2.636, allocations: 8.425 MB / 1.428 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/2.636, allocations: 1.012 MB / 1.429 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006919/2.637, allocations: 174.7 kB / 1.43 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/2.637, allocations: 295.3 kB / 1.43 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.844e-06/2.637, allocations: 0 / 1.43 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/2.69, allocations: 33.42 MB / 1.462 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/2.691, allocations: 247 kB / 1.463 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/6.058, allocations: 0 / 1.463 GB, free: 21.06 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)