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.001426/0.001426, allocations: 82.42 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001593/0.001593, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.315/1.315, allocations: 158.6 MB / 185.7 MB, free: 6.414 MB / 174.1 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.2757/0.2757, allocations: 36.35 MB / 274.3 MB, free: 0.6172 MB / 254.1 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 1.413e-06/1.413e-06, allocations: 0 / 414.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.595e-05, allocations: 2.281 kB / 414.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3722/0.3722, allocations: 161.4 MB / 0.5627 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.3761, allocations: 1.881 MB / 0.5645 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.3764, allocations: 15.88 kB / 0.5645 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3774, allocations: 373.3 kB / 0.5649 GB, free: 2.371 MB / 446.1 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.001466/0.3789, allocations: 0.8279 MB / 0.5657 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.3816, allocations: 1.103 MB / 0.5668 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.3837, allocations: 1.886 MB / 0.5686 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.3844, allocations: 0.5676 MB / 0.5692 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.3859, allocations: 1.064 MB / 0.5702 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3869, allocations: 0.756 MB / 0.571 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.3871, allocations: 86.81 kB / 0.571 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.3884, allocations: 0.627 MB / 0.5717 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.3892, allocations: 0.8221 MB / 0.5725 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007704/0.39, allocations: 0.6038 MB / 0.573 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.3928, allocations: 2.446 MB / 0.5754 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3928, allocations: 0 / 0.5754 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3928, allocations: 0 / 0.5754 GB, free: 7.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.3928, allocations: 0 / 0.5754 GB, free: 7.543 MB / 462.1 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.003701/0.3965, allocations: 2.346 MB / 0.5777 GB, free: 5.152 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3965, allocations: 8.031 kB / 0.5777 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.3975, allocations: 310.4 kB / 0.578 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.3997, allocations: 1.324 MB / 0.5793 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3998, allocations: 117.4 kB / 0.5794 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4, allocations: 95.64 kB / 0.5795 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.4024, allocations: 1.843 MB / 0.5813 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.4025, allocations: 4 kB / 0.5813 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.4026, allocations: 40 kB / 0.5814 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.4026, allocations: 41.98 kB / 0.5814 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.404, allocations: 0.8196 MB / 0.5822 GB, free: 272 kB / 462.1 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.007406/0.4115, allocations: 4.039 MB / 0.5862 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.4122, allocations: 293.3 kB / 0.5864 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.4125, allocations: 138.1 kB / 0.5866 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.4125, allocations: 7.859 kB / 0.5866 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.4125, allocations: 42.56 kB / 0.5866 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.4125, allocations: 0 / 0.5866 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.002837/0.4154, allocations: 1.589 MB / 0.5882 GB, free: 9.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.4154, allocations: 85.17 kB / 0.5882 GB, free: 9.891 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.4193, allocations: 2.975 MB / 0.5911 GB, free: 6.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.4193, allocations: 41.7 kB / 0.5912 GB, free: 6.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/0.4202, allocations: 0.9731 MB / 0.5921 GB, free: 5.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.4204, allocations: 158.6 kB / 0.5923 GB, free: 5.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.4206, allocations: 126.3 kB / 0.5924 GB, free: 5.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4208, allocations: 330 kB / 0.5927 GB, free: 5.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.4212, allocations: 213.1 kB / 0.5929 GB, free: 5.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.4217, allocations: 390.1 kB / 0.5933 GB, free: 4.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.4226, allocations: 0.5727 MB / 0.5939 GB, free: 3.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4226, allocations: 4 kB / 0.5939 GB, free: 3.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001436/0.4241, allocations: 0.8322 MB / 0.5947 GB, free: 3.059 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4241, allocations: 8 kB / 0.5947 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4241, allocations: 8 kB / 0.5947 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.4241, allocations: 8 kB / 0.5947 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.4253, allocations: 219.7 kB / 0.5949 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008266/0.4262, allocations: 1.203 MB / 0.5961 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.4268, allocations: 31.94 kB / 0.5961 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.4269, allocations: 35.98 kB / 0.5961 GB, free: 1.504 MB / 478.1 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.0008205/0.4277, allocations: 0.5911 MB / 0.5967 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.428, allocations: 186.8 kB / 0.5969 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.4289, allocations: 0.4927 MB / 0.5974 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4289, allocations: 8 kB / 0.5974 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4289, allocations: 0 / 0.5974 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4289, allocations: 11.98 kB / 0.5974 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.4315, allocations: 1.545 MB / 0.5989 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4315, allocations: 6.438 kB / 0.5989 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.4324, allocations: 127.9 kB / 0.599 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.4324, allocations: 3.984 kB / 0.599 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.4324, allocations: 8 kB / 0.5991 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007849/0.4332, allocations: 1.203 MB / 0.6002 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4332, allocations: 0 / 0.6002 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4343, allocations: 0.7355 MB / 0.6009 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.4349, allocations: 298.6 kB / 0.6012 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.4351, allocations: 12 kB / 0.6012 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.4358, allocations: 35.97 kB / 0.6013 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.4359, allocations: 23.89 kB / 0.6013 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/0.436, allocations: 37 kB / 0.6013 GB, free: 12.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002906/0.4389, allocations: 2.097 MB / 0.6034 GB, free: 9.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4389, allocations: 0 / 0.6034 GB, free: 9.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009802/0.4399, allocations: 323.8 kB / 0.6037 GB, free: 9.625 MB / 494.1 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.002144/0.442, allocations: 0.5773 MB / 0.6043 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.443, allocations: 442.5 kB / 0.6047 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.443, allocations: 0.5 kB / 0.6047 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.4434, allocations: 165.7 kB / 0.6048 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.445, allocations: 314.7 kB / 0.6051 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.4504, allocations: 3.519 MB / 0.6086 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.4514, allocations: 0.893 MB / 0.6094 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007713/0.4522, allocations: 317.1 kB / 0.6097 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.4524, allocations: 88.5 kB / 0.6098 GB, free: 3.254 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4524, allocations: 0 / 0.6098 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Templates: time 0.03855/0.491, allocations: 19.83 MB / 0.6292 GB, free: 15.38 MB / 0.5137 GB " [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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.621307052671909] Failed to read output from testmodel.py, exit status != 0: 0.5005101934075356 0.514760708 0.11880207000000001 Calling exit ...