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.001303/0.001303, allocations: 112.8 kB / 17.11 MB, free: 5.777 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.001232/0.001232, allocations: 193.4 kB / 18.06 MB, free: 4.871 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.437/1.437, allocations: 207.6 MB / 226.4 MB, free: 11.54 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3019/0.3019, allocations: 49.54 MB / 325.8 MB, free: 7.453 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.002095/0.002095, allocations: 75.88 kB / 462.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1236, allocations: 62.33 MB / 0.5121 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4283/0.5519, allocations: 171.1 MB / 0.6792 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.5578, allocations: 3.81 MB / 0.6829 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.5584, allocations: 15.94 kB / 0.6829 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.5593, allocations: 274.4 kB / 0.6832 GB, free: 11.05 MB / 0.5294 GB [/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.001096/0.5604, allocations: 0.4936 MB / 0.6837 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.5644, allocations: 1.56 MB / 0.6852 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.5662, allocations: 1.243 MB / 0.6864 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.5668, allocations: 338.9 kB / 0.6867 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007843/0.5676, allocations: 494.3 kB / 0.6872 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.5682, allocations: 494.3 kB / 0.6877 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.5683, allocations: 56 kB / 0.6877 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.5715, allocations: 1.485 MB / 0.6892 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004396/0.5719, allocations: 383 kB / 0.6895 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.5724, allocations: 465.6 kB / 0.69 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.5749, allocations: 1.739 MB / 0.6917 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5749, allocations: 4 kB / 0.6917 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5749, allocations: 0 / 0.6917 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.5749, allocations: 0 / 0.6917 GB, free: 2.324 MB / 0.5294 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.002125/0.5771, allocations: 1.314 MB / 0.693 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5771, allocations: 15.89 kB / 0.693 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.5772, allocations: 102.4 kB / 0.6931 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/0.578, allocations: 159.3 kB / 0.6932 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/0.579, allocations: 0.6631 MB / 0.6939 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.579, allocations: 37 kB / 0.6939 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.5791, allocations: 55.98 kB / 0.694 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5801, allocations: 0.5918 MB / 0.6945 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5801, allocations: 4 kB / 0.6946 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.5802, allocations: 29.38 kB / 0.6946 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.5802, allocations: 15.98 kB / 0.6946 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.581, allocations: 467.7 kB / 0.695 GB, free: 14.77 MB / 0.545 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.004047/0.585, allocations: 2.344 MB / 0.6973 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.5853, allocations: 134.6 kB / 0.6975 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.5853, allocations: 52.84 kB / 0.6975 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.5856, allocations: 121.1 kB / 0.6976 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5856, allocations: 38.56 kB / 0.6977 GB, free: 11.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5857, allocations: 0 / 0.6977 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005113/0.5862, allocations: 257.3 kB / 0.6979 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5862, allocations: 59.34 kB / 0.698 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.5879, allocations: 1.336 MB / 0.6993 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.5879, allocations: 29.7 kB / 0.6993 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.5883, allocations: 479.8 kB / 0.6998 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.5884, allocations: 55.53 kB / 0.6998 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.5885, allocations: 85.97 kB / 0.6999 GB, free: 9.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5887, allocations: 325.9 kB / 0.7002 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5889, allocations: 134.6 kB / 0.7003 GB, free: 9.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.5892, allocations: 241.5 kB / 0.7006 GB, free: 8.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.5896, allocations: 332.8 kB / 0.7009 GB, free: 8.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5896, allocations: 4 kB / 0.7009 GB, free: 8.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007665/0.5904, allocations: 476.5 kB / 0.7013 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5904, allocations: 12.44 kB / 0.7013 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5904, allocations: 4 kB / 0.7014 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.5905, allocations: 15.94 kB / 0.7014 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.5909, allocations: 104.8 kB / 0.7015 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/0.5915, allocations: 0.6093 MB / 0.7021 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.5919, allocations: 75.39 kB / 0.7021 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.592, allocations: 20 kB / 0.7022 GB, free: 7.066 MB / 0.545 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 (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.0004536/0.5924, allocations: 306.3 kB / 0.7024 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.5926, allocations: 95.38 kB / 0.7025 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.593, allocations: 234.6 kB / 0.7028 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.593, allocations: 4 kB / 0.7028 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.593, allocations: 0 / 0.7028 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.593, allocations: 3.984 kB / 0.7028 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.5938, allocations: 0.5491 MB / 0.7033 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5938, allocations: 6.688 kB / 0.7033 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.594, allocations: 51.91 kB / 0.7034 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.594, allocations: 0 / 0.7034 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.594, allocations: 4 kB / 0.7034 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.5944, allocations: 0.5977 MB / 0.7039 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5944, allocations: 3.938 kB / 0.7039 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.5949, allocations: 388 kB / 0.7043 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.5952, allocations: 212.4 kB / 0.7045 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5953, allocations: 4 kB / 0.7045 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.5957, allocations: 19.98 kB / 0.7045 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.5957, allocations: 7.984 kB / 0.7046 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.5958, allocations: 15.98 kB / 0.7046 GB, free: 4.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001235/0.597, allocations: 0.9502 MB / 0.7055 GB, free: 3.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.597, allocations: 3.938 kB / 0.7055 GB, free: 3.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007366/0.5978, allocations: 223.6 kB / 0.7057 GB, free: 3.285 MB / 0.545 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 (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.002533/0.6003, allocations: 1.352 MB / 0.707 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.6008, allocations: 223.9 kB / 0.7072 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6008, allocations: 0 / 0.7072 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.601, allocations: 67.91 kB / 0.7073 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.6025, allocations: 336.1 kB / 0.7076 GB, free: 1.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6133, allocations: 8.021 MB / 0.7155 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.614, allocations: 0.9842 MB / 0.7164 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.6145, allocations: 178.6 kB / 0.7166 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.6149, allocations: 299.3 kB / 0.7169 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6149, allocations: 0 / 0.7169 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06139/0.6763, allocations: 24.98 MB / 0.7413 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.27, allocations: 3.938 kB / 0.7413 GB, free: 14.43 MB / 0.5919 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/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)