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.00173/0.00173, allocations: 176.4 kB / 8.348 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.953/1.953, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001242/0.001242, allocations: 84.5 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.5905/0.5905, allocations: 48.78 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.22e-05, allocations: 4 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/1.954, allocations: 0.7173 GB / 1.192 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/1.954, allocations: 79.95 kB / 1.192 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.6538/2.608, allocations: 201 MB / 1.388 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.142e-06/2.608, allocations: 0 / 1.388 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.242e-05/2.608, allocations: 26.5 kB / 1.388 GB, free: 112.2 MB / 0.5108 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.001863/2.61, allocations: 1.009 MB / 1.389 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/2.61, allocations: 11.41 kB / 1.389 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/2.61, allocations: 156.5 kB / 1.389 GB, free: 111.4 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/2.612, allocations: 0.6682 MB / 1.39 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/2.612, allocations: 20.36 kB / 1.39 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/2.612, allocations: 30.91 kB / 1.39 GB, free: 110.9 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006252/2.612, allocations: 413.1 kB / 1.39 GB, free: 110.7 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/2.613, allocations: 0.5046 MB / 1.391 GB, free: 110.4 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/2.613, allocations: 0 / 1.391 GB, free: 110.4 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/2.613, allocations: 0 / 1.391 GB, free: 110.4 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/2.613, allocations: 11.81 kB / 1.391 GB, free: 110.4 MB / 0.5108 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.003254/2.617, allocations: 2.205 MB / 1.393 GB, free: 108.7 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/2.617, allocations: 128.6 kB / 1.393 GB, free: 108.6 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/2.617, allocations: 52.53 kB / 1.393 GB, free: 108.6 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/2.617, allocations: 116.5 kB / 1.393 GB, free: 108.5 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/2.617, allocations: 50.08 kB / 1.393 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/2.617, allocations: 0 / 1.393 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of matching and sorting (n=14): time 0.0003646/2.617, allocations: 184 kB / 1.393 GB, free: 108.3 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/2.617, allocations: 55.34 kB / 1.393 GB, free: 108.3 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/2.618, allocations: 0.9539 MB / 1.394 GB, free: 107.7 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/2.618, allocations: 25.7 kB / 1.394 GB, free: 107.6 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/2.619, allocations: 466.6 kB / 1.395 GB, free: 107.2 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/2.619, allocations: 55.2 kB / 1.395 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/2.619, allocations: 0 / 1.395 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/2.619, allocations: 322 kB / 1.395 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/2.619, allocations: 121.6 kB / 1.395 GB, free: 106.7 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/2.619, allocations: 224.8 kB / 1.396 GB, free: 106.4 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/2.619, allocations: 136.8 kB / 1.396 GB, free: 106.3 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.619, allocations: 0 / 1.396 GB, free: 106.3 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005538/2.62, allocations: 423.3 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/2.62, allocations: 8 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/2.62, allocations: 4 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/2.62, allocations: 8 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/2.62, allocations: 99.88 kB / 1.396 GB, free: 105.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/2.621, allocations: 0.6054 MB / 1.397 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/2.621, allocations: 51.64 kB / 1.397 GB, free: 105 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/2.621, allocations: 23.98 kB / 1.397 GB, free: 105 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" ) "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 () * 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.0001222/2.621, allocations: 120.8 kB / 1.397 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002712/2.621, allocations: 189.1 kB / 1.397 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.622, allocations: 75.06 kB / 1.397 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/2.622, allocations: 221.7 kB / 1.397 GB, free: 104.4 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/2.622, allocations: 0 / 1.397 GB, free: 104.4 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/2.622, allocations: 4 kB / 1.397 GB, free: 104.4 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.622, allocations: 3.953 kB / 1.397 GB, free: 104.4 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/2.622, allocations: 0.5209 MB / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/2.622, allocations: 0 / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/2.623, allocations: 39.97 kB / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/2.623, allocations: 0 / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/2.623, allocations: 7.984 kB / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001747/2.623, allocations: 0.6015 MB / 1.399 GB, free: 103.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.623, allocations: 0 / 1.399 GB, free: 103.2 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/2.623, allocations: 357.2 kB / 1.399 GB, free: 102.8 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/2.623, allocations: 192.2 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/2.624, allocations: 7.984 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/2.624, allocations: 15.98 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/2.624, allocations: 16.09 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/2.624, allocations: 15.98 kB / 1.399 GB, free: 102.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006683/2.625, allocations: 0.7256 MB / 1.4 GB, free: 101.8 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.11e-07/2.625, allocations: 0 / 1.4 GB, free: 101.8 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.0008499/2.626, allocations: 287.3 kB / 1.4 GB, free: 101.5 MB / 0.5108 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 () * 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.002068/2.628, allocations: 1.864 MB / 1.402 GB, free: 99.81 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0003599/2.628, allocations: 208.7 kB / 1.402 GB, free: 99.61 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.628, allocations: 4 kB / 1.402 GB, free: 99.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/2.628, allocations: 68.05 kB / 1.402 GB, free: 99.54 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/2.629, allocations: 155.3 kB / 1.402 GB, free: 99.38 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/2.631, allocations: 1.32 MB / 1.404 GB, free: 98.01 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/2.631, allocations: 1.009 MB / 1.405 GB, free: 96.98 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004074/2.632, allocations: 145 kB / 1.405 GB, free: 96.84 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/2.632, allocations: 279.3 kB / 1.405 GB, free: 96.56 MB / 0.5108 GB Notification: Performance of SimCode: time 3.9e-07/2.632, allocations: 3.938 kB / 1.405 GB, free: 96.56 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/2.673, allocations: 20.88 MB / 1.425 GB, free: 75.67 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.673, allocations: 157.4 kB / 1.426 GB, free: 75.48 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/5.413, allocations: 3.938 kB / 1.426 GB, free: 75.47 MB / 0.5108 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)