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.001416/0.001415, allocations: 175.1 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 2.086/2.086, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001055/0.001055, allocations: 90.64 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3467/0.3467, allocations: 48.77 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.799e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 60.26 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.768/1.918, allocations: 0.7181 GB / 1.199 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.919, allocations: 79.84 kB / 1.199 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.617/2.536, allocations: 203.4 MB / 1.398 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/2.536, allocations: 0 / 1.398 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.566e-05/2.536, allocations: 27.98 kB / 1.398 GB, free: 114.7 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.001736/2.537, allocations: 1.009 MB / 1.399 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/2.537, allocations: 8.031 kB / 1.399 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/2.538, allocations: 94.45 kB / 1.399 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/2.538, allocations: 154.7 kB / 1.399 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/2.54, allocations: 0.667 MB / 1.4 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/2.54, allocations: 40.98 kB / 1.4 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/2.54, allocations: 52 kB / 1.4 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/2.541, allocations: 0.5724 MB / 1.401 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/2.541, allocations: 0 / 1.401 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/2.541, allocations: 28 kB / 1.401 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/2.541, allocations: 12 kB / 1.401 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/2.541, allocations: 443.8 kB / 1.401 GB, free: 111.5 MB / 0.5105 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.003376/2.545, allocations: 2.363 MB / 1.403 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/2.545, allocations: 130.7 kB / 1.403 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/2.545, allocations: 48.86 kB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/2.545, allocations: 121.1 kB / 1.404 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/2.545, allocations: 38.81 kB / 1.404 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/2.545, allocations: 0 / 1.404 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0004562/2.546, allocations: 221.5 kB / 1.404 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/2.546, allocations: 51.41 kB / 1.404 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/2.547, allocations: 1.191 MB / 1.405 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/2.547, allocations: 25.7 kB / 1.405 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/2.547, allocations: 470.8 kB / 1.406 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/2.547, allocations: 55.25 kB / 1.406 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/2.547, allocations: 11.94 kB / 1.406 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/2.548, allocations: 322 kB / 1.406 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/2.548, allocations: 121.6 kB / 1.406 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/2.548, allocations: 245.6 kB / 1.406 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/2.548, allocations: 140.8 kB / 1.406 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/2.548, allocations: 3.938 kB / 1.406 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006183/2.549, allocations: 471.1 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/2.549, allocations: 8 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.549, allocations: 4 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/2.549, allocations: 8 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/2.549, allocations: 103.8 kB / 1.407 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00027/2.549, allocations: 0.6093 MB / 1.408 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/2.55, allocations: 83.28 kB / 1.408 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/2.55, allocations: 20 kB / 1.408 GB, free: 104.4 MB / 0.5105 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.0001316/2.55, allocations: 132.8 kB / 1.408 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/2.55, allocations: 90.88 kB / 1.408 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/2.551, allocations: 243.5 kB / 1.408 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/2.551, allocations: 7.984 kB / 1.408 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/2.551, allocations: 4 kB / 1.408 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/2.551, allocations: 0 / 1.408 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/2.551, allocations: 0.5802 MB / 1.409 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/2.551, allocations: 0 / 1.409 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/2.552, allocations: 39.97 kB / 1.409 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/2.552, allocations: 4 kB / 1.409 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/2.552, allocations: 4 kB / 1.409 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001785/2.552, allocations: 0.6055 MB / 1.409 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/2.552, allocations: 0 / 1.409 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/2.552, allocations: 374.8 kB / 1.41 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/2.553, allocations: 219.9 kB / 1.41 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/2.553, allocations: 0 / 1.41 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/2.553, allocations: 27.97 kB / 1.41 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/2.553, allocations: 20.02 kB / 1.41 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/2.553, allocations: 19.97 kB / 1.41 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000951/2.554, allocations: 0.9195 MB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.554, allocations: 0 / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008962/2.555, allocations: 287.7 kB / 1.411 GB, free: 100.7 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 () * 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.002098/2.557, allocations: 1.792 MB / 1.413 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000426/2.558, allocations: 228.5 kB / 1.413 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.558, allocations: 256 / 1.413 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/2.558, allocations: 67.92 kB / 1.413 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/2.559, allocations: 323.3 kB / 1.414 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/2.561, allocations: 1.388 MB / 1.415 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/2.562, allocations: 1 MB / 1.416 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005215/2.562, allocations: 178.7 kB / 1.416 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/2.562, allocations: 299.3 kB / 1.416 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/2.563, allocations: 0 / 1.416 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/2.613, allocations: 35.15 MB / 1.451 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/2.613, allocations: 211.2 kB / 1.451 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/5.919, allocations: 0 / 1.451 GB, free: 59.89 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)