Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3765/0.3765, allocations: 49.61 MB / 336.4 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 67.91 kB / 476.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1691, allocations: 62.43 MB / 0.5261 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.6256/0.7947, allocations: 161.4 MB / 0.6838 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004869/0.7996, allocations: 1.879 MB / 0.6856 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.8004, allocations: 19.81 kB / 0.6856 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.8017, allocations: 357.6 kB / 0.686 GB, free: 1.52 MB / 0.5137 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.001888/0.8036, allocations: 0.8128 MB / 0.6868 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.8068, allocations: 1.075 MB / 0.6878 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.81, allocations: 1.906 MB / 0.6897 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.8112, allocations: 0.5671 MB / 0.6902 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.8132, allocations: 0.8432 MB / 0.691 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.8147, allocations: 0.8215 MB / 0.6918 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.8149, allocations: 84 kB / 0.6919 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.817, allocations: 0.6155 MB / 0.6925 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009462/0.818, allocations: 0.8063 MB / 0.6933 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009881/0.819, allocations: 0.7536 MB / 0.6941 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.8229, allocations: 2.475 MB / 0.6965 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8229, allocations: 4 kB / 0.6965 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8229, allocations: 0 / 0.6965 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.334e-05/0.8229, allocations: 4 kB / 0.6965 GB, free: 6.715 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004613/0.8275, allocations: 2.389 MB / 0.6988 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8276, allocations: 8.031 kB / 0.6988 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.8278, allocations: 151.5 kB / 0.699 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.8288, allocations: 318.4 kB / 0.6993 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.8316, allocations: 1.336 MB / 0.7006 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.8318, allocations: 121.4 kB / 0.7007 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.8319, allocations: 92.92 kB / 0.7008 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.8349, allocations: 1.84 MB / 0.7026 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.835, allocations: 4 kB / 0.7026 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8351, allocations: 40 kB / 0.7026 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/0.8351, allocations: 37.98 kB / 0.7027 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.8367, allocations: 0.8233 MB / 0.7035 GB, free: 15.21 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.009297/0.846, allocations: 4.307 MB / 0.7077 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.8468, allocations: 294.9 kB / 0.7079 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.8471, allocations: 137.5 kB / 0.7081 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.8471, allocations: 4.594 kB / 0.7081 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.8472, allocations: 46.5 kB / 0.7081 GB, free: 10.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 3.106e-06/0.8472, allocations: 0 / 0.7081 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.003077/0.8502, allocations: 1.633 MB / 0.7097 GB, free: 8.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.8503, allocations: 81.11 kB / 0.7098 GB, free: 8.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/0.8551, allocations: 3.451 MB / 0.7132 GB, free: 5.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.8551, allocations: 41.7 kB / 0.7132 GB, free: 5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.8562, allocations: 0.9877 MB / 0.7142 GB, free: 4.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.8563, allocations: 146.8 kB / 0.7143 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.8566, allocations: 138.2 kB / 0.7144 GB, free: 3.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8568, allocations: 330 kB / 0.7148 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.8572, allocations: 201.2 kB / 0.7149 GB, free: 3.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.8578, allocations: 398 kB / 0.7153 GB, free: 2.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/0.8587, allocations: 0.5678 MB / 0.7159 GB, free: 2.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8587, allocations: 4 kB / 0.7159 GB, free: 2.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001523/0.8602, allocations: 0.8618 MB / 0.7167 GB, free: 1.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8602, allocations: 12.16 kB / 0.7167 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.8602, allocations: 8.562 kB / 0.7167 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.8603, allocations: 8 kB / 0.7168 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.8614, allocations: 221 kB / 0.717 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.8626, allocations: 1.203 MB / 0.7181 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/0.8634, allocations: 40.16 kB / 0.7182 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.8635, allocations: 31.94 kB / 0.7182 GB, free: 15.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.8645, allocations: 0.5873 MB / 0.7188 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.8649, allocations: 234.4 kB / 0.719 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.8658, allocations: 0.5336 MB / 0.7195 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.8658, allocations: 7.938 kB / 0.7195 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8658, allocations: 0 / 0.7195 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8658, allocations: 7.984 kB / 0.7195 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.8687, allocations: 1.63 MB / 0.7211 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8687, allocations: 0 / 0.7211 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.8694, allocations: 131.8 kB / 0.7213 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8694, allocations: 0 / 0.7213 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.8694, allocations: 12 kB / 0.7213 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009624/0.8704, allocations: 1.203 MB / 0.7224 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8704, allocations: 3.984 kB / 0.7225 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.8717, allocations: 0.7763 MB / 0.7232 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009942/0.8727, allocations: 354.4 kB / 0.7235 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.8728, allocations: 12 kB / 0.7236 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.8736, allocations: 35.97 kB / 0.7236 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.8737, allocations: 19.95 kB / 0.7236 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/0.8737, allocations: 31.97 kB / 0.7236 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003468/0.8772, allocations: 2.439 MB / 0.726 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8772, allocations: 0 / 0.726 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001087/0.8783, allocations: 331.8 kB / 0.7263 GB, free: 7.152 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003651/0.8819, allocations: 1.801 MB / 0.7281 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.8832, allocations: 442.7 kB / 0.7285 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8832, allocations: 0.5 kB / 0.7285 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.8835, allocations: 165 kB / 0.7287 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.8863, allocations: 0.593 MB / 0.7293 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/0.9204, allocations: 18.6 MB / 0.7474 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.922, allocations: 0.8827 MB / 0.7483 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001598/0.9236, allocations: 344.4 kB / 0.7486 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.9249, allocations: 0.7258 MB / 0.7493 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of SimCode: time 1.933e-06/0.9249, allocations: 4 kB / 0.7493 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/1.429, allocations: 49.2 MB / 0.7974 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/17.01, allocations: 5 kB / 0.7974 GB, free: 195.8 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.346768187824637] Failed to read output from testmodel.py, exit status != 0: 17.210569094866514 17.223106162 16.397874095 Calling exit ...