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.001353/0.001353, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001474/0.001474, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.484/1.484, allocations: 207.6 MB / 231.1 MB, free: 4.102 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.45/0.45, allocations: 49.52 MB / 332.5 MB, free: 0.7539 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="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.003689/0.003689, allocations: 68.88 kB / 470.8 MB, free: 41.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1301, allocations: 62.35 MB / 0.5206 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5307/0.6607, allocations: 186.8 MB / 0.703 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.6643, allocations: 1.948 MB / 0.7049 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.6648, allocations: 14.75 kB / 0.705 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.6658, allocations: 388.3 kB / 0.7053 GB, free: 12.65 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.00139/0.6672, allocations: 0.8064 MB / 0.7061 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.6696, allocations: 1.067 MB / 0.7072 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.6714, allocations: 1.88 MB / 0.709 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006809/0.6721, allocations: 0.5817 MB / 0.7096 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6732, allocations: 0.8396 MB / 0.7104 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.674, allocations: 0.858 MB / 0.7112 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.6742, allocations: 85.84 kB / 0.7113 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.6755, allocations: 0.6938 MB / 0.712 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.6761, allocations: 0.8073 MB / 0.7128 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007638/0.6768, allocations: 0.9531 MB / 0.7137 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.6793, allocations: 2.457 MB / 0.7161 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6793, allocations: 0 / 0.7161 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6793, allocations: 0 / 0.7161 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.6793, allocations: 0 / 0.7161 GB, free: 8.973 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.003774/0.6831, allocations: 2.471 MB / 0.7185 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6832, allocations: 13.42 kB / 0.7185 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.6834, allocations: 141 kB / 0.7187 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.6843, allocations: 310.1 kB / 0.7189 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.6863, allocations: 1.423 MB / 0.7203 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.6864, allocations: 99.11 kB / 0.7204 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6865, allocations: 86.5 kB / 0.7205 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6882, allocations: 1.143 MB / 0.7216 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6882, allocations: 10.62 kB / 0.7216 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6883, allocations: 38.22 kB / 0.7217 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.6884, allocations: 34.41 kB / 0.7217 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.6896, allocations: 0.8273 MB / 0.7225 GB, free: 4.98 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.007294/0.6969, allocations: 5.116 MB / 0.7275 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.6976, allocations: 293.5 kB / 0.7278 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.6978, allocations: 129 kB / 0.7279 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.6978, allocations: 12.94 kB / 0.7279 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.6979, allocations: 43.42 kB / 0.728 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.6979, allocations: 0 / 0.728 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.002688/0.7006, allocations: 1.708 MB / 0.7296 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.7006, allocations: 87.28 kB / 0.7297 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.7044, allocations: 3.44 MB / 0.7331 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.7045, allocations: 38.77 kB / 0.7331 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/0.7053, allocations: 0.9844 MB / 0.7341 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.7055, allocations: 152.2 kB / 0.7342 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.7057, allocations: 123.7 kB / 0.7343 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7058, allocations: 337.5 kB / 0.7347 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.7062, allocations: 203.5 kB / 0.7349 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.7067, allocations: 401.8 kB / 0.7352 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.7075, allocations: 0.5717 MB / 0.7358 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7075, allocations: 0 / 0.7358 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001424/0.7089, allocations: 0.8656 MB / 0.7366 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.709, allocations: 7.906 kB / 0.7367 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.709, allocations: 12.03 kB / 0.7367 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.709, allocations: 8 kB / 0.7367 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.7101, allocations: 219.7 kB / 0.7369 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/0.7109, allocations: 1.203 MB / 0.7381 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.7116, allocations: 35.94 kB / 0.7381 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.7117, allocations: 34.48 kB / 0.7381 GB, free: 8.832 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.0007835/0.7125, allocations: 0.5872 MB / 0.7387 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.7128, allocations: 230.5 kB / 0.7389 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.7137, allocations: 0.5342 MB / 0.7394 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7137, allocations: 4 kB / 0.7394 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7137, allocations: 0 / 0.7394 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7137, allocations: 7.922 kB / 0.7395 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.7164, allocations: 1.821 MB / 0.7412 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7164, allocations: 0 / 0.7412 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.7171, allocations: 131.9 kB / 0.7414 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.7171, allocations: 7.938 kB / 0.7414 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.7172, allocations: 12.88 kB / 0.7414 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007328/0.7179, allocations: 1.199 MB / 0.7425 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7179, allocations: 4.062 kB / 0.7425 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.719, allocations: 0.777 MB / 0.7433 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006944/0.7197, allocations: 443.5 kB / 0.7437 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.7199, allocations: 8 kB / 0.7437 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/0.7206, allocations: 41.03 kB / 0.7438 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.7207, allocations: 23.91 kB / 0.7438 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.7208, allocations: 27.97 kB / 0.7438 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003144/0.7239, allocations: 2.443 MB / 0.7462 GB, free: 380 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7239, allocations: 0 / 0.7462 GB, free: 380 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009933/0.7249, allocations: 331.8 kB / 0.7465 GB, free: 48 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.003373/0.7283, allocations: 1.775 MB / 0.7483 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009761/0.7293, allocations: 437.9 kB / 0.7487 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7293, allocations: 4.562 kB / 0.7487 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.7296, allocations: 161.3 kB / 0.7488 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.7321, allocations: 0.5941 MB / 0.7494 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.758, allocations: 18.62 MB / 0.7676 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.7593, allocations: 1.472 MB / 0.769 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001074/0.7604, allocations: 344.6 kB / 0.7694 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009359/0.7613, allocations: 0.7336 MB / 0.7701 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.7613, allocations: 4 kB / 0.7701 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09788/0.8592, allocations: 46.57 MB / 0.8156 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.4, allocations: 4 kB / 0.8156 GB, free: 8.805 MB / 0.6075 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGT_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.669092427997384] Failed to read output from testmodel.py, exit status != 0: 16.57564022000588 16.58868933 15.906577765 Calling exit ...