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.002153/0.002153, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003436/0.003436, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.401/1.401, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.3088/0.3088, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.367e-05, allocations: 5.688 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4324/0.4325, allocations: 179.4 MB / 0.5199 GB, free: 7.938 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.4374, allocations: 1.953 MB / 0.5219 GB, free: 5.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.4382, allocations: 15.88 kB / 0.5219 GB, free: 5.965 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4397, allocations: 361.4 kB / 0.5222 GB, free: 5.609 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.002234/0.4419, allocations: 0.8356 MB / 0.523 GB, free: 4.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.4454, allocations: 1.083 MB / 0.5241 GB, free: 3.684 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.4484, allocations: 1.89 MB / 0.5259 GB, free: 1.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.4497, allocations: 0.5988 MB / 0.5265 GB, free: 1.176 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.4521, allocations: 1.064 MB / 0.5276 GB, free: 112 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.4536, allocations: 0.7599 MB / 0.5283 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.454, allocations: 91.98 kB / 0.5284 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.4559, allocations: 0.6153 MB / 0.529 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.457, allocations: 0.8299 MB / 0.5298 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.4583, allocations: 0.5999 MB / 0.5304 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.4626, allocations: 2.446 MB / 0.5328 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4626, allocations: 0 / 0.5328 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4626, allocations: 0 / 0.5328 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.628e-05/0.4627, allocations: 0 / 0.5328 GB, free: 10.75 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.00561/0.4683, allocations: 2.617 MB / 0.5353 GB, free: 8.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.4683, allocations: 8.031 kB / 0.5353 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.4697, allocations: 422 kB / 0.5357 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.4723, allocations: 1.078 MB / 0.5368 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.4725, allocations: 117.4 kB / 0.5369 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.4727, allocations: 99.94 kB / 0.537 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.4754, allocations: 1.668 MB / 0.5386 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.4754, allocations: 4 kB / 0.5386 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.4755, allocations: 44 kB / 0.5387 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.4756, allocations: 37.98 kB / 0.5387 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.4769, allocations: 0.5346 MB / 0.5392 GB, free: 3.77 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.01012/0.487, allocations: 5.093 MB / 0.5442 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.4878, allocations: 322.1 kB / 0.5445 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.4883, allocations: 131.3 kB / 0.5446 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.4883, allocations: 8 kB / 0.5446 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.4884, allocations: 45.39 kB / 0.5447 GB, free: 14.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.414e-06/0.4884, allocations: 0 / 0.5447 GB, free: 14.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.00364/0.492, allocations: 1.597 MB / 0.5462 GB, free: 12.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.4921, allocations: 89.16 kB / 0.5463 GB, free: 12.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.4962, allocations: 2.336 MB / 0.5486 GB, free: 9.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.4963, allocations: 45.69 kB / 0.5487 GB, free: 9.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.4976, allocations: 1.17 MB / 0.5498 GB, free: 8.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.4978, allocations: 158.7 kB / 0.55 GB, free: 8.492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.4981, allocations: 151.9 kB / 0.5501 GB, free: 8.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.4984, allocations: 0.5121 MB / 0.5506 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.4987, allocations: 133.2 kB / 0.5507 GB, free: 7.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/0.4993, allocations: 422.5 kB / 0.5511 GB, free: 7.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.5006, allocations: 0.5851 MB / 0.5517 GB, free: 6.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5006, allocations: 0 / 0.5517 GB, free: 6.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001626/0.5022, allocations: 0.7308 MB / 0.5524 GB, free: 5.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5022, allocations: 8 kB / 0.5524 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5022, allocations: 8 kB / 0.5524 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.5023, allocations: 11.98 kB / 0.5524 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.5034, allocations: 219.7 kB / 0.5526 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.5047, allocations: 1.814 MB / 0.5544 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/0.5056, allocations: 34.88 kB / 0.5545 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.5057, allocations: 31.94 kB / 0.5545 GB, free: 3.547 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.0007259/0.5064, allocations: 252.3 kB / 0.5547 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/0.507, allocations: 202.8 kB / 0.5549 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5082, allocations: 443.4 kB / 0.5553 GB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5082, allocations: 4 kB / 0.5553 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5082, allocations: 0 / 0.5553 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5082, allocations: 4.031 kB / 0.5553 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/0.5127, allocations: 2.01 MB / 0.5573 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5127, allocations: 4 kB / 0.5573 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.5135, allocations: 131.8 kB / 0.5574 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.5135, allocations: 4 kB / 0.5574 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.5136, allocations: 4 kB / 0.5574 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.5151, allocations: 1.818 MB / 0.5592 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5151, allocations: 3.812 kB / 0.5592 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.5167, allocations: 0.7841 MB / 0.56 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.5179, allocations: 278.7 kB / 0.5603 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.5182, allocations: 8 kB / 0.5603 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.519, allocations: 35.97 kB / 0.5603 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.5191, allocations: 36 kB / 0.5603 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5192, allocations: 23.98 kB / 0.5604 GB, free: 13.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002884/0.5221, allocations: 1.32 MB / 0.5616 GB, free: 12.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5221, allocations: 0 / 0.5616 GB, free: 12.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001536/0.5236, allocations: 323.8 kB / 0.562 GB, free: 11.71 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.003384/0.527, allocations: 0.5829 MB / 0.5625 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.5283, allocations: 427 kB / 0.5629 GB, free: 10.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.5283, allocations: 4.5 kB / 0.5629 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.5288, allocations: 173.3 kB / 0.5631 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.5308, allocations: 315.7 kB / 0.5634 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.537, allocations: 2.991 MB / 0.5663 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.5385, allocations: 0.8226 MB / 0.5671 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009588/0.5394, allocations: 229.1 kB / 0.5673 GB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.5398, allocations: 92.48 kB / 0.5674 GB, free: 6.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/0.5398, allocations: 8 kB / 0.5674 GB, free: 6.012 MB / 442.7 MB Notification: Performance of Templates: time 0.04206/0.5819, allocations: 19.84 MB / 0.5868 GB, free: 2.125 MB / 458.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: 6.2191119770286605]