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.001153/0.001153, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.005411/0.005411, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 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.079/1.079, allocations: 158.6 MB / 186.8 MB, free: 2.406 MB / 170.7 MB " [Timeout remaining time 179] 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.2367/0.2367, allocations: 36.34 MB / 275.5 MB, free: 10.51 MB / 266.7 MB " [Timeout remaining time 180] 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: translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 1.094 kB / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.627e-05/4.939e-05, allocations: 3.344 kB / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2058/0.2059, allocations: 152.9 MB / 458.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.2091, allocations: 1.896 MB / 460 MB, free: 8.727 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.2096, allocations: 15.88 kB / 460 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.2103, allocations: 278 kB / 460.3 MB, free: 8.438 MB / 426.7 MB [/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.00109/0.2114, allocations: 0.8239 MB / 461.1 MB, free: 7.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.2131, allocations: 1.021 MB / 462.1 MB, free: 6.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.2152, allocations: 1.905 MB / 464 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.216, allocations: 0.5999 MB / 464.6 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.2172, allocations: 1.033 MB / 465.7 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.218, allocations: 0.6819 MB / 466.3 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.2181, allocations: 87.94 kB / 466.4 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2191, allocations: 0.5413 MB / 467 MB, free: 1.711 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.2196, allocations: 0.8298 MB / 467.8 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005451/0.2201, allocations: 0.6038 MB / 468.4 MB, free: 280 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2308/0.4509, allocations: 1.821 MB / 470.2 MB, free: 8.531 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4509, allocations: 3.688 kB / 470.2 MB, free: 8.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4509, allocations: 3.906 kB / 470.2 MB, free: 8.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001428/0.4511, allocations: 0 / 470.2 MB, free: 8.531 MB / 426.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.005041/0.4561, allocations: 2.212 MB / 472.4 MB, free: 7.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.4561, allocations: 10.91 kB / 472.5 MB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.4576, allocations: 332.9 kB / 472.8 MB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.4601, allocations: 0.8904 MB / 473.7 MB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.4602, allocations: 121.6 kB / 473.8 MB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.4604, allocations: 99.67 kB / 473.9 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4618, allocations: 1.454 MB / 475.3 MB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.4619, allocations: 4.844 kB / 475.3 MB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.4619, allocations: 42.09 kB / 475.4 MB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.462, allocations: 37.34 kB / 475.4 MB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.4625, allocations: 305.8 kB / 475.7 MB, free: 5.691 MB / 426.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.004362/0.4669, allocations: 3.014 MB / 478.7 MB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.4673, allocations: 251.1 kB / 479 MB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.4674, allocations: 67.14 kB / 479.1 MB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4674, allocations: 14.03 kB / 479.1 MB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4674, allocations: 43.75 kB / 479.1 MB, free: 3.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 1.402e-06/0.4674, allocations: 1.125 kB / 479.1 MB, free: 3.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.001199/0.4686, allocations: 0.6557 MB / 479.8 MB, free: 3.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.4687, allocations: 82.73 kB / 479.8 MB, free: 3.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.4711, allocations: 1.741 MB / 481.6 MB, free: 3.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.4712, allocations: 39.98 kB / 481.6 MB, free: 3.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.4715, allocations: 0.6142 MB / 482.2 MB, free: 3.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/0.4716, allocations: 152.3 kB / 482.4 MB, free: 2.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4717, allocations: 125.2 kB / 482.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.472, allocations: 337.5 kB / 482.8 MB, free: 18.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4721, allocations: 67.81 kB / 482.9 MB, free: 18.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.4722, allocations: 251.3 kB / 483.2 MB, free: 18.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.4726, allocations: 391 kB / 483.5 MB, free: 18.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4726, allocations: 3.781 kB / 483.5 MB, free: 18.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005472/0.4732, allocations: 448.4 kB / 484 MB, free: 18.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4732, allocations: 9.719 kB / 484 MB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4732, allocations: 5.469 kB / 484 MB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4732, allocations: 9.688 kB / 484 MB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.4739, allocations: 253.4 kB / 484.2 MB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004738/0.4744, allocations: 1.188 MB / 485.4 MB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.4747, allocations: 24.89 kB / 485.5 MB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.4748, allocations: 27.05 kB / 485.5 MB, free: 16.87 MB / 442.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.0003284/0.4751, allocations: 159.1 kB / 485.6 MB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4752, allocations: 121.2 kB / 485.8 MB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.4756, allocations: 314.9 kB / 486.1 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4756, allocations: 4.312 kB / 486.1 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4756, allocations: 3.844 kB / 486.1 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4756, allocations: 6.516 kB / 486.1 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4769, allocations: 1.001 MB / 487.1 MB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4769, allocations: 3.031 kB / 487.1 MB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.4773, allocations: 161.9 kB / 487.2 MB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4773, allocations: 6.516 kB / 487.2 MB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.4773, allocations: 6.438 kB / 487.3 MB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/0.4777, allocations: 1.178 MB / 488.4 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4777, allocations: 0.7188 kB / 488.4 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.4782, allocations: 486.1 kB / 488.9 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.4784, allocations: 216.6 kB / 489.1 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4785, allocations: 10.28 kB / 489.1 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4788, allocations: 32.92 kB / 489.2 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4789, allocations: 27.39 kB / 489.2 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.4789, allocations: 23.27 kB / 489.2 MB, free: 14.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008342/0.4797, allocations: 0.9551 MB / 490.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4797, allocations: 0.9375 kB / 490.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008754/0.4806, allocations: 319.3 kB / 490.5 MB, free: 14.75 MB / 442.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.00135/0.482, allocations: 0.6026 MB / 491.1 MB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.4824, allocations: 269.3 kB / 491.3 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.064e-05/0.4824, allocations: 26.12 kB / 491.4 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4825, allocations: 111 kB / 491.5 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.4834, allocations: 311.6 kB / 491.8 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.4872, allocations: 2.903 MB / 494.7 MB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4875, allocations: 409.2 kB / 495.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005948/0.4881, allocations: 180.5 kB / 495.3 MB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.4889, allocations: 390.8 kB / 495.6 MB, free: 12.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4889, allocations: 0.9375 kB / 495.6 MB, free: 12.88 MB / 442.7 MB Notification: Performance of Templates: time 0.03126/0.5202, allocations: 21.3 MB / 0.5048 GB, free: 9.148 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.154032363090664]