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.001031/0.001031, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001674/0.001674, allocations: 161 kB / 24.56 MB, free: 16 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 0.9703/0.9703, allocations: 158.6 MB / 186.4 MB, free: 2.883 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.1922/0.1922, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.433e-06/1.433e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.501e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.312/0.312, allocations: 153.5 MB / 0.4954 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.3151, allocations: 1.852 MB / 0.4972 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.3156, allocations: 16.03 kB / 0.4972 GB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007258/0.3163, allocations: 279.9 kB / 0.4975 GB, free: 14.25 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.001199/0.3175, allocations: 0.8345 MB / 0.4983 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.3195, allocations: 1.015 MB / 0.4993 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3213, allocations: 1.91 MB / 0.5011 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009251/0.3223, allocations: 0.61 MB / 0.5017 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.3244, allocations: 1.052 MB / 0.5028 GB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.3255, allocations: 0.7638 MB / 0.5035 GB, free: 9.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.3257, allocations: 88 kB / 0.5036 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3269, allocations: 0.5296 MB / 0.5041 GB, free: 8.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000807/0.3277, allocations: 0.8259 MB / 0.5049 GB, free: 8.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007884/0.3285, allocations: 0.5999 MB / 0.5055 GB, free: 7.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.3305, allocations: 1.834 MB / 0.5073 GB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3305, allocations: 0 / 0.5073 GB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3305, allocations: 0 / 0.5073 GB, free: 5.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.885e-05/0.3306, allocations: 0 / 0.5073 GB, free: 5.578 MB / 378.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.002993/0.3336, allocations: 2.492 MB / 0.5097 GB, free: 3.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3336, allocations: 8.031 kB / 0.5097 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008393/0.3345, allocations: 426.9 kB / 0.5101 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3358, allocations: 1.063 MB / 0.5112 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.3362, allocations: 122.5 kB / 0.5113 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3363, allocations: 100 kB / 0.5114 GB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.3375, allocations: 1.544 MB / 0.5129 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3375, allocations: 0 / 0.5129 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.3376, allocations: 44 kB / 0.5129 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.3377, allocations: 41.94 kB / 0.513 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.3383, allocations: 399.5 kB / 0.5134 GB, free: 14.99 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.004823/0.3431, allocations: 4.569 MB / 0.5178 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.3436, allocations: 251.9 kB / 0.5181 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.344, allocations: 94.33 kB / 0.5182 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3441, allocations: 8.594 kB / 0.5182 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3441, allocations: 49.38 kB / 0.5182 GB, free: 9.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.326e-06/0.3441, allocations: 4 kB / 0.5182 GB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001683/0.3458, allocations: 1.432 MB / 0.5196 GB, free: 8.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3458, allocations: 81.11 kB / 0.5197 GB, free: 8.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.3477, allocations: 2.043 MB / 0.5217 GB, free: 6.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.3477, allocations: 41.7 kB / 0.5217 GB, free: 6.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.3484, allocations: 1.107 MB / 0.5228 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.3485, allocations: 150.8 kB / 0.523 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3486, allocations: 131.9 kB / 0.5231 GB, free: 4.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3488, allocations: 0.5004 MB / 0.5236 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3489, allocations: 81.25 kB / 0.5236 GB, free: 4.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3492, allocations: 374.6 kB / 0.524 GB, free: 3.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.3497, allocations: 467.1 kB / 0.5244 GB, free: 3.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3497, allocations: 4 kB / 0.5245 GB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001022/0.3507, allocations: 0.6212 MB / 0.5251 GB, free: 2.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3507, allocations: 8 kB / 0.5251 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3507, allocations: 8 kB / 0.5251 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.3508, allocations: 11.94 kB / 0.5251 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.3514, allocations: 215.7 kB / 0.5253 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005987/0.352, allocations: 1.806 MB / 0.5271 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.3524, allocations: 39.86 kB / 0.5271 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.3524, allocations: 29.48 kB / 0.5271 GB, free: 312 kB / 394.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.0002544/0.3527, allocations: 200.4 kB / 0.5273 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.3529, allocations: 203 kB / 0.5275 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.3533, allocations: 382.7 kB / 0.5279 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3533, allocations: 8.125 kB / 0.5279 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3533, allocations: 4 kB / 0.5279 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3533, allocations: 7.734 kB / 0.5279 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.355, allocations: 1.659 MB / 0.5295 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3551, allocations: 0 / 0.5295 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.3555, allocations: 139.8 kB / 0.5296 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3555, allocations: 3.938 kB / 0.5296 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3555, allocations: 8 kB / 0.5297 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005245/0.356, allocations: 1.798 MB / 0.5314 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.356, allocations: 3.938 kB / 0.5314 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.3569, allocations: 0.6475 MB / 0.532 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.3572, allocations: 278.7 kB / 0.5323 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.3573, allocations: 15.86 kB / 0.5323 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3577, allocations: 40.09 kB / 0.5324 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3577, allocations: 23.95 kB / 0.5324 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.3578, allocations: 23.98 kB / 0.5324 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.3589, allocations: 1.215 MB / 0.5336 GB, free: 9.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3589, allocations: 0 / 0.5336 GB, free: 9.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006814/0.3596, allocations: 315.8 kB / 0.5339 GB, free: 9.188 MB / 410.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.001084/0.3606, allocations: 0.4953 MB / 0.5344 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.3612, allocations: 316.2 kB / 0.5347 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.3612, allocations: 4.5 kB / 0.5347 GB, free: 8.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3614, allocations: 135.7 kB / 0.5348 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.3623, allocations: 326.2 kB / 0.5351 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.3658, allocations: 2.945 MB / 0.538 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3661, allocations: 403 kB / 0.5384 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.3666, allocations: 233.1 kB / 0.5386 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3668, allocations: 92.48 kB / 0.5387 GB, free: 4.203 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3668, allocations: 0 / 0.5387 GB, free: 4.203 MB / 410.7 MB Notification: Performance of Templates: time 0.03093/0.3978, allocations: 19.47 MB / 0.5577 GB, free: 0.6875 MB / 426.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: 4.140671303961426]