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.001509/0.001509, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001642/0.001642, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8982/0.8982, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.1926/0.1926, allocations: 36.35 MB / 276.2 MB, free: 14.38 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.803e-06/1.803e-06, allocations: 0 / 355 MB, free: 62.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.61e-05, allocations: 4.438 kB / 355 MB, free: 62.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.1257/0.1257, allocations: 150.6 MB / 0.4938 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.128, allocations: 1.854 MB / 0.4956 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1283, allocations: 15.88 kB / 0.4956 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.1289, allocations: 270 kB / 0.4959 GB, free: 13.55 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.0009278/0.1298, allocations: 0.8356 MB / 0.4967 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.1315, allocations: 1.021 MB / 0.4977 GB, free: 11.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1328, allocations: 1.909 MB / 0.4996 GB, free: 9.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.1334, allocations: 0.6037 MB / 0.5002 GB, free: 9.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.1343, allocations: 1.056 MB / 0.5012 GB, free: 8.094 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.1349, allocations: 0.7599 MB / 0.5019 GB, free: 7.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.135, allocations: 84 kB / 0.502 GB, free: 7.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.136, allocations: 0.5336 MB / 0.5025 GB, free: 6.715 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.1364, allocations: 0.8376 MB / 0.5034 GB, free: 5.875 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.1369, allocations: 0.5921 MB / 0.5039 GB, free: 5.281 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.1386, allocations: 1.838 MB / 0.5057 GB, free: 3.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1386, allocations: 0 / 0.5057 GB, free: 3.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1386, allocations: 0 / 0.5057 GB, free: 3.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.1386, allocations: 0 / 0.5057 GB, free: 3.438 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.00219/0.1408, allocations: 2.472 MB / 0.5081 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1409, allocations: 12.03 kB / 0.5082 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/0.1415, allocations: 419 kB / 0.5086 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1841/0.3255, allocations: 0.983 MB / 0.5095 GB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.3256, allocations: 120.3 kB / 0.5096 GB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3258, allocations: 99.84 kB / 0.5097 GB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.3268, allocations: 1.484 MB / 0.5112 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3268, allocations: 0 / 0.5112 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.3269, allocations: 46.12 kB / 0.5112 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.3269, allocations: 33.67 kB / 0.5112 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.3273, allocations: 326.3 kB / 0.5116 GB, free: 15.32 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.003606/0.3309, allocations: 4.159 MB / 0.5156 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.3312, allocations: 228.7 kB / 0.5158 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.3313, allocations: 82.7 kB / 0.5159 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3313, allocations: 6.625 kB / 0.5159 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3313, allocations: 54.66 kB / 0.516 GB, free: 12.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 1.784e-06/0.3313, allocations: 0.6562 kB / 0.516 GB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.001083/0.3324, allocations: 0.7839 MB / 0.5167 GB, free: 12.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3324, allocations: 87.06 kB / 0.5168 GB, free: 12.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.3337, allocations: 1.942 MB / 0.5187 GB, free: 12.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3337, allocations: 36.11 kB / 0.5188 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.3341, allocations: 1.109 MB / 0.5198 GB, free: 11.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.3342, allocations: 152.3 kB / 0.52 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3343, allocations: 139 kB / 0.5201 GB, free: 11.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.3344, allocations: 0.504 MB / 0.5206 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.3345, allocations: 66.16 kB / 0.5207 GB, free: 11.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3346, allocations: 338.2 kB / 0.521 GB, free: 10.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.3349, allocations: 450.3 kB / 0.5214 GB, free: 10.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3349, allocations: 0 / 0.5214 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005252/0.3354, allocations: 0.5811 MB / 0.522 GB, free: 10.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3354, allocations: 8.938 kB / 0.522 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3355, allocations: 6.656 kB / 0.522 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3355, allocations: 13.27 kB / 0.522 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.336, allocations: 215.4 kB / 0.5222 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003014/0.3363, allocations: 1.807 MB / 0.524 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.3366, allocations: 26.67 kB / 0.524 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.3367, allocations: 26.59 kB / 0.524 GB, free: 8.582 MB / 426.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.0001968/0.3368, allocations: 204.9 kB / 0.5242 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.337, allocations: 203 kB / 0.5244 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.3373, allocations: 352.9 kB / 0.5248 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3373, allocations: 7.062 kB / 0.5248 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3373, allocations: 0 / 0.5248 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3374, allocations: 4.016 kB / 0.5248 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3385, allocations: 1.294 MB / 0.526 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3385, allocations: 0 / 0.526 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.3389, allocations: 134.8 kB / 0.5262 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3389, allocations: 0 / 0.5262 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3389, allocations: 8.281 kB / 0.5262 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000228/0.3391, allocations: 1.798 MB / 0.5279 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3391, allocations: 3.656 kB / 0.5279 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.3396, allocations: 0.6219 MB / 0.5285 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3398, allocations: 234.3 kB / 0.5288 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.3399, allocations: 11.91 kB / 0.5288 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.3402, allocations: 35.34 kB / 0.5288 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3402, allocations: 26.22 kB / 0.5288 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.3403, allocations: 25.34 kB / 0.5289 GB, free: 5.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007136/0.341, allocations: 1.089 MB / 0.5299 GB, free: 5.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.341, allocations: 0 / 0.5299 GB, free: 5.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006897/0.3417, allocations: 320.2 kB / 0.5302 GB, free: 5.395 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.001033/0.3427, allocations: 0.5088 MB / 0.5307 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.3432, allocations: 278.2 kB / 0.531 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3432, allocations: 7.172 kB / 0.531 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3433, allocations: 125.8 kB / 0.5311 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.3442, allocations: 324.8 kB / 0.5314 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.3477, allocations: 2.925 MB / 0.5343 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.348, allocations: 400.2 kB / 0.5347 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.3485, allocations: 183.4 kB / 0.5348 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008465/0.3493, allocations: 486.1 kB / 0.5353 GB, free: 3.648 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3493, allocations: 1.656 kB / 0.5353 GB, free: 3.648 MB / 426.7 MB Notification: Performance of Templates: time 0.0277/0.377, allocations: 21.62 MB / 0.5564 GB, free: 15.47 MB / 442.7 MB " [Timeout remaining time 659] 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.897450867574662]