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.001365/0.001365, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001083/0.001083, allocations: 162.6 kB / 24.99 MB, free: 8.336 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 0.8582/0.8582, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.1798/0.1798, allocations: 36.34 MB / 275.4 MB, free: 10.73 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 1.372e-06/1.372e-06, allocations: 0 / 353.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.821e-05, allocations: 2.312 kB / 353.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2785/0.2786, allocations: 179.5 MB / 0.5207 GB, free: 7.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.2814, allocations: 1.947 MB / 0.5226 GB, free: 5.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.2817, allocations: 19.88 kB / 0.5227 GB, free: 5.961 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.2825, allocations: 373.4 kB / 0.523 GB, free: 5.594 MB / 394.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.000957/0.2834, allocations: 0.8279 MB / 0.5238 GB, free: 4.762 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.285, allocations: 1.091 MB / 0.5249 GB, free: 3.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2865, allocations: 1.882 MB / 0.5267 GB, free: 1.781 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.287, allocations: 0.5988 MB / 0.5273 GB, free: 1.168 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009656/0.288, allocations: 1.067 MB / 0.5283 GB, free: 100 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.2886, allocations: 0.7599 MB / 0.5291 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.2887, allocations: 84 kB / 0.5292 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008708/0.2896, allocations: 0.6192 MB / 0.5298 GB, free: 14.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.29, allocations: 0.8298 MB / 0.5306 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.2905, allocations: 0.6038 MB / 0.5312 GB, free: 13.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.2923, allocations: 1.884 MB / 0.533 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2923, allocations: 0 / 0.533 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2923, allocations: 0 / 0.533 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.2924, allocations: 0 / 0.533 GB, free: 11.3 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.002261/0.2946, allocations: 2.496 MB / 0.5355 GB, free: 8.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2947, allocations: 12.03 kB / 0.5355 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.2954, allocations: 422 kB / 0.5359 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2965, allocations: 1.07 MB / 0.5369 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.2966, allocations: 117.4 kB / 0.537 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2967, allocations: 103.9 kB / 0.5371 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.2978, allocations: 1.54 MB / 0.5386 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.2979, allocations: 3.938 kB / 0.5386 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.2979, allocations: 44 kB / 0.5387 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.298, allocations: 37.98 kB / 0.5387 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.2986, allocations: 399.5 kB / 0.5391 GB, free: 4.711 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.004287/0.3028, allocations: 4.583 MB / 0.5436 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.3032, allocations: 256 kB / 0.5438 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3034, allocations: 91.33 kB / 0.5439 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3034, allocations: 8 kB / 0.5439 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3034, allocations: 41.39 kB / 0.5439 GB, free: 15.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 1.914e-06/0.3034, allocations: 0 / 0.5439 GB, free: 15.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.001474/0.3049, allocations: 1.426 MB / 0.5453 GB, free: 14.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3049, allocations: 93.17 kB / 0.5454 GB, free: 14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.3068, allocations: 2.039 MB / 0.5474 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3068, allocations: 37.7 kB / 0.5475 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.3074, allocations: 1.111 MB / 0.5485 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.3075, allocations: 150.7 kB / 0.5487 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3076, allocations: 131.9 kB / 0.5488 GB, free: 10.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3077, allocations: 0.5042 MB / 0.5493 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3079, allocations: 81.25 kB / 0.5494 GB, free: 9.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3081, allocations: 350.5 kB / 0.5497 GB, free: 9.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.3085, allocations: 479.1 kB / 0.5502 GB, free: 8.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3085, allocations: 4 kB / 0.5502 GB, free: 8.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006458/0.3092, allocations: 0.6215 MB / 0.5508 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3092, allocations: 12.03 kB / 0.5508 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3092, allocations: 8 kB / 0.5508 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3092, allocations: 11.98 kB / 0.5508 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.3098, allocations: 211.7 kB / 0.551 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005388/0.3103, allocations: 1.806 MB / 0.5528 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.3106, allocations: 36.11 kB / 0.5528 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.3107, allocations: 31.12 kB / 0.5528 GB, free: 6.035 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.0002116/0.3109, allocations: 208.3 kB / 0.553 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.311, allocations: 206.7 kB / 0.5532 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.3117, allocations: 371.4 kB / 0.5536 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3117, allocations: 7.984 kB / 0.5536 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3117, allocations: 0 / 0.5536 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3117, allocations: 4 kB / 0.5536 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3133, allocations: 1.678 MB / 0.5552 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3133, allocations: 0 / 0.5552 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.3136, allocations: 131.9 kB / 0.5554 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3137, allocations: 0 / 0.5554 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3137, allocations: 11.98 kB / 0.5554 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/0.3141, allocations: 1.798 MB / 0.5571 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3141, allocations: 0 / 0.5571 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3147, allocations: 0.6591 MB / 0.5578 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.315, allocations: 274.7 kB / 0.558 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.3151, allocations: 8.875 kB / 0.558 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3154, allocations: 35.97 kB / 0.5581 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.3154, allocations: 27.89 kB / 0.5581 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3155, allocations: 27.97 kB / 0.5581 GB, free: 464 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.3165, allocations: 1.211 MB / 0.5593 GB, free: 15.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3165, allocations: 0 / 0.5593 GB, free: 15.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006148/0.3171, allocations: 323.8 kB / 0.5596 GB, free: 14.91 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.001184/0.3183, allocations: 0.5334 MB / 0.5601 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3188, allocations: 320.3 kB / 0.5605 GB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3188, allocations: 4.688 kB / 0.5605 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3189, allocations: 131.8 kB / 0.5606 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.32, allocations: 330.8 kB / 0.5609 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.323, allocations: 2.944 MB / 0.5638 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3233, allocations: 403.1 kB / 0.5642 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.3237, allocations: 221.1 kB / 0.5644 GB, free: 9.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3238, allocations: 88.48 kB / 0.5645 GB, free: 9.891 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3238, allocations: 0 / 0.5645 GB, free: 9.891 MB / 442.7 MB Notification: Performance of Templates: time 0.02357/0.3474, allocations: 19.93 MB / 0.5839 GB, free: 5.918 MB / 458.7 MB " [Timeout remaining time 660] 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.675083194859326]