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.001335/0.001335, allocations: 80.92 kB / 21.5 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.001201/0.001201, allocations: 166.3 kB / 24.91 MB, free: 9.199 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.9269/0.9269, allocations: 158.6 MB / 186.8 MB, free: 2.781 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.183/0.183, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.624e-06/1.624e-06, allocations: 0 / 305.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.768e-05, allocations: 6.094 kB / 305.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.1556/0.1556, allocations: 152.8 MB / 458 MB, free: 10.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1588, allocations: 1.898 MB / 459.9 MB, free: 8.867 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.1592, allocations: 15.88 kB / 459.9 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.1599, allocations: 274 kB / 460.2 MB, free: 8.582 MB / 426.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.0015/0.1614, allocations: 0.8279 MB / 461 MB, free: 7.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1632, allocations: 1.025 MB / 462 MB, free: 6.723 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.1648, allocations: 1.898 MB / 463.9 MB, free: 4.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007341/0.1655, allocations: 0.6193 MB / 464.6 MB, free: 4.184 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1666, allocations: 1.056 MB / 465.6 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.1673, allocations: 0.678 MB / 466.3 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1674, allocations: 84 kB / 466.4 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.1683, allocations: 0.5334 MB / 466.9 MB, free: 1.828 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004778/0.1688, allocations: 0.8337 MB / 467.7 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.1696, allocations: 0.5999 MB / 468.3 MB, free: 400 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2294/0.3989, allocations: 1.826 MB / 470.2 MB, free: 7.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.399, allocations: 1.641 kB / 470.2 MB, free: 7.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.399, allocations: 0 / 470.2 MB, free: 7.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.399, allocations: 1.203 kB / 470.2 MB, free: 7.785 MB / 426.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.003252/0.4023, allocations: 2.213 MB / 472.4 MB, free: 6.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4023, allocations: 8.812 kB / 472.4 MB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.4032, allocations: 336.9 kB / 472.7 MB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4045, allocations: 0.8924 MB / 473.6 MB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.4046, allocations: 117.6 kB / 473.7 MB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.4048, allocations: 105.1 kB / 473.8 MB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4059, allocations: 1.454 MB / 475.3 MB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.4059, allocations: 5.984 kB / 475.3 MB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.406, allocations: 40.09 kB / 475.3 MB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.4061, allocations: 35.12 kB / 475.4 MB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.4066, allocations: 303.5 kB / 475.7 MB, free: 4.945 MB / 426.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.003619/0.4102, allocations: 3.009 MB / 478.7 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.4106, allocations: 252.7 kB / 478.9 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.4107, allocations: 70.7 kB / 479 MB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4107, allocations: 9.266 kB / 479 MB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4107, allocations: 47.44 kB / 479 MB, free: 3.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.4107, allocations: 0 / 479 MB, free: 3.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.001339/0.4121, allocations: 0.6575 MB / 479.7 MB, free: 18.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4121, allocations: 85.02 kB / 479.8 MB, free: 18.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4139, allocations: 1.738 MB / 481.5 MB, free: 18.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.414, allocations: 38.73 kB / 481.5 MB, free: 18.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.4143, allocations: 0.6146 MB / 482.2 MB, free: 18.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.4144, allocations: 149.9 kB / 482.3 MB, free: 18.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4145, allocations: 133 kB / 482.4 MB, free: 18.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4146, allocations: 339.9 kB / 482.8 MB, free: 17.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4147, allocations: 62.12 kB / 482.8 MB, free: 17.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4149, allocations: 252.9 kB / 483.1 MB, free: 17.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.4152, allocations: 396.2 kB / 483.5 MB, free: 17.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4152, allocations: 0 / 483.5 MB, free: 17.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004696/0.4157, allocations: 440 kB / 483.9 MB, free: 17.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4157, allocations: 9.062 kB / 483.9 MB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4157, allocations: 6.688 kB / 483.9 MB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4157, allocations: 11.84 kB / 483.9 MB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.4162, allocations: 210.4 kB / 484.1 MB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004835/0.4167, allocations: 1.184 MB / 485.3 MB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.417, allocations: 27.27 kB / 485.3 MB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.417, allocations: 27.23 kB / 485.4 MB, free: 16.12 MB / 442.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.0002427/0.4173, allocations: 161.5 kB / 485.5 MB, free: 16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.4174, allocations: 113.6 kB / 485.6 MB, free: 16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.4178, allocations: 317.7 kB / 485.9 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4178, allocations: 1.969 kB / 485.9 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.4178, allocations: 3.469 kB / 486 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4178, allocations: 3.891 kB / 486 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4191, allocations: 1.004 MB / 487 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4191, allocations: 0 / 487 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.4195, allocations: 127.3 kB / 487.1 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.4195, allocations: 3.812 kB / 487.1 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4195, allocations: 8.453 kB / 487.1 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004449/0.4199, allocations: 1.178 MB / 488.3 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4199, allocations: 3.469 kB / 488.3 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.4204, allocations: 484.9 kB / 488.7 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.4207, allocations: 216.2 kB / 489 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4208, allocations: 10.91 kB / 489 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.4211, allocations: 30.3 kB / 489 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.4212, allocations: 29.36 kB / 489 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.4212, allocations: 20.17 kB / 489 MB, free: 14.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008964/0.4221, allocations: 0.963 MB / 490 MB, free: 14.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4221, allocations: 0 / 490 MB, free: 14.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007364/0.4228, allocations: 319.6 kB / 490.3 MB, free: 14.01 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.001326/0.4242, allocations: 0.6116 MB / 490.9 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4245, allocations: 265.7 kB / 491.2 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/0.4246, allocations: 26.84 kB / 491.2 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4247, allocations: 112.8 kB / 491.3 MB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.4255, allocations: 310.5 kB / 491.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.4288, allocations: 2.887 MB / 494.5 MB, free: 12.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4291, allocations: 405.2 kB / 494.9 MB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000432/0.4295, allocations: 184.6 kB / 495.1 MB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/0.4302, allocations: 393.3 kB / 495.5 MB, free: 12.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/0.4302, allocations: 0 / 495.5 MB, free: 12.13 MB / 442.7 MB Notification: Performance of Templates: time 0.02611/0.4563, allocations: 21.15 MB / 0.5045 GB, free: 8.516 MB / 442.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.9719849629327655]