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.001096/0.001096, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001158/0.001158, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.093/1.093, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.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.1143/0.1143, allocations: 19.73 MB / 281.6 MB, free: 9.023 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.895e-06/2.895e-06, allocations: 0.6562 kB / 305.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.406e-05, allocations: 4.734 kB / 305.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3526/0.3527, allocations: 153.7 MB / 458.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.3564, allocations: 2.138 MB / 461 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.3569, allocations: 14.44 kB / 461 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.3577, allocations: 281.8 kB / 461.3 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3593, allocations: 0.8845 MB / 462.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.3614, allocations: 1.057 MB / 463.2 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.3643, allocations: 1.94 MB / 465.2 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.3656, allocations: 0.6027 MB / 465.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.3684, allocations: 1.066 MB / 466.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.3699, allocations: 0.6866 MB / 467.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.3702, allocations: 87 kB / 467.6 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.3719, allocations: 0.5583 MB / 468.2 MB, free: 9.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007868/0.3727, allocations: 0.8322 MB / 469 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3738, allocations: 0.6054 MB / 469.6 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3763, allocations: 1.859 MB / 471.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3763, allocations: 0 / 471.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3763, allocations: 0 / 471.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.3765, allocations: 1 kB / 471.5 MB, free: 9.066 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.003428/0.3799, allocations: 2.255 MB / 473.7 MB, free: 7.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.38, allocations: 7.656 kB / 473.7 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/0.3809, allocations: 330 kB / 474 MB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.382, allocations: 0.9004 MB / 474.9 MB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/0.3821, allocations: 115.8 kB / 475.1 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3822, allocations: 101.4 kB / 475.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.3831, allocations: 1.458 MB / 476.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.3832, allocations: 3.875 kB / 476.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.3833, allocations: 43.72 kB / 476.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.3833, allocations: 39.27 kB / 476.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.3837, allocations: 309.2 kB / 477 MB, free: 6.188 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.003666/0.3874, allocations: 3.003 MB / 480 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.3877, allocations: 246.3 kB / 480.2 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.3878, allocations: 74.03 kB / 480.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.3878, allocations: 8.906 kB / 480.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3879, allocations: 46.25 kB / 480.4 MB, free: 4.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.176e-06/0.3879, allocations: 5.047 kB / 480.4 MB, free: 4.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001235/0.3891, allocations: 0.6605 MB / 481 MB, free: 4.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3891, allocations: 82.45 kB / 481.1 MB, free: 4.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.3908, allocations: 1.768 MB / 482.9 MB, free: 3.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.3909, allocations: 42.14 kB / 482.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3911, allocations: 0.6159 MB / 483.5 MB, free: 3.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3912, allocations: 149.7 kB / 483.7 MB, free: 3.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3914, allocations: 127.7 kB / 483.8 MB, free: 3.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.3914, allocations: 334.4 kB / 484.1 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3915, allocations: 61.98 kB / 484.2 MB, free: 3.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3917, allocations: 255 kB / 484.5 MB, free: 2.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.392, allocations: 383.8 kB / 484.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.392, allocations: 4.5 kB / 484.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000568/0.3926, allocations: 440.5 kB / 485.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3926, allocations: 9.75 kB / 485.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3926, allocations: 5.219 kB / 485.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.3927, allocations: 13.84 kB / 485.3 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.3935, allocations: 261.7 kB / 485.5 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004003/0.3939, allocations: 1.184 MB / 486.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.3942, allocations: 23.48 kB / 486.8 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.3943, allocations: 30.06 kB / 486.8 MB, free: 1.355 MB / 410.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.0002801/0.3946, allocations: 151.7 kB / 486.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3947, allocations: 123 kB / 487.1 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.3951, allocations: 335.7 kB / 487.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3951, allocations: 3.125 kB / 487.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3951, allocations: 0.875 kB / 487.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3951, allocations: 10.31 kB / 487.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3964, allocations: 0.9934 MB / 488.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3964, allocations: 3.125 kB / 488.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.3969, allocations: 167.8 kB / 488.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.397, allocations: 8.406 kB / 488.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.397, allocations: 9.594 kB / 488.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/0.3973, allocations: 1.177 MB / 489.7 MB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3973, allocations: 0 / 489.7 MB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.3978, allocations: 487.4 kB / 490.2 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.3981, allocations: 213.2 kB / 490.4 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3982, allocations: 14.45 kB / 490.4 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3985, allocations: 35.12 kB / 490.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.3986, allocations: 26.52 kB / 490.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.3986, allocations: 22.53 kB / 490.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.3996, allocations: 0.9744 MB / 491.5 MB, free: 15.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3996, allocations: 4.125 kB / 491.5 MB, free: 15.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008299/0.4004, allocations: 320.2 kB / 491.8 MB, free: 15.23 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.001479/0.4019, allocations: 0.5989 MB / 492.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.4024, allocations: 268.2 kB / 492.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-05/0.4024, allocations: 25.28 kB / 492.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.4026, allocations: 112.2 kB / 492.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.4034, allocations: 321.6 kB / 493.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.4075, allocations: 2.915 MB / 496 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4078, allocations: 400 kB / 496.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005347/0.4083, allocations: 182 kB / 496.6 MB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/0.4091, allocations: 404.4 kB / 497 MB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 3.076e-06/0.4091, allocations: 0 / 497 MB, free: 13.48 MB / 426.7 MB Notification: Performance of Templates: time 0.0313/0.4404, allocations: 21.45 MB / 0.5063 GB, free: 5.812 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7847560178488493]