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.001722/0.001722, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00184/0.00184, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.687/1.687, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.377/0.377, allocations: 49.6 MB / 336.4 MB, free: 3.891 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.002839/0.002839, allocations: 63.91 kB / 476.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1514, allocations: 62.43 MB / 0.5261 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5569/0.7083, allocations: 161.4 MB / 0.6838 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.7127, allocations: 1.879 MB / 0.6856 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.7135, allocations: 19.88 kB / 0.6856 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.715, allocations: 357.6 kB / 0.686 GB, free: 1.547 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.00222/0.7172, allocations: 0.8167 MB / 0.6868 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.7201, allocations: 1.056 MB / 0.6878 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002573/0.7227, allocations: 1.91 MB / 0.6897 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.7239, allocations: 0.571 MB / 0.6902 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.7258, allocations: 0.8484 MB / 0.6911 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.7274, allocations: 0.8098 MB / 0.6918 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.7278, allocations: 84 kB / 0.6919 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.73, allocations: 0.6155 MB / 0.6925 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.7311, allocations: 0.8141 MB / 0.6933 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.7337, allocations: 0.7575 MB / 0.6941 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.7386, allocations: 2.466 MB / 0.6965 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7386, allocations: 0 / 0.6965 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7386, allocations: 0 / 0.6965 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.7386, allocations: 3.938 kB / 0.6965 GB, free: 6.758 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.004466/0.7431, allocations: 2.393 MB / 0.6988 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7432, allocations: 16.02 kB / 0.6988 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.7433, allocations: 139.5 kB / 0.699 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.7443, allocations: 320 kB / 0.6993 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.7466, allocations: 1.344 MB / 0.7006 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7467, allocations: 117.4 kB / 0.7007 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7469, allocations: 84 kB / 0.7008 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.7491, allocations: 1.85 MB / 0.7026 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.7491, allocations: 7.938 kB / 0.7026 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.7492, allocations: 40 kB / 0.7026 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.7493, allocations: 37.98 kB / 0.7027 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.7507, allocations: 0.8195 MB / 0.7035 GB, free: 15.25 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.007934/0.7586, allocations: 4.307 MB / 0.7077 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.7593, allocations: 289.3 kB / 0.7079 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.7596, allocations: 137.5 kB / 0.7081 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.7596, allocations: 12.53 kB / 0.7081 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7597, allocations: 46.55 kB / 0.7081 GB, free: 10.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.515e-06/0.7597, allocations: 0 / 0.7081 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002905/0.7626, allocations: 1.64 MB / 0.7097 GB, free: 8.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.7627, allocations: 81.11 kB / 0.7098 GB, free: 8.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/0.767, allocations: 3.439 MB / 0.7132 GB, free: 5.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.7671, allocations: 41.7 kB / 0.7132 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009459/0.768, allocations: 0.9838 MB / 0.7142 GB, free: 4.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.7681, allocations: 154.7 kB / 0.7143 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.7684, allocations: 126.2 kB / 0.7144 GB, free: 3.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7685, allocations: 330 kB / 0.7147 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.7689, allocations: 211.4 kB / 0.7149 GB, free: 3.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.7695, allocations: 402.1 kB / 0.7153 GB, free: 2.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.7703, allocations: 0.5679 MB / 0.7159 GB, free: 2.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7703, allocations: 3.938 kB / 0.7159 GB, free: 2.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001454/0.7718, allocations: 0.8615 MB / 0.7167 GB, free: 1.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7718, allocations: 8 kB / 0.7167 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7718, allocations: 4 kB / 0.7167 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.7719, allocations: 15.94 kB / 0.7168 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.773, allocations: 212.2 kB / 0.717 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/0.7739, allocations: 1.215 MB / 0.7181 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.7746, allocations: 27.98 kB / 0.7182 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.7747, allocations: 35.98 kB / 0.7182 GB, free: 15.67 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.0007754/0.7755, allocations: 0.5834 MB / 0.7188 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.7758, allocations: 230.5 kB / 0.719 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.7767, allocations: 0.5414 MB / 0.7195 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.7767, allocations: 11.88 kB / 0.7195 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7767, allocations: 0 / 0.7195 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.7767, allocations: 3.984 kB / 0.7195 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.7796, allocations: 1.627 MB / 0.7211 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7797, allocations: 3.938 kB / 0.7211 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.7804, allocations: 131.8 kB / 0.7213 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7804, allocations: 4.062 kB / 0.7213 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.7804, allocations: 12 kB / 0.7213 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.7812, allocations: 1.191 MB / 0.7224 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.7812, allocations: 8.516 kB / 0.7224 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.7824, allocations: 0.7686 MB / 0.7232 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/0.7834, allocations: 358.4 kB / 0.7235 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.7836, allocations: 15.98 kB / 0.7236 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.7844, allocations: 36.16 kB / 0.7236 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.7844, allocations: 24.83 kB / 0.7236 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.7845, allocations: 23.98 kB / 0.7236 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003213/0.7877, allocations: 2.439 MB / 0.726 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7877, allocations: 3.938 kB / 0.726 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009515/0.7887, allocations: 335.8 kB / 0.7263 GB, free: 7.188 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.003374/0.792, allocations: 1.802 MB / 0.7281 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.7931, allocations: 443.5 kB / 0.7285 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7931, allocations: 4.938 kB / 0.7285 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.7934, allocations: 163.6 kB / 0.7287 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.796, allocations: 0.5931 MB / 0.7293 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/0.8222, allocations: 18.6 MB / 0.7474 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.8234, allocations: 0.8827 MB / 0.7483 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001061/0.8245, allocations: 352.4 kB / 0.7486 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/0.8254, allocations: 0.7297 MB / 0.7493 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/0.8254, allocations: 0 / 0.7493 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3263/1.152, allocations: 49.19 MB / 0.7974 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.8, allocations: 11.98 kB / 0.7974 GB, free: 195.7 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 & 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 os._exit(0), Time elapsed: 20.47909678798169] Failed to read output from testmodel.py, exit status != 0: 17.006169722881168 17.021426545 16.279303847 Calling exit ...