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.0009853/0.0009853, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001178/0.001178, allocations: 170 kB / 24.91 MB, free: 9.191 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.107/1.107, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.0996/0.0996, allocations: 19.75 MB / 281.6 MB, free: 9.152 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 1.633e-06/1.633e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.053e-05, allocations: 4.25 kB / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3666/0.3666, allocations: 153.6 MB / 458.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.3703, allocations: 2.133 MB / 460.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.3709, allocations: 17.75 kB / 460.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.3716, allocations: 279.8 kB / 461.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.3733, allocations: 0.8917 MB / 462.1 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.3755, allocations: 1.056 MB / 463.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.3783, allocations: 1.939 MB / 465.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.3793, allocations: 0.6305 MB / 465.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3813, allocations: 1.084 MB / 466.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3825, allocations: 0.6914 MB / 467.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.3827, allocations: 86.41 kB / 467.6 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.384, allocations: 0.545 MB / 468.1 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.3846, allocations: 0.8364 MB / 469 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.3854, allocations: 0.601 MB / 469.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.3874, allocations: 1.863 MB / 471.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3874, allocations: 0 / 471.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3874, allocations: 3.938 kB / 471.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.499e-05/0.3875, allocations: 0 / 471.4 MB, free: 9.312 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.002698/0.3902, allocations: 2.248 MB / 473.7 MB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3902, allocations: 11.94 kB / 473.7 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.3909, allocations: 331.7 kB / 474 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3919, allocations: 0.8951 MB / 474.9 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.392, allocations: 121.7 kB / 475 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.3922, allocations: 100.5 kB / 475.1 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3932, allocations: 1.452 MB / 476.6 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3932, allocations: 2.812 kB / 476.6 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.3933, allocations: 46.53 kB / 476.6 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.3933, allocations: 36.91 kB / 476.7 MB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3938, allocations: 305.1 kB / 477 MB, free: 6.438 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.003318/0.3971, allocations: 3.013 MB / 480 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.3974, allocations: 245.5 kB / 480.2 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.3974, allocations: 71.55 kB / 480.3 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3974, allocations: 8.578 kB / 480.3 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3975, allocations: 49.69 kB / 480.3 MB, free: 4.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.442e-06/0.3975, allocations: 0 / 480.3 MB, free: 4.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001032/0.3985, allocations: 0.6567 MB / 481 MB, free: 4.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.3985, allocations: 82.3 kB / 481.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3999, allocations: 1.769 MB / 482.8 MB, free: 4.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3999, allocations: 37.95 kB / 482.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.4002, allocations: 0.6181 MB / 483.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.4003, allocations: 144.9 kB / 483.6 MB, free: 3.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4004, allocations: 127.4 kB / 483.8 MB, free: 3.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.4004, allocations: 336 kB / 484.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.4005, allocations: 62.58 kB / 484.2 MB, free: 3.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4007, allocations: 258.8 kB / 484.4 MB, free: 3.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.401, allocations: 388.5 kB / 484.8 MB, free: 2.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.401, allocations: 0 / 484.8 MB, free: 2.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004344/0.4014, allocations: 445.9 kB / 485.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4014, allocations: 8.312 kB / 485.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4014, allocations: 6.938 kB / 485.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4014, allocations: 12.53 kB / 485.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.4019, allocations: 212.5 kB / 485.5 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002402/0.4022, allocations: 1.178 MB / 486.6 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.4024, allocations: 28.92 kB / 486.7 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.4025, allocations: 32.5 kB / 486.7 MB, free: 1.598 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.0002182/0.4027, allocations: 157.8 kB / 486.9 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.4028, allocations: 116.6 kB / 487 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4031, allocations: 326.7 kB / 487.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4031, allocations: 5 kB / 487.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.4031, allocations: 0.5938 kB / 487.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4031, allocations: 7.609 kB / 487.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4042, allocations: 0.9973 MB / 488.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4042, allocations: 0.6562 kB / 488.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4045, allocations: 131.6 kB / 488.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4045, allocations: 2.875 kB / 488.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4045, allocations: 9.625 kB / 488.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002293/0.4048, allocations: 1.17 MB / 489.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4048, allocations: 6.141 kB / 489.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.4052, allocations: 490.3 kB / 490.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.4054, allocations: 215.5 kB / 490.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.4055, allocations: 10.94 kB / 490.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4058, allocations: 37.66 kB / 490.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4058, allocations: 27.92 kB / 490.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.4059, allocations: 17.2 kB / 490.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007688/0.4066, allocations: 0.9811 MB / 491.4 MB, free: 15.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4066, allocations: 0 / 491.4 MB, free: 15.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.4073, allocations: 318.3 kB / 491.7 MB, free: 15.48 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.001365/0.4087, allocations: 0.6141 MB / 492.3 MB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.409, allocations: 262 kB / 492.6 MB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.513e-05/0.409, allocations: 23.66 kB / 492.6 MB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4092, allocations: 109.4 kB / 492.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.4099, allocations: 315.8 kB / 493 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.4138, allocations: 2.923 MB / 495.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4141, allocations: 407 kB / 496.3 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000463/0.4146, allocations: 177.9 kB / 496.5 MB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.4153, allocations: 399.7 kB / 496.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4153, allocations: 0 / 496.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of Templates: time 0.03116/0.4464, allocations: 21.29 MB / 0.506 GB, free: 6.238 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.059507622383535]