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.001352/0.001352, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.589/1.589, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.3133/0.3133, allocations: 49.57 MB / 336.3 MB, free: 4.191 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.002239/0.002239, allocations: 71.91 kB / 476.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.13, allocations: 62.43 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4926/0.6225, allocations: 187 MB / 0.7088 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.6272, allocations: 1.966 MB / 0.7107 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008107/0.628, allocations: 15.88 kB / 0.7107 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6294, allocations: 389.5 kB / 0.7111 GB, free: 8.648 MB / 0.545 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.002092/0.6314, allocations: 0.805 MB / 0.7119 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.6346, allocations: 1.075 MB / 0.7129 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.6376, allocations: 1.918 MB / 0.7148 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.6388, allocations: 0.571 MB / 0.7153 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.6408, allocations: 0.8445 MB / 0.7162 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.6426, allocations: 0.8605 MB / 0.717 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.6428, allocations: 84 kB / 0.7171 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.6448, allocations: 0.6936 MB / 0.7178 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.6457, allocations: 0.8102 MB / 0.7186 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.6469, allocations: 0.9476 MB / 0.7195 GB, free: 8 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.6506, allocations: 2.458 MB / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6506, allocations: 0 / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6506, allocations: 3.938 kB / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.325e-05/0.6506, allocations: 4 kB / 0.7219 GB, free: 13.53 MB / 0.5606 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.004546/0.6552, allocations: 2.393 MB / 0.7242 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6552, allocations: 8.031 kB / 0.7242 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.6554, allocations: 147.5 kB / 0.7244 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6564, allocations: 314.4 kB / 0.7247 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.6591, allocations: 1.353 MB / 0.726 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.6593, allocations: 117.4 kB / 0.7261 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6594, allocations: 84 kB / 0.7262 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.6613, allocations: 1.138 MB / 0.7273 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.6613, allocations: 8 kB / 0.7273 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6614, allocations: 43.98 kB / 0.7273 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.6615, allocations: 37.98 kB / 0.7274 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.6628, allocations: 0.8272 MB / 0.7282 GB, free: 6.895 MB / 0.5606 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.008692/0.6715, allocations: 4.835 MB / 0.7329 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.6722, allocations: 293.3 kB / 0.7332 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.6725, allocations: 137.5 kB / 0.7333 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.6726, allocations: 8.578 kB / 0.7333 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.6726, allocations: 38.56 kB / 0.7334 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.895e-06/0.6726, allocations: 0 / 0.7334 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.003061/0.6757, allocations: 1.64 MB / 0.735 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.6757, allocations: 85.23 kB / 0.735 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004507/0.6802, allocations: 3.435 MB / 0.7384 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.6804, allocations: 41.7 kB / 0.7384 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/0.6813, allocations: 0.9838 MB / 0.7394 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.6815, allocations: 146.8 kB / 0.7395 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.6817, allocations: 138.1 kB / 0.7397 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.6819, allocations: 334 kB / 0.74 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.6823, allocations: 209.2 kB / 0.7402 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.6829, allocations: 396 kB / 0.7406 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.6837, allocations: 0.5717 MB / 0.7411 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6837, allocations: 0 / 0.7411 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001897/0.6856, allocations: 0.8655 MB / 0.742 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6856, allocations: 12.16 kB / 0.742 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6857, allocations: 4 kB / 0.742 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.6857, allocations: 12 kB / 0.742 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.6867, allocations: 215.7 kB / 0.7422 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008067/0.6876, allocations: 1.203 MB / 0.7434 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/0.6885, allocations: 35.97 kB / 0.7434 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.6885, allocations: 31.25 kB / 0.7434 GB, free: 6.742 MB / 0.5762 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.0009823/0.6895, allocations: 0.5911 MB / 0.744 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/0.6899, allocations: 230.5 kB / 0.7442 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.691, allocations: 0.5398 MB / 0.7448 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.691, allocations: 4 kB / 0.7448 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.691, allocations: 0 / 0.7448 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.691, allocations: 7.984 kB / 0.7448 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.6946, allocations: 1.794 MB / 0.7465 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6946, allocations: 0 / 0.7465 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/0.6954, allocations: 131.9 kB / 0.7467 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.6954, allocations: 4 kB / 0.7467 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.6955, allocations: 12 kB / 0.7467 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008212/0.6963, allocations: 1.192 MB / 0.7478 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6963, allocations: 8.016 kB / 0.7478 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6978, allocations: 0.7724 MB / 0.7486 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.699, allocations: 358.4 kB / 0.7489 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.6993, allocations: 8 kB / 0.749 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.7001, allocations: 40.94 kB / 0.749 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.7002, allocations: 27.95 kB / 0.749 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.7003, allocations: 23.97 kB / 0.749 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003959/0.7042, allocations: 2.443 MB / 0.7514 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7042, allocations: 0 / 0.7514 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00152/0.7058, allocations: 339.7 kB / 0.7517 GB, free: 14.08 MB / 0.5919 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.003711/0.7095, allocations: 1.781 MB / 0.7535 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.7106, allocations: 442.5 kB / 0.7539 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7106, allocations: 2.062 kB / 0.7539 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.711, allocations: 163.5 kB / 0.7541 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.714, allocations: 0.5855 MB / 0.7546 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2789/0.9929, allocations: 18.63 MB / 0.7728 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.9943, allocations: 1.471 MB / 0.7743 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001407/0.9957, allocations: 341.4 kB / 0.7746 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009491/0.9967, allocations: 0.727 MB / 0.7753 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/0.9967, allocations: 3.938 kB / 0.7753 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09265/1.089, allocations: 47.04 MB / 0.8212 GB, free: 174 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/18.72, allocations: 12 kB / 0.8212 GB, free: 174 MB / 0.5919 GB " [Timeout remaining time 641] (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: 22.034877035002864] Failed to read output from testmodel.py, exit status != 0: 18.92195103800259 18.946243096 18.290725304 Calling exit ...