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.0009188/0.0009188, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009211/0.0009211, allocations: 161 kB / 24.56 MB, free: 8 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.9349/0.9349, allocations: 158.6 MB / 186.4 MB, free: 2.902 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.1803/0.1803, allocations: 36.35 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.052e-06/1.052e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.125e-05, allocations: 6.312 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2667/0.2667, allocations: 153.5 MB / 0.4954 GB, free: 15.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.2693, allocations: 1.858 MB / 0.4972 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.2697, allocations: 14.22 kB / 0.4972 GB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.2703, allocations: 282.4 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.0009756/0.2713, allocations: 0.8344 MB / 0.4983 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.2728, allocations: 1.016 MB / 0.4993 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.2743, allocations: 1.903 MB / 0.5011 GB, free: 11.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.275, allocations: 0.6058 MB / 0.5017 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.2762, allocations: 1.056 MB / 0.5028 GB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/0.2769, allocations: 0.7599 MB / 0.5035 GB, free: 9.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2771, allocations: 84 kB / 0.5036 GB, free: 9.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.278, allocations: 0.5375 MB / 0.5041 GB, free: 8.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.2784, allocations: 0.826 MB / 0.5049 GB, free: 8.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.2789, allocations: 0.6038 MB / 0.5055 GB, free: 7.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.2805, allocations: 1.826 MB / 0.5073 GB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2805, allocations: 3.938 kB / 0.5073 GB, free: 5.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2805, allocations: 0 / 0.5073 GB, free: 5.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.2805, allocations: 0 / 0.5073 GB, free: 5.574 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.002493/0.283, allocations: 2.488 MB / 0.5097 GB, free: 3.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2831, allocations: 12.03 kB / 0.5097 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007217/0.2838, allocations: 432.2 kB / 0.5102 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2848, allocations: 1.063 MB / 0.5112 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.2849, allocations: 121.3 kB / 0.5113 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.285, allocations: 96 kB / 0.5114 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.2862, allocations: 1.552 MB / 0.5129 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2863, allocations: 4 kB / 0.5129 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.2863, allocations: 40 kB / 0.513 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.2864, allocations: 37.94 kB / 0.513 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.2869, allocations: 399.4 kB / 0.5134 GB, free: 14.98 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.004063/0.291, allocations: 4.577 MB / 0.5178 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.2914, allocations: 243.9 kB / 0.5181 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2915, allocations: 87.92 kB / 0.5182 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.2915, allocations: 12.59 kB / 0.5182 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2916, allocations: 57.31 kB / 0.5182 GB, free: 9.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.264e-06/0.2916, allocations: 0 / 0.5182 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001548/0.2931, allocations: 1.42 MB / 0.5196 GB, free: 8.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.2931, allocations: 89.05 kB / 0.5197 GB, free: 8.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.2949, allocations: 2.047 MB / 0.5217 GB, free: 6.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.2949, allocations: 37.7 kB / 0.5217 GB, free: 6.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.2956, allocations: 1.111 MB / 0.5228 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.2957, allocations: 142.8 kB / 0.523 GB, free: 4.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2958, allocations: 135.9 kB / 0.5231 GB, free: 4.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2959, allocations: 0.5005 MB / 0.5236 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2961, allocations: 85.25 kB / 0.5237 GB, free: 4.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.2963, allocations: 354.5 kB / 0.524 GB, free: 3.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.2967, allocations: 479.1 kB / 0.5244 GB, free: 3.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2967, allocations: 0 / 0.5244 GB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006989/0.2974, allocations: 0.6288 MB / 0.5251 GB, free: 2.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2975, allocations: 8 kB / 0.5251 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2975, allocations: 4 kB / 0.5251 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2975, allocations: 15.94 kB / 0.5251 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.2981, allocations: 216.2 kB / 0.5253 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.2986, allocations: 1.798 MB / 0.527 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.2989, allocations: 39.88 kB / 0.5271 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.299, allocations: 33.47 kB / 0.5271 GB, free: 308 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.0002171/0.2992, allocations: 200.3 kB / 0.5273 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.2994, allocations: 202.8 kB / 0.5275 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.2998, allocations: 382.7 kB / 0.5279 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.2998, allocations: 4 kB / 0.5279 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2998, allocations: 0 / 0.5279 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2998, allocations: 7.922 kB / 0.5279 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3014, allocations: 1.671 MB / 0.5295 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3014, allocations: 0 / 0.5295 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.3017, allocations: 131.8 kB / 0.5296 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3017, allocations: 12 kB / 0.5296 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3018, allocations: 8 kB / 0.5297 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004705/0.3022, allocations: 1.794 MB / 0.5314 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3022, allocations: 3.938 kB / 0.5314 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.3028, allocations: 0.6435 MB / 0.532 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.3031, allocations: 274.7 kB / 0.5323 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.3032, allocations: 19.92 kB / 0.5323 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.3035, allocations: 36.09 kB / 0.5324 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.3036, allocations: 23.95 kB / 0.5324 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.3036, allocations: 28.08 kB / 0.5324 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.3047, allocations: 1.211 MB / 0.5336 GB, free: 9.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3047, allocations: 0 / 0.5336 GB, free: 9.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005864/0.3052, allocations: 315.8 kB / 0.5339 GB, free: 9.191 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.001023/0.3063, allocations: 0.5054 MB / 0.5344 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.3067, allocations: 323.8 kB / 0.5347 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3067, allocations: 0.5 kB / 0.5347 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3069, allocations: 135.8 kB / 0.5348 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.3077, allocations: 331.4 kB / 0.5351 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.311, allocations: 2.94 MB / 0.538 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3112, allocations: 403.1 kB / 0.5384 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.3116, allocations: 229.1 kB / 0.5386 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.3118, allocations: 92.48 kB / 0.5387 GB, free: 4.199 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3118, allocations: 3.938 kB / 0.5387 GB, free: 4.195 MB / 410.7 MB Notification: Performance of Templates: time 0.02389/0.3357, allocations: 21.18 MB / 0.5594 GB, free: 14.93 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.72137951804325]