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.00114/0.00114, allocations: 101.4 kB / 16.94 MB, free: 6.309 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.001109/0.001109, allocations: 187.4 kB / 17.87 MB, free: 5.391 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.218/1.218, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.243/0.243, allocations: 48.84 MB / 320 MB, free: 11.1 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.001265/0.001265, allocations: 67.44 kB / 390.2 MB, free: 48.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07721/0.07849, allocations: 59.15 MB / 449.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3205/0.3991, allocations: 170.5 MB / 0.6054 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.4033, allocations: 3.805 MB / 0.6091 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.4036, allocations: 11.22 kB / 0.6091 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.4042, allocations: 265 kB / 0.6094 GB, free: 1.801 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.0006934/0.405, allocations: 497.6 kB / 0.6099 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.4078, allocations: 1.549 MB / 0.6114 GB, free: 320 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009647/0.4088, allocations: 1.248 MB / 0.6126 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.4092, allocations: 375.5 kB / 0.613 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004447/0.4096, allocations: 486.1 kB / 0.6134 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.4101, allocations: 449 kB / 0.6138 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.4101, allocations: 54.94 kB / 0.6139 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.4121, allocations: 1.423 MB / 0.6153 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.4124, allocations: 379 kB / 0.6157 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.4127, allocations: 470.4 kB / 0.6161 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.4143, allocations: 1.736 MB / 0.6178 GB, free: 12.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4143, allocations: 0 / 0.6178 GB, free: 12.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4143, allocations: 0 / 0.6178 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4143, allocations: 0 / 0.6178 GB, free: 12.52 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.001538/0.4159, allocations: 1.286 MB / 0.6191 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4159, allocations: 13.98 kB / 0.6191 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.527e-05/0.416, allocations: 95.98 kB / 0.6192 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.4166, allocations: 155 kB / 0.6193 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.4174, allocations: 0.6443 MB / 0.6199 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4174, allocations: 40.75 kB / 0.62 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.4175, allocations: 48.41 kB / 0.62 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.4183, allocations: 0.6004 MB / 0.6206 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4183, allocations: 0 / 0.6206 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.4183, allocations: 26.94 kB / 0.6206 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4184, allocations: 13.03 kB / 0.6206 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.419, allocations: 469.6 kB / 0.6211 GB, free: 10.23 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.003181/0.4221, allocations: 2.344 MB / 0.6234 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4224, allocations: 138.6 kB / 0.6235 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.4225, allocations: 52.84 kB / 0.6236 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.4227, allocations: 125.1 kB / 0.6237 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4227, allocations: 38.56 kB / 0.6237 GB, free: 7.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.4227, allocations: 0 / 0.6237 GB, free: 7.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004219/0.4232, allocations: 256.8 kB / 0.624 GB, free: 7.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.4232, allocations: 55.41 kB / 0.624 GB, free: 7.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.4245, allocations: 1.332 MB / 0.6253 GB, free: 5.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4246, allocations: 33.7 kB / 0.6253 GB, free: 5.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.4249, allocations: 479 kB / 0.6258 GB, free: 5.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.4249, allocations: 47.36 kB / 0.6259 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.425, allocations: 81.97 kB / 0.6259 GB, free: 5.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.4251, allocations: 321.9 kB / 0.6262 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.4253, allocations: 138 kB / 0.6264 GB, free: 4.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.4255, allocations: 245.4 kB / 0.6266 GB, free: 4.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4259, allocations: 332.9 kB / 0.6269 GB, free: 4.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4259, allocations: 6 kB / 0.6269 GB, free: 4.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006231/0.4266, allocations: 484.4 kB / 0.6274 GB, free: 3.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4266, allocations: 8.531 kB / 0.6274 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4266, allocations: 8 kB / 0.6274 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4266, allocations: 8 kB / 0.6274 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.427, allocations: 99.88 kB / 0.6275 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002897/0.4273, allocations: 0.6055 MB / 0.6281 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.4277, allocations: 75.17 kB / 0.6282 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.4277, allocations: 20 kB / 0.6282 GB, free: 2.777 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.0003038/0.428, allocations: 309.4 kB / 0.6285 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4282, allocations: 94.81 kB / 0.6286 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.4285, allocations: 234.2 kB / 0.6288 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4285, allocations: 0 / 0.6288 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4285, allocations: 4 kB / 0.6288 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4286, allocations: 3.984 kB / 0.6288 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.4291, allocations: 0.5568 MB / 0.6293 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4291, allocations: 5.875 kB / 0.6294 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.4293, allocations: 48.06 kB / 0.6294 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4293, allocations: 3.984 kB / 0.6294 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4294, allocations: 0 / 0.6294 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002558/0.4296, allocations: 0.6063 MB / 0.63 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4296, allocations: 0 / 0.63 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.43, allocations: 383 kB / 0.6304 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.4303, allocations: 200 kB / 0.6306 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.4304, allocations: 0 / 0.6306 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.4307, allocations: 19.98 kB / 0.6306 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.4307, allocations: 7.984 kB / 0.6306 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.4308, allocations: 15.98 kB / 0.6306 GB, free: 196 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009735/0.4318, allocations: 0.9541 MB / 0.6315 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4318, allocations: 3.938 kB / 0.6315 GB, free: 15.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006274/0.4324, allocations: 219.8 kB / 0.6317 GB, free: 15.01 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.001659/0.4341, allocations: 1.357 MB / 0.6331 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.4345, allocations: 239.8 kB / 0.6333 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4345, allocations: 4 kB / 0.6333 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4347, allocations: 63.91 kB / 0.6334 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.001268/0.4359, allocations: 335.8 kB / 0.6337 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.4453, allocations: 8.583 MB / 0.6421 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.4459, allocations: 0.9892 MB / 0.643 GB, free: 3.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.4463, allocations: 174.7 kB / 0.6432 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.4466, allocations: 295.3 kB / 0.6435 GB, free: 2.625 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4467, allocations: 0 / 0.6435 GB, free: 2.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.4867, allocations: 24.54 MB / 0.6674 GB, free: 9.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.743, allocations: 0 / 0.6674 GB, free: 9.988 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)