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.001384/0.001384, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001547/0.001547, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.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.1681/0.1681, allocations: 26.81 MB / 340.7 MB, free: 8.184 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.002041/0.002041, allocations: 79.83 kB / 477.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 60.48 MB / 0.5252 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2487/0.6201, allocations: 183.5 MB / 0.7044 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004934/0.625, allocations: 2.197 MB / 0.7066 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.6259, allocations: 15.88 kB / 0.7066 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6274, allocations: 397.5 kB / 0.7069 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.6298, allocations: 0.8595 MB / 0.7078 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.6332, allocations: 1.114 MB / 0.7089 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.6363, allocations: 1.953 MB / 0.7108 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.6376, allocations: 0.5905 MB / 0.7114 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.6397, allocations: 0.8709 MB / 0.7122 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.6413, allocations: 0.8644 MB / 0.7131 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.6417, allocations: 91.94 kB / 0.7131 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.6439, allocations: 0.717 MB / 0.7138 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009618/0.6448, allocations: 0.8063 MB / 0.7146 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.646, allocations: 0.9476 MB / 0.7156 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.6494, allocations: 2.475 MB / 0.718 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6495, allocations: 0 / 0.718 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6495, allocations: 0 / 0.718 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.853e-05/0.6495, allocations: 0 / 0.718 GB, free: 14.93 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.004376/0.6539, allocations: 2.396 MB / 0.7203 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6539, allocations: 8.031 kB / 0.7203 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.655, allocations: 318.3 kB / 0.7206 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.6575, allocations: 1.344 MB / 0.7219 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.6576, allocations: 117.4 kB / 0.722 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6578, allocations: 95.95 kB / 0.7221 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6597, allocations: 1.14 MB / 0.7233 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.6597, allocations: 0 / 0.7233 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.6598, allocations: 40 kB / 0.7233 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.152e-05/0.6599, allocations: 45.92 kB / 0.7233 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.6613, allocations: 0.8158 MB / 0.7241 GB, free: 8.449 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.00864/0.6699, allocations: 4.831 MB / 0.7288 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.6706, allocations: 297.8 kB / 0.7291 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.6709, allocations: 138.5 kB / 0.7293 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.6709, allocations: 7.984 kB / 0.7293 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.671, allocations: 46.44 kB / 0.7293 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.671, allocations: 0 / 0.7293 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.002944/0.6739, allocations: 1.652 MB / 0.7309 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.674, allocations: 89.05 kB / 0.731 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2824/0.9564, allocations: 3.438 MB / 0.7344 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.9565, allocations: 38.86 kB / 0.7344 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000793/0.9573, allocations: 0.9757 MB / 0.7354 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.9575, allocations: 153.8 kB / 0.7355 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.9577, allocations: 132.4 kB / 0.7356 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.9578, allocations: 332.5 kB / 0.736 GB, free: 192.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.9582, allocations: 200.9 kB / 0.7361 GB, free: 192.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.9587, allocations: 397.4 kB / 0.7365 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.9594, allocations: 0.5635 MB / 0.7371 GB, free: 192 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.9594, allocations: 1.188 kB / 0.7371 GB, free: 192 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001542/0.961, allocations: 0.8645 MB / 0.7379 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.961, allocations: 14.41 kB / 0.7379 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.961, allocations: 12.08 kB / 0.7379 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.961, allocations: 13.38 kB / 0.738 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.9621, allocations: 209.6 kB / 0.7382 GB, free: 191.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004278/0.9625, allocations: 1.212 MB / 0.7393 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.9634, allocations: 38.08 kB / 0.7394 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.9634, allocations: 31.19 kB / 0.7394 GB, free: 190.6 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.0008845/0.9643, allocations: 0.5912 MB / 0.74 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.9646, allocations: 232.1 kB / 0.7402 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.9655, allocations: 0.5333 MB / 0.7407 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.9655, allocations: 4.188 kB / 0.7407 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9655, allocations: 1 kB / 0.7407 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.9656, allocations: 6.094 kB / 0.7407 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.9686, allocations: 1.797 MB / 0.7425 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9686, allocations: 5.562 kB / 0.7425 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.9693, allocations: 133.8 kB / 0.7426 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.9693, allocations: 3.438 kB / 0.7426 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.9694, allocations: 11.03 kB / 0.7426 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/0.9698, allocations: 1.194 MB / 0.7438 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9698, allocations: 7.891 kB / 0.7438 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.9708, allocations: 0.7697 MB / 0.7446 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/0.9717, allocations: 354.3 kB / 0.7449 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.9719, allocations: 13.45 kB / 0.7449 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.9726, allocations: 37 kB / 0.7449 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.9727, allocations: 25.55 kB / 0.745 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.9728, allocations: 25.67 kB / 0.745 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003219/0.976, allocations: 2.451 MB / 0.7474 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.976, allocations: 1.156 kB / 0.7474 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001138/0.9771, allocations: 331.4 kB / 0.7477 GB, free: 186.6 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.001784/0.9789, allocations: 0.5614 MB / 0.7483 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.9799, allocations: 439.1 kB / 0.7487 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.9799, allocations: 2.531 kB / 0.7487 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.9803, allocations: 160.5 kB / 0.7488 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.9828, allocations: 0.5972 MB / 0.7494 GB, free: 186 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.988, allocations: 3.763 MB / 0.7531 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.9891, allocations: 1.476 MB / 0.7545 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001109/0.9902, allocations: 342.2 kB / 0.7549 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.9905, allocations: 116.2 kB / 0.755 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.9905, allocations: 1.953 kB / 0.755 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.03593/1.026, allocations: 26.22 MB / 0.7806 GB, free: 159.7 MB / 0.5606 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: 6.632585395127535] Failed to read output from testmodel.py, exit status != 0: 1.0348607823252678 1.042993844 0.391237001 Calling exit ...