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.001444/0.001444, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001595/0.001595, allocations: 165.3 kB / 24.27 MB, free: 148 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.472/1.472, allocations: 158.6 MB / 186.1 MB, free: 2.887 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.3575/0.3575, allocations: 36.35 MB / 274.7 MB, free: 10.72 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.274e-06/2.274e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.184e-05, allocations: 2.312 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4813/0.4813, allocations: 161.4 MB / 0.5023 GB, free: 6.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.4865, allocations: 1.871 MB / 0.5042 GB, free: 4.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.4873, allocations: 19.88 kB / 0.5042 GB, free: 4.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.4886, allocations: 369.4 kB / 0.5045 GB, free: 3.84 MB / 378.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.002184/0.4908, allocations: 0.8239 MB / 0.5053 GB, free: 3.012 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.4941, allocations: 1.094 MB / 0.5064 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.4976, allocations: 1.886 MB / 0.5083 GB, free: 24 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.4989, allocations: 0.5988 MB / 0.5088 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.5012, allocations: 1.06 MB / 0.5099 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.5026, allocations: 0.756 MB / 0.5106 GB, free: 13.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.5027, allocations: 84 kB / 0.5107 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5046, allocations: 0.627 MB / 0.5113 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009179/0.5055, allocations: 0.822 MB / 0.5121 GB, free: 12.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.5064, allocations: 0.5999 MB / 0.5127 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.5105, allocations: 2.446 MB / 0.5151 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5106, allocations: 4 kB / 0.5151 GB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5106, allocations: 0 / 0.5151 GB, free: 8.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.739e-05/0.5106, allocations: 0 / 0.5151 GB, free: 8.996 MB / 394.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.005136/0.5157, allocations: 2.343 MB / 0.5174 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.5158, allocations: 12.03 kB / 0.5174 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.5172, allocations: 428.9 kB / 0.5178 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.5197, allocations: 1.348 MB / 0.5191 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.5198, allocations: 117.4 kB / 0.5192 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.52, allocations: 99.94 kB / 0.5193 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.5228, allocations: 1.847 MB / 0.5211 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.5228, allocations: 0 / 0.5211 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5229, allocations: 40 kB / 0.5212 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.523, allocations: 41.98 kB / 0.5212 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.5248, allocations: 0.8196 MB / 0.522 GB, free: 1.574 MB / 394.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.009454/0.5342, allocations: 4.062 MB / 0.526 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.535, allocations: 293.3 kB / 0.5262 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.5353, allocations: 133.6 kB / 0.5264 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.5354, allocations: 8 kB / 0.5264 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.5354, allocations: 46.56 kB / 0.5264 GB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.5354, allocations: 0 / 0.5264 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.003442/0.5389, allocations: 1.617 MB / 0.528 GB, free: 11.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.539, allocations: 85.05 kB / 0.5281 GB, free: 11.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00465/0.5436, allocations: 2.967 MB / 0.531 GB, free: 8.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.5437, allocations: 41.7 kB / 0.531 GB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.5448, allocations: 0.9808 MB / 0.532 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.545, allocations: 150.7 kB / 0.5321 GB, free: 6.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.5453, allocations: 130.2 kB / 0.5323 GB, free: 6.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5455, allocations: 333.9 kB / 0.5326 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.5459, allocations: 205.2 kB / 0.5328 GB, free: 6.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.5465, allocations: 394 kB / 0.5331 GB, free: 5.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.5475, allocations: 0.5729 MB / 0.5337 GB, free: 5.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.5475, allocations: 8 kB / 0.5337 GB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001873/0.5494, allocations: 0.8479 MB / 0.5345 GB, free: 4.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5494, allocations: 8 kB / 0.5345 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5495, allocations: 4 kB / 0.5345 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/0.5495, allocations: 12 kB / 0.5346 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5507, allocations: 219.2 kB / 0.5348 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.5519, allocations: 1.215 MB / 0.536 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.5528, allocations: 31.97 kB / 0.536 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.5529, allocations: 28 kB / 0.536 GB, free: 2.746 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.00112/0.554, allocations: 0.5872 MB / 0.5366 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.5545, allocations: 210.7 kB / 0.5368 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5555, allocations: 0.5033 MB / 0.5373 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5555, allocations: 4 kB / 0.5373 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5555, allocations: 4.156 kB / 0.5373 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5555, allocations: 0 / 0.5373 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.5586, allocations: 1.546 MB / 0.5388 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5586, allocations: 0 / 0.5388 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.5595, allocations: 135.8 kB / 0.5389 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.5595, allocations: 4 kB / 0.5389 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.5595, allocations: 8 kB / 0.5389 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009454/0.5605, allocations: 1.199 MB / 0.5401 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5605, allocations: 3.062 kB / 0.5401 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5618, allocations: 0.7465 MB / 0.5408 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.5626, allocations: 294.7 kB / 0.5411 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5627, allocations: 12 kB / 0.5411 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.5635, allocations: 27.97 kB / 0.5412 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.5636, allocations: 36.08 kB / 0.5412 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.5636, allocations: 23.97 kB / 0.5412 GB, free: 13.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003732/0.5674, allocations: 2.105 MB / 0.5433 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5674, allocations: 0 / 0.5433 GB, free: 11.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001381/0.5687, allocations: 323.8 kB / 0.5436 GB, free: 10.84 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.002481/0.5712, allocations: 0.5881 MB / 0.5442 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.5724, allocations: 434.2 kB / 0.5446 GB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.5724, allocations: 6.062 kB / 0.5446 GB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.5729, allocations: 160.4 kB / 0.5447 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.5747, allocations: 319.6 kB / 0.545 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.5821, allocations: 3.594 MB / 0.5485 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.5835, allocations: 0.8968 MB / 0.5494 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001571/0.5851, allocations: 309.1 kB / 0.5497 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/0.5856, allocations: 88.48 kB / 0.5498 GB, free: 4.414 MB / 426.7 MB Notification: Performance of SimCode: time 2.875e-06/0.5856, allocations: 4 kB / 0.5498 GB, free: 4.41 MB / 426.7 MB Notification: Performance of Templates: time 0.0433/0.6289, allocations: 19.92 MB / 0.5693 GB, free: 452 kB / 442.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.231762874987908]