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.001413/0.001413, allocations: 75.73 kB / 21.24 MB, free: 0.5469 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.001466/0.001466, allocations: 161.2 kB / 24.5 MB, free: 3.719 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.337/1.337, allocations: 158.6 MB / 186.2 MB, free: 6.238 MB / 174.1 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.2856/0.2856, allocations: 36.35 MB / 274.8 MB, free: 14.67 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 83.89 kB / 415.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3356, allocations: 62.38 MB / 477.6 MB, free: 43.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.1971/0.5326, allocations: 161.4 MB / 0.6241 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.5366, allocations: 1.878 MB / 0.6259 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.5371, allocations: 19.88 kB / 0.6259 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.5381, allocations: 357.6 kB / 0.6263 GB, free: 8.668 MB / 0.5294 GB [/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.001623/0.5397, allocations: 0.8089 MB / 0.6271 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.5426, allocations: 1.069 MB / 0.6281 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.5453, allocations: 1.902 MB / 0.63 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.5462, allocations: 0.5707 MB / 0.6305 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5477, allocations: 0.8487 MB / 0.6314 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5489, allocations: 0.8137 MB / 0.6322 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.549, allocations: 92 kB / 0.6322 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.5505, allocations: 0.6077 MB / 0.6328 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000788/0.5513, allocations: 0.8063 MB / 0.6336 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000945/0.5523, allocations: 0.7575 MB / 0.6344 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.5555, allocations: 2.451 MB / 0.6368 GB, free: 13.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5555, allocations: 0 / 0.6368 GB, free: 13.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5555, allocations: 0 / 0.6368 GB, free: 13.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.106e-05/0.5555, allocations: 4 kB / 0.6368 GB, free: 13.92 MB / 0.545 GB 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.004243/0.5598, allocations: 2.37 MB / 0.6391 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5598, allocations: 8.031 kB / 0.6391 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5608, allocations: 318.4 kB / 0.6394 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.5632, allocations: 1.32 MB / 0.6407 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.5634, allocations: 125.4 kB / 0.6408 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5635, allocations: 84 kB / 0.6409 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.5658, allocations: 1.848 MB / 0.6427 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5659, allocations: 7.938 kB / 0.6427 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.566, allocations: 40 kB / 0.6427 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.566, allocations: 34 kB / 0.6428 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.5674, allocations: 0.8196 MB / 0.6436 GB, free: 6.613 MB / 0.545 GB 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.007362/0.5748, allocations: 4.05 MB / 0.6475 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.5754, allocations: 291.4 kB / 0.6478 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.5757, allocations: 134.1 kB / 0.6479 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.5757, allocations: 11.86 kB / 0.6479 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.5758, allocations: 46.56 kB / 0.648 GB, free: 1.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.5758, allocations: 0 / 0.648 GB, free: 1.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002738/0.5785, allocations: 1.592 MB / 0.6495 GB, free: 332 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.5786, allocations: 81.11 kB / 0.6496 GB, free: 232 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.5824, allocations: 2.979 MB / 0.6525 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.5825, allocations: 37.7 kB / 0.6525 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/0.5834, allocations: 0.9808 MB / 0.6535 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.5836, allocations: 158.6 kB / 0.6537 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.5838, allocations: 142.3 kB / 0.6538 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.584, allocations: 330 kB / 0.6541 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.5844, allocations: 205.2 kB / 0.6543 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.5849, allocations: 395.3 kB / 0.6547 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.5858, allocations: 0.569 MB / 0.6552 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5858, allocations: 0 / 0.6552 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001465/0.5872, allocations: 0.82 MB / 0.656 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.5873, allocations: 11.94 kB / 0.656 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5873, allocations: 4.781 kB / 0.6561 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5873, allocations: 12 kB / 0.6561 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.5884, allocations: 221.8 kB / 0.6563 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/0.5893, allocations: 1.211 MB / 0.6575 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.5899, allocations: 31.97 kB / 0.6575 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.59, allocations: 32 kB / 0.6575 GB, free: 7.832 MB / 0.5606 GB 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.0008742/0.5909, allocations: 0.5913 MB / 0.6581 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.5912, allocations: 194.7 kB / 0.6583 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.5921, allocations: 0.4996 MB / 0.6588 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5921, allocations: 4 kB / 0.6588 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5921, allocations: 3.938 kB / 0.6588 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5921, allocations: 7.938 kB / 0.6588 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.595, allocations: 1.545 MB / 0.6603 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.595, allocations: 3.938 kB / 0.6603 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.5957, allocations: 131.9 kB / 0.6604 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.5958, allocations: 4 kB / 0.6604 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.5958, allocations: 12 kB / 0.6604 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007894/0.5966, allocations: 1.195 MB / 0.6616 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5966, allocations: 0 / 0.6616 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5977, allocations: 0.7315 MB / 0.6623 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.5984, allocations: 302.6 kB / 0.6626 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.5986, allocations: 12 kB / 0.6626 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.5992, allocations: 31.97 kB / 0.6627 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.5993, allocations: 31.88 kB / 0.6627 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.5994, allocations: 23.98 kB / 0.6627 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002829/0.6022, allocations: 2.101 MB / 0.6648 GB, free: 276 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6022, allocations: 0 / 0.6648 GB, free: 276 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001026/0.6032, allocations: 323.8 kB / 0.6651 GB, free: 15.95 MB / 0.5762 GB 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.001995/0.6052, allocations: 0.5865 MB / 0.6656 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.6062, allocations: 439.6 kB / 0.6661 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6062, allocations: 0.5 kB / 0.6661 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.6066, allocations: 160.4 kB / 0.6662 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.6081, allocations: 304 kB / 0.6665 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.6137, allocations: 3.656 MB / 0.6701 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.6148, allocations: 0.8892 MB / 0.6709 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008598/0.6157, allocations: 313.1 kB / 0.6712 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.6159, allocations: 92.48 kB / 0.6713 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.6159, allocations: 0 / 0.6713 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.03776/0.6537, allocations: 19.94 MB / 0.6908 GB, free: 5.539 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912335166009143] Failed to read output from testmodel.py, exit status != 0: 0.6629646449582651 0.861129174 0.302856038 Calling exit ...