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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001028, allocations: 110 kB / 16.92 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 190.8 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2987/0.2987, allocations: 48.85 MB / 319.9 MB, free: 11.09 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 68.88 kB / 390.2 MB, free: 48.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 59.16 MB / 449.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4455/0.5614, allocations: 170.6 MB / 0.6054 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.5666, allocations: 3.813 MB / 0.6091 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.5672, allocations: 4.75 kB / 0.6091 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.5681, allocations: 269.4 kB / 0.6093 GB, free: 1.812 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001264/0.5694, allocations: 486.4 kB / 0.6098 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.5747, allocations: 1.556 MB / 0.6113 GB, free: 336 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.5769, allocations: 1.243 MB / 0.6125 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.5776, allocations: 366 kB / 0.6129 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008193/0.5784, allocations: 478.1 kB / 0.6133 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.5791, allocations: 457.6 kB / 0.6138 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.5792, allocations: 57.5 kB / 0.6138 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.5834, allocations: 1.435 MB / 0.6152 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.5839, allocations: 377.7 kB / 0.6156 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006579/0.5846, allocations: 470.9 kB / 0.616 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.5881, allocations: 1.722 MB / 0.6177 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5881, allocations: 0 / 0.6177 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5881, allocations: 0 / 0.6177 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.5882, allocations: 0 / 0.6177 GB, free: 12.58 MB / 446.1 MB 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.002793/0.591, allocations: 1.278 MB / 0.619 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.591, allocations: 13.98 kB / 0.619 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.5912, allocations: 100.1 kB / 0.6191 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5924, allocations: 156.7 kB / 0.6192 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.5937, allocations: 0.6461 MB / 0.6199 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.5938, allocations: 35.25 kB / 0.6199 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5939, allocations: 55.05 kB / 0.62 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.5953, allocations: 0.5991 MB / 0.6205 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5954, allocations: 0 / 0.6205 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.5955, allocations: 30 kB / 0.6206 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.5955, allocations: 13.03 kB / 0.6206 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.5966, allocations: 469.8 kB / 0.621 GB, free: 10.29 MB / 446.1 MB 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.005927/0.6026, allocations: 2.365 MB / 0.6233 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.603, allocations: 142.6 kB / 0.6235 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6032, allocations: 57.03 kB / 0.6235 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.6036, allocations: 129 kB / 0.6236 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.6036, allocations: 38.56 kB / 0.6237 GB, free: 7.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.6037, allocations: 4 kB / 0.6237 GB, free: 7.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007563/0.6044, allocations: 252.9 kB / 0.6239 GB, free: 7.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.6045, allocations: 51.41 kB / 0.624 GB, free: 7.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.607, allocations: 1.34 MB / 0.6253 GB, free: 5.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.6071, allocations: 29.7 kB / 0.6253 GB, free: 5.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.6078, allocations: 467 kB / 0.6258 GB, free: 5.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.6079, allocations: 55.33 kB / 0.6258 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.6081, allocations: 77.98 kB / 0.6259 GB, free: 5.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6083, allocations: 333.9 kB / 0.6262 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.6086, allocations: 130 kB / 0.6263 GB, free: 4.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.6091, allocations: 249.4 kB / 0.6266 GB, free: 4.504 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.6098, allocations: 332.9 kB / 0.6269 GB, free: 4.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6098, allocations: 0 / 0.6269 GB, free: 4.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001202/0.611, allocations: 488.5 kB / 0.6274 GB, free: 3.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.611, allocations: 8 kB / 0.6274 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6111, allocations: 4 kB / 0.6274 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.6111, allocations: 8 kB / 0.6274 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.6119, allocations: 99.88 kB / 0.6275 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.6125, allocations: 0.6138 MB / 0.6281 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.6134, allocations: 67.17 kB / 0.6281 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.6135, allocations: 23.98 kB / 0.6282 GB, free: 2.789 MB / 446.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006609/0.6142, allocations: 303 kB / 0.6284 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.6144, allocations: 94.81 kB / 0.6285 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.6151, allocations: 249.9 kB / 0.6288 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6151, allocations: 0 / 0.6288 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.6151, allocations: 1.188 kB / 0.6288 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6151, allocations: 3.938 kB / 0.6288 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.6163, allocations: 0.5529 MB / 0.6293 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.6163, allocations: 3.938 kB / 0.6293 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.6167, allocations: 39.97 kB / 0.6294 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6167, allocations: 0 / 0.6294 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6167, allocations: 8 kB / 0.6294 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004754/0.6172, allocations: 0.6016 MB / 0.63 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6172, allocations: 5.375 kB / 0.63 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.618, allocations: 382.7 kB / 0.6303 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.6184, allocations: 191.9 kB / 0.6305 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.6186, allocations: 8 kB / 0.6305 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.6192, allocations: 16.14 kB / 0.6305 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.6193, allocations: 11.98 kB / 0.6305 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.6194, allocations: 15.98 kB / 0.6306 GB, free: 212 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002015/0.6214, allocations: 0.9502 MB / 0.6315 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6214, allocations: 0 / 0.6315 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001311/0.6228, allocations: 227.7 kB / 0.6317 GB, free: 15.02 MB / 462.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003196/0.626, allocations: 1.349 MB / 0.633 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009015/0.6269, allocations: 256.6 kB / 0.6333 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6269, allocations: 0 / 0.6333 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.6271, allocations: 67.91 kB / 0.6333 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.6297, allocations: 335 kB / 0.6336 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.6456, allocations: 8.545 MB / 0.642 GB, free: 4.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/0.6465, allocations: 0.9892 MB / 0.643 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009372/0.6475, allocations: 174.6 kB / 0.6431 GB, free: 2.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.648, allocations: 287.3 kB / 0.6434 GB, free: 2.672 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6481, allocations: 0 / 0.6434 GB, free: 2.672 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.7067, allocations: 24.12 MB / 0.667 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.14, allocations: 3.984 kB / 0.667 GB, free: 10.46 MB / 494.1 MB (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/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)