Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001396/0.001396, allocations: 76.75 kB / 20.52 MB, free: 1.367 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.001541/0.001541, allocations: 162.9 kB / 23.78 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 177.2 MB / 204.2 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1461/0.1461, allocations: 19.7 MB / 280.3 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002056/0.002056, allocations: 71.89 kB / 416.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 60.45 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2232/0.5556, allocations: 158.7 MB / 0.6211 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.5596, allocations: 2.104 MB / 0.6231 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.56, allocations: 15.88 kB / 0.6231 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.5609, allocations: 369.6 kB / 0.6235 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.5625, allocations: 0.8637 MB / 0.6243 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.5652, allocations: 1.125 MB / 0.6254 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.5676, allocations: 1.883 MB / 0.6273 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.5684, allocations: 0.575 MB / 0.6278 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5701, allocations: 1.117 MB / 0.6289 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.5711, allocations: 0.8098 MB / 0.6297 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.5713, allocations: 88 kB / 0.6298 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5727, allocations: 0.639 MB / 0.6304 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.5734, allocations: 0.8063 MB / 0.6312 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008725/0.5743, allocations: 0.7574 MB / 0.6319 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.5772, allocations: 2.494 MB / 0.6344 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5772, allocations: 0 / 0.6344 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5772, allocations: 0 / 0.6344 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.5772, allocations: 0 / 0.6344 GB, free: 5.383 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.003816/0.581, allocations: 2.393 MB / 0.6367 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.581, allocations: 8.031 kB / 0.6367 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.582, allocations: 314.4 kB / 0.637 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.5841, allocations: 1.348 MB / 0.6383 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5843, allocations: 117.4 kB / 0.6385 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5844, allocations: 87.95 kB / 0.6385 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2117/0.7961, allocations: 1.84 MB / 0.6403 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.7961, allocations: 6.156 kB / 0.6403 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.7962, allocations: 43.62 kB / 0.6404 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-05/0.7963, allocations: 35.55 kB / 0.6404 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.798, allocations: 0.8209 MB / 0.6412 GB, free: 169.5 MB / 0.5294 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.006465/0.8044, allocations: 4.058 MB / 0.6452 GB, free: 167 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.8051, allocations: 298.8 kB / 0.6455 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.8053, allocations: 133.5 kB / 0.6456 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.8053, allocations: 5.969 kB / 0.6456 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.8054, allocations: 45.06 kB / 0.6456 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.8054, allocations: 5.219 kB / 0.6456 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.002305/0.8077, allocations: 1.609 MB / 0.6472 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.8077, allocations: 85.67 kB / 0.6473 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.8108, allocations: 3.004 MB / 0.6502 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.8109, allocations: 40.95 kB / 0.6503 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.8114, allocations: 0.9881 MB / 0.6512 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/0.8115, allocations: 154.8 kB / 0.6514 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.8116, allocations: 131.2 kB / 0.6515 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.8117, allocations: 331.5 kB / 0.6518 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.812, allocations: 206.1 kB / 0.652 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.8124, allocations: 396.2 kB / 0.6524 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.813, allocations: 0.5717 MB / 0.653 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.813, allocations: 7.266 kB / 0.653 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001039/0.8141, allocations: 0.8271 MB / 0.6538 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8141, allocations: 8 kB / 0.6538 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8141, allocations: 8 kB / 0.6538 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.8141, allocations: 8 kB / 0.6538 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8151, allocations: 214 kB / 0.654 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004078/0.8155, allocations: 1.215 MB / 0.6552 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.8162, allocations: 34.5 kB / 0.6552 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.8162, allocations: 32 kB / 0.6552 GB, free: 159.5 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.000565/0.8168, allocations: 0.5984 MB / 0.6558 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.817, allocations: 194.7 kB / 0.656 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.8177, allocations: 0.4957 MB / 0.6565 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.8177, allocations: 4 kB / 0.6565 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8177, allocations: 0 / 0.6565 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8177, allocations: 3.984 kB / 0.6565 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.8197, allocations: 1.555 MB / 0.658 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8197, allocations: 11.56 kB / 0.658 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.8205, allocations: 131.8 kB / 0.6582 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8205, allocations: 7.891 kB / 0.6582 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.8205, allocations: 7.938 kB / 0.6582 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003352/0.8208, allocations: 1.199 MB / 0.6594 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8208, allocations: 3.938 kB / 0.6594 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.8216, allocations: 0.7376 MB / 0.6601 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.8222, allocations: 301.4 kB / 0.6604 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.8223, allocations: 8 kB / 0.6604 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.823, allocations: 35.91 kB / 0.6604 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.8231, allocations: 35.88 kB / 0.6604 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.8231, allocations: 19.98 kB / 0.6605 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001873/0.825, allocations: 2.124 MB / 0.6625 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.825, allocations: 0 / 0.6625 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008803/0.8259, allocations: 329.1 kB / 0.6628 GB, free: 151.6 MB / 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.001805/0.8277, allocations: 0.5804 MB / 0.6634 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008002/0.8285, allocations: 445.5 kB / 0.6638 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8285, allocations: 4.5 kB / 0.6638 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.8288, allocations: 159.7 kB / 0.664 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.8301, allocations: 305.8 kB / 0.6643 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.8345, allocations: 3.684 MB / 0.6679 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.8352, allocations: 0.8939 MB / 0.6688 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006239/0.8359, allocations: 289.2 kB / 0.669 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.8361, allocations: 84.5 kB / 0.6691 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of SimCode: time 5.82e-07/0.8361, allocations: 0 / 0.6691 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.02914/0.8652, allocations: 20.03 MB / 0.6887 GB, free: 125.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.879003506153822] Failed to read output from testmodel.py, exit status != 0: 0.8734445683658123 0.882769731 0.30331155400000004 Calling exit ...