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.001379/0.001379, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001508/0.001508, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.1544/0.1544, allocations: 19.74 MB / 280.8 MB, free: 9.285 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.844e-05, allocations: 2.312 kB / 357.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3665/0.3666, allocations: 158.7 MB / 0.5038 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3711, allocations: 2.111 MB / 0.5058 GB, free: 11.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.3716, allocations: 19.88 kB / 0.5059 GB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3727, allocations: 369.4 kB / 0.5062 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.3745, allocations: 0.8862 MB / 0.5071 GB, free: 10.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.3775, allocations: 1.122 MB / 0.5082 GB, free: 9.273 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.3801, allocations: 1.921 MB / 0.51 GB, free: 7.348 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.3811, allocations: 0.6154 MB / 0.5106 GB, free: 6.715 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.3829, allocations: 1.095 MB / 0.5117 GB, free: 5.617 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.3841, allocations: 0.7637 MB / 0.5125 GB, free: 4.852 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.3842, allocations: 84 kB / 0.5125 GB, free: 4.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3858, allocations: 0.6426 MB / 0.5132 GB, free: 4.125 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000871/0.3867, allocations: 0.8337 MB / 0.514 GB, free: 3.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008119/0.3875, allocations: 0.5999 MB / 0.5146 GB, free: 2.688 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.391, allocations: 2.465 MB / 0.517 GB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.391, allocations: 0 / 0.517 GB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.391, allocations: 0 / 0.517 GB, free: 220 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.391, allocations: 0 / 0.517 GB, free: 220 kB / 394.7 MB 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.004155/0.3952, allocations: 2.374 MB / 0.5193 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3952, allocations: 8.031 kB / 0.5193 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.3964, allocations: 430 kB / 0.5197 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.3988, allocations: 1.364 MB / 0.521 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.3989, allocations: 121.3 kB / 0.5212 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3991, allocations: 96 kB / 0.5213 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.4017, allocations: 1.847 MB / 0.5231 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.4017, allocations: 4 kB / 0.5231 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4018, allocations: 43.98 kB / 0.5231 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/0.4019, allocations: 34 kB / 0.5231 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.4034, allocations: 0.8235 MB / 0.5239 GB, free: 8.734 MB / 410.7 MB 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.00777/0.4111, allocations: 4.058 MB / 0.5279 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.4119, allocations: 302.5 kB / 0.5282 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.4122, allocations: 132.9 kB / 0.5283 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.4122, allocations: 8 kB / 0.5283 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.4123, allocations: 50.5 kB / 0.5284 GB, free: 4.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.663e-06/0.4123, allocations: 0 / 0.5284 GB, free: 4.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.003281/0.4155, allocations: 1.626 MB / 0.53 GB, free: 2.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.4156, allocations: 85.05 kB / 0.53 GB, free: 2.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/0.4199, allocations: 2.996 MB / 0.533 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.42, allocations: 41.7 kB / 0.533 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.4211, allocations: 0.9887 MB / 0.534 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.4213, allocations: 154.7 kB / 0.5341 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.4215, allocations: 130.2 kB / 0.5342 GB, free: 13.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4217, allocations: 330 kB / 0.5346 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.4222, allocations: 205.2 kB / 0.5348 GB, free: 13.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.4228, allocations: 402.9 kB / 0.5351 GB, free: 12.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.4238, allocations: 0.5613 MB / 0.5357 GB, free: 12.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4238, allocations: 7.938 kB / 0.5357 GB, free: 12.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00182/0.4256, allocations: 0.8592 MB / 0.5365 GB, free: 11.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4256, allocations: 8 kB / 0.5365 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4257, allocations: 4 kB / 0.5365 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.4257, allocations: 19.92 kB / 0.5366 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4269, allocations: 212.2 kB / 0.5368 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009898/0.4279, allocations: 1.199 MB / 0.5379 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.4286, allocations: 43.86 kB / 0.538 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.4287, allocations: 30.27 kB / 0.538 GB, free: 9.848 MB / 426.7 MB 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.0009565/0.4296, allocations: 0.5911 MB / 0.5386 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.43, allocations: 210.7 kB / 0.5388 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009967/0.431, allocations: 0.5043 MB / 0.5393 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.431, allocations: 4 kB / 0.5393 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.431, allocations: 1.062 kB / 0.5393 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.431, allocations: 3.984 kB / 0.5393 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.434, allocations: 1.561 MB / 0.5408 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.434, allocations: 4 kB / 0.5408 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.4348, allocations: 127.4 kB / 0.5409 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4348, allocations: 8.062 kB / 0.5409 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.4348, allocations: 11.94 kB / 0.541 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009503/0.4358, allocations: 1.192 MB / 0.5421 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.4358, allocations: 7.969 kB / 0.5421 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.4371, allocations: 0.7484 MB / 0.5429 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/0.4378, allocations: 302.6 kB / 0.5431 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.438, allocations: 12 kB / 0.5432 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.4387, allocations: 36.09 kB / 0.5432 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.4388, allocations: 28.09 kB / 0.5432 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.4388, allocations: 27.95 kB / 0.5432 GB, free: 4.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003623/0.4425, allocations: 2.126 MB / 0.5453 GB, free: 2.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4425, allocations: 0 / 0.5453 GB, free: 2.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001083/0.4435, allocations: 319.8 kB / 0.5456 GB, free: 1.895 MB / 426.7 MB 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.00235/0.4459, allocations: 0.5876 MB / 0.5462 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.447, allocations: 447.4 kB / 0.5466 GB, free: 1.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.447, allocations: 4.5 kB / 0.5466 GB, free: 1.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.4474, allocations: 156.2 kB / 0.5468 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.449, allocations: 315.4 kB / 0.5471 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/0.4554, allocations: 3.613 MB / 0.5506 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.4566, allocations: 0.9085 MB / 0.5515 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008099/0.4574, allocations: 277.2 kB / 0.5518 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.4577, allocations: 88.48 kB / 0.5518 GB, free: 11.59 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4577, allocations: 0 / 0.5518 GB, free: 11.59 MB / 442.7 MB Notification: Performance of Templates: time 0.1446/0.6023, allocations: 20.04 MB / 0.5714 GB, free: 168.8 MB / 442.7 MB " [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.640341768041253]