Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001128/0.001128, 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.001352/0.001352, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09473/0.09473, allocations: 19.74 MB / 281.2 MB, free: 9.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.649e-05, allocations: 6.25 kB / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2842/0.2842, allocations: 154.3 MB / 0.5002 GB, free: 4.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.287, allocations: 2.089 MB / 0.5023 GB, free: 2.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2873, allocations: 15.88 kB / 0.5023 GB, free: 2.422 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.288, allocations: 281.9 kB / 0.5025 GB, free: 2.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2894, allocations: 0.894 MB / 0.5034 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.2912, allocations: 1.048 MB / 0.5044 GB, free: 200 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.2928, allocations: 1.941 MB / 0.5063 GB, free: 14.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.2937, allocations: 0.6348 MB / 0.507 GB, free: 13.6 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.295, allocations: 1.079 MB / 0.508 GB, free: 12.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008361/0.2958, allocations: 0.756 MB / 0.5088 GB, free: 11.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.2959, allocations: 88 kB / 0.5088 GB, free: 11.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.2968, allocations: 0.5608 MB / 0.5094 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.2973, allocations: 0.8298 MB / 0.5102 GB, free: 10.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007499/0.2981, allocations: 0.5999 MB / 0.5108 GB, free: 9.676 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2995, allocations: 1.853 MB / 0.5126 GB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2996, allocations: 0 / 0.5126 GB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2996, allocations: 3.938 kB / 0.5126 GB, free: 7.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.2996, allocations: 0 / 0.5126 GB, free: 7.812 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.002256/0.3018, allocations: 2.524 MB / 0.5151 GB, free: 5.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3019, allocations: 8.031 kB / 0.5151 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.3026, allocations: 431.1 kB / 0.5155 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3037, allocations: 1.078 MB / 0.5165 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.334e-05/0.3038, allocations: 117.4 kB / 0.5166 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3039, allocations: 100 kB / 0.5167 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.3053, allocations: 1.544 MB / 0.5182 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3053, allocations: 11.95 kB / 0.5183 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.3054, allocations: 47.94 kB / 0.5183 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.3054, allocations: 37.62 kB / 0.5183 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.306, allocations: 395.5 kB / 0.5187 GB, free: 1.172 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.004083/0.3101, allocations: 4.589 MB / 0.5232 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.3105, allocations: 243.8 kB / 0.5234 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3106, allocations: 88.23 kB / 0.5235 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3106, allocations: 11.98 kB / 0.5235 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3107, allocations: 49.39 kB / 0.5236 GB, free: 12.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.583e-06/0.3107, allocations: 4 kB / 0.5236 GB, free: 12.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001879/0.3125, allocations: 1.432 MB / 0.525 GB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3126, allocations: 81.11 kB / 0.525 GB, free: 10.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.3143, allocations: 2.076 MB / 0.5271 GB, free: 8.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3143, allocations: 41.64 kB / 0.5271 GB, free: 8.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.315, allocations: 1.116 MB / 0.5282 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.315, allocations: 150.7 kB / 0.5283 GB, free: 7.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3152, allocations: 131.9 kB / 0.5285 GB, free: 6.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3153, allocations: 0.5004 MB / 0.529 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3154, allocations: 81.38 kB / 0.529 GB, free: 6.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.3157, allocations: 355.2 kB / 0.5294 GB, free: 5.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.3161, allocations: 483.1 kB / 0.5298 GB, free: 5.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3161, allocations: 0 / 0.5298 GB, free: 5.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006644/0.3168, allocations: 0.6211 MB / 0.5304 GB, free: 4.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3168, allocations: 11.94 kB / 0.5305 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3168, allocations: 8 kB / 0.5305 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3168, allocations: 11.98 kB / 0.5305 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.3174, allocations: 216.1 kB / 0.5307 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000834/0.3182, allocations: 1.812 MB / 0.5325 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3186, allocations: 27.98 kB / 0.5325 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.3186, allocations: 32 kB / 0.5325 GB, free: 2.445 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.0002088/0.3188, allocations: 200.3 kB / 0.5327 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.319, allocations: 210.7 kB / 0.5329 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3194, allocations: 380.5 kB / 0.5333 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.3194, allocations: 8.125 kB / 0.5333 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3194, allocations: 9.062 kB / 0.5333 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3194, allocations: 0 / 0.5333 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.3211, allocations: 1.682 MB / 0.5349 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3211, allocations: 0 / 0.5349 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3215, allocations: 135.6 kB / 0.5351 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3215, allocations: 0 / 0.5351 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3216, allocations: 15.98 kB / 0.5351 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/0.3221, allocations: 1.798 MB / 0.5368 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3221, allocations: 0 / 0.5368 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3226, allocations: 0.6522 MB / 0.5375 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.323, allocations: 282.6 kB / 0.5377 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.3231, allocations: 15.94 kB / 0.5377 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.3234, allocations: 32.09 kB / 0.5378 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3234, allocations: 27.95 kB / 0.5378 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.3235, allocations: 31.91 kB / 0.5378 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.3246, allocations: 1.228 MB / 0.539 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 0.539 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.3252, allocations: 319.8 kB / 0.5393 GB, free: 11.28 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.001017/0.3262, allocations: 0.4996 MB / 0.5398 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.3267, allocations: 324.3 kB / 0.5401 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3267, allocations: 0.5 kB / 0.5401 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3268, allocations: 127.5 kB / 0.5403 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.3277, allocations: 324.2 kB / 0.5406 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.3308, allocations: 2.975 MB / 0.5435 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.331, allocations: 403.1 kB / 0.5439 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.3314, allocations: 201.2 kB / 0.544 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3316, allocations: 88.48 kB / 0.5441 GB, free: 6.398 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3316, allocations: 4 kB / 0.5441 GB, free: 6.395 MB / 426.7 MB Notification: Performance of Templates: time 0.02376/0.3553, allocations: 19.59 MB / 0.5633 GB, free: 3.008 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8885579388588667]