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.00132/0.00132, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001405/0.001405, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.459/1.459, allocations: 207.6 MB / 231.8 MB, free: 4.184 MB / 174.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.4311/0.4311, allocations: 49.5 MB / 333.2 MB, free: 0.7773 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="cs",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.002195/0.002195, allocations: 65.41 kB / 471.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09354, allocations: 62.36 MB / 0.5213 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4815/0.5751, allocations: 186.8 MB / 0.7037 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.5789, allocations: 1.947 MB / 0.7056 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.5801, allocations: 17.88 kB / 0.7057 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.5822, allocations: 385.8 kB / 0.706 GB, free: 12.67 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.003107/0.5853, allocations: 0.8022 MB / 0.7068 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.5882, allocations: 1.062 MB / 0.7078 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.5907, allocations: 1.883 MB / 0.7097 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.5915, allocations: 0.5835 MB / 0.7103 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5929, allocations: 0.8436 MB / 0.7111 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.594, allocations: 0.8606 MB / 0.7119 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.5941, allocations: 86.06 kB / 0.712 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5956, allocations: 0.6846 MB / 0.7127 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006056/0.5962, allocations: 0.8142 MB / 0.7135 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.5971, allocations: 0.953 MB / 0.7144 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.5997, allocations: 2.449 MB / 0.7168 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5997, allocations: 0 / 0.7168 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5997, allocations: 2.781 kB / 0.7168 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.5998, allocations: 0 / 0.7168 GB, free: 8.98 MB / 0.5137 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.003915/0.6037, allocations: 2.471 MB / 0.7192 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.6037, allocations: 15.36 kB / 0.7192 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.872e-05/0.6038, allocations: 22.38 kB / 0.7192 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.604, allocations: 147.3 kB / 0.7194 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.605, allocations: 318.7 kB / 0.7197 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.6073, allocations: 1.414 MB / 0.7211 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6074, allocations: 91.05 kB / 0.7211 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6075, allocations: 88.09 kB / 0.7212 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.6093, allocations: 1.142 MB / 0.7223 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6093, allocations: 0 / 0.7223 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.6094, allocations: 40.88 kB / 0.7224 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.6095, allocations: 36.31 kB / 0.7224 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6108, allocations: 0.8288 MB / 0.7232 GB, free: 4.977 MB / 0.5137 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.008544/0.6193, allocations: 5.115 MB / 0.7282 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.62, allocations: 295.7 kB / 0.7285 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6203, allocations: 133.2 kB / 0.7286 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.6204, allocations: 5.281 kB / 0.7286 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.6204, allocations: 50.41 kB / 0.7287 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.786e-06/0.6204, allocations: 0 / 0.7287 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.003245/0.6237, allocations: 1.717 MB / 0.7304 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.6238, allocations: 79.8 kB / 0.7304 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004326/0.6281, allocations: 3.435 MB / 0.7338 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-05/0.6282, allocations: 38.39 kB / 0.7338 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/0.6291, allocations: 0.9845 MB / 0.7348 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.6292, allocations: 147.1 kB / 0.7349 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.6295, allocations: 137.5 kB / 0.7351 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6296, allocations: 335.9 kB / 0.7354 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.63, allocations: 203.2 kB / 0.7356 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.6305, allocations: 398 kB / 0.736 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.6314, allocations: 0.5717 MB / 0.7365 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6314, allocations: 0 / 0.7365 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001569/0.6329, allocations: 0.8692 MB / 0.7374 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.633, allocations: 8 kB / 0.7374 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.633, allocations: 4 kB / 0.7374 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.633, allocations: 15.98 kB / 0.7374 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6341, allocations: 213.6 kB / 0.7376 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/0.6349, allocations: 1.2 MB / 0.7388 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.6358, allocations: 39.92 kB / 0.7388 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.6358, allocations: 28 kB / 0.7388 GB, free: 8.793 MB / 0.5294 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.0008966/0.6367, allocations: 0.5991 MB / 0.7394 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.6371, allocations: 226.5 kB / 0.7396 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.6383, allocations: 0.529 MB / 0.7402 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6383, allocations: 4 kB / 0.7402 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6383, allocations: 3.938 kB / 0.7402 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6383, allocations: 7.984 kB / 0.7402 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.6411, allocations: 1.829 MB / 0.742 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6411, allocations: 0 / 0.742 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.6419, allocations: 128.7 kB / 0.7421 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.6419, allocations: 4 kB / 0.7421 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.6419, allocations: 10.62 kB / 0.7421 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000713/0.6427, allocations: 1.199 MB / 0.7433 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6427, allocations: 4.031 kB / 0.7433 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.6438, allocations: 0.7771 MB / 0.744 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.6446, allocations: 439.5 kB / 0.7444 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.6448, allocations: 8 kB / 0.7444 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.6456, allocations: 35.97 kB / 0.7445 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.6456, allocations: 27.95 kB / 0.7445 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.6457, allocations: 23.98 kB / 0.7445 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003311/0.649, allocations: 2.447 MB / 0.7469 GB, free: 348 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.649, allocations: 4 kB / 0.7469 GB, free: 344 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001099/0.6501, allocations: 331.7 kB / 0.7472 GB, free: 12 kB / 0.5294 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.003423/0.6535, allocations: 1.78 MB / 0.749 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6546, allocations: 431.4 kB / 0.7494 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6546, allocations: 8.625 kB / 0.7494 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.655, allocations: 159.8 kB / 0.7496 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.6578, allocations: 0.5977 MB / 0.7501 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/0.6857, allocations: 18.63 MB / 0.7683 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.687, allocations: 1.472 MB / 0.7698 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001109/0.6881, allocations: 344.6 kB / 0.7701 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009826/0.6891, allocations: 0.7297 MB / 0.7708 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/0.6891, allocations: 0 / 0.7708 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09209/0.7812, allocations: 46.6 MB / 0.8163 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/17.87, allocations: 16.05 kB / 0.8163 GB, free: 8.723 MB / 0.6075 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 21.240678739966825] Failed to read output from testmodel.py, exit status != 0: 18.104846408998128 18.120443306 17.517484866 Calling exit ...