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.001147/0.001147, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001773/0.00292, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00119/0.00119, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002779, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08627/1.119, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.08262/0.08262, allocations: 19.75 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01069/0.09332, allocations: 7.56 MB / 271.3 MB, free: 3.477 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_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 2.315e-06/2.315e-06, allocations: 3.938 kB / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.107e-05, allocations: 2.312 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2667/0.2667, allocations: 154.1 MB / 426.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.2698, allocations: 2.15 MB / 428.8 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.2702, allocations: 15.88 kB / 428.8 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.2708, allocations: 286 kB / 429.1 MB, free: 372 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1661/0.4368, allocations: 0.8782 MB / 430 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.4393, allocations: 1.05 MB / 431 MB, free: 3.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.4422, allocations: 1.941 MB / 433 MB, free: 3.539 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.4433, allocations: 0.6023 MB / 433.6 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.4455, allocations: 1.178 MB / 434.8 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.4468, allocations: 0.6885 MB / 435.5 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.447, allocations: 84.97 kB / 435.5 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.4484, allocations: 0.5638 MB / 436.1 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.449, allocations: 0.7626 MB / 436.9 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.45, allocations: 480.1 kB / 437.3 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.4521, allocations: 1.727 MB / 439.1 MB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.4522, allocations: 0 / 439.1 MB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4522, allocations: 0 / 439.1 MB, free: 3.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.147e-05/0.4522, allocations: 1.062 kB / 439.1 MB, free: 3.199 MB / 410.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.003314/0.4556, allocations: 2.65 MB / 441.7 MB, free: 18.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4556, allocations: 8.75 kB / 441.7 MB, free: 18.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00067/0.4563, allocations: 403 kB / 442.1 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/0.4572, allocations: 0.898 MB / 443 MB, free: 17.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.4573, allocations: 123 kB / 443.1 MB, free: 17.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4574, allocations: 103.7 kB / 443.2 MB, free: 17.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.4583, allocations: 1.456 MB / 444.7 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.4583, allocations: 5.438 kB / 444.7 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.4583, allocations: 42.62 kB / 444.7 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.4584, allocations: 34.91 kB / 444.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.4587, allocations: 307.7 kB / 445.1 MB, free: 16.23 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.003198/0.4619, allocations: 3.02 MB / 448.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4622, allocations: 243.1 kB / 448.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.4623, allocations: 66.91 kB / 448.4 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.4623, allocations: 12.81 kB / 448.4 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4623, allocations: 44.53 kB / 448.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.365e-06/0.4623, allocations: 0 / 448.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009621/0.4633, allocations: 0.6703 MB / 449.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000308/0.4636, allocations: 84.77 kB / 449.2 MB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4649, allocations: 1.771 MB / 451 MB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4649, allocations: 37.05 kB / 451 MB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.4652, allocations: 0.6156 MB / 451.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.4652, allocations: 152.5 kB / 451.8 MB, free: 13.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4653, allocations: 125.4 kB / 451.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.4654, allocations: 333.3 kB / 452.2 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.4655, allocations: 63.92 kB / 452.3 MB, free: 13.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4656, allocations: 254.3 kB / 452.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.4659, allocations: 387.8 kB / 452.9 MB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4659, allocations: 3.469 kB / 452.9 MB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004462/0.4663, allocations: 441.2 kB / 453.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4664, allocations: 9.75 kB / 453.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4664, allocations: 7.188 kB / 453.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4664, allocations: 8.75 kB / 453.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.4672, allocations: 274 kB / 453.6 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005362/0.4677, allocations: 1.18 MB / 454.8 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.4681, allocations: 30.55 kB / 454.8 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4682, allocations: 24.86 kB / 454.9 MB, free: 11.39 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.000411/0.4686, allocations: 163.3 kB / 455 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.4687, allocations: 117.7 kB / 455.1 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.469, allocations: 331.1 kB / 455.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.469, allocations: 3.719 kB / 455.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.469, allocations: 7 kB / 455.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.469, allocations: 3.047 kB / 455.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4701, allocations: 1.005 MB / 456.5 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4701, allocations: 0 / 456.5 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.4706, allocations: 167.5 kB / 456.7 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4708, allocations: 221.6 kB / 456.9 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4709, allocations: 10.98 kB / 456.9 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4709, allocations: 10.12 kB / 456.9 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003463/0.4712, allocations: 1.168 MB / 458.1 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4712, allocations: 3.938 kB / 458.1 MB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.4716, allocations: 493 kB / 458.5 MB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.4717, allocations: 9.219 kB / 458.6 MB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.472, allocations: 35.33 kB / 458.6 MB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.472, allocations: 27.47 kB / 458.6 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.4721, allocations: 22.09 kB / 458.6 MB, free: 9.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007554/0.4728, allocations: 0.9718 MB / 459.6 MB, free: 9.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4728, allocations: 0 / 459.6 MB, free: 9.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.4735, allocations: 323.3 kB / 459.9 MB, free: 9.254 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.001372/0.4749, allocations: 0.6406 MB / 460.6 MB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.4753, allocations: 272 kB / 460.8 MB, free: 9.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.288e-05/0.4754, allocations: 33.7 kB / 460.9 MB, free: 9.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4755, allocations: 121.2 kB / 461 MB, free: 9.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.4763, allocations: 431 kB / 461.4 MB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/0.4858, allocations: 2.919 MB / 464.3 MB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.4861, allocations: 405.4 kB / 464.7 MB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007102/0.4868, allocations: 183.3 kB / 464.9 MB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/0.4875, allocations: 405.6 kB / 465.3 MB, free: 7.531 MB / 426.7 MB Notification: Performance of SimCode: time 1.973e-06/0.4875, allocations: 0 / 465.3 MB, free: 7.531 MB / 426.7 MB Notification: Performance of Templates: time 0.02875/0.5163, allocations: 22.03 MB / 487.3 MB, free: 1.312 MB / 426.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5541182085871696]