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.001965/0.001965, allocations: 77.78 kB / 21.27 MB, free: 0.5352 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.001552/0.001552, allocations: 165.9 kB / 24.54 MB, free: 3.832 MB / 14.72 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.926/1.926, allocations: 177.2 MB / 204.9 MB, free: 9.324 MB / 190.1 MB " [Timeout remaining time 178] 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.1708/0.1708, allocations: 19.71 MB / 281 MB, free: 13.09 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.003549/0.003549, allocations: 75.83 kB / 417.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4244, allocations: 60.45 MB / 478.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2587/0.6831, allocations: 158.7 MB / 0.6218 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005179/0.6883, allocations: 2.104 MB / 0.6239 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.6888, allocations: 19.88 kB / 0.6239 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6901, allocations: 361.6 kB / 0.6242 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.6922, allocations: 0.8712 MB / 0.6251 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.6956, allocations: 1.122 MB / 0.6262 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.6982, allocations: 1.879 MB / 0.628 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000938/0.6991, allocations: 0.5789 MB / 0.6286 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.701, allocations: 1.105 MB / 0.6297 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.7022, allocations: 0.8253 MB / 0.6305 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.7024, allocations: 84 kB / 0.6305 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.7041, allocations: 0.6351 MB / 0.6312 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009017/0.705, allocations: 0.8102 MB / 0.632 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.7061, allocations: 0.7536 MB / 0.6327 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.7098, allocations: 2.494 MB / 0.6351 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7098, allocations: 3.938 kB / 0.6351 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7098, allocations: 0 / 0.6351 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.957e-05/0.7098, allocations: 0 / 0.6351 GB, free: 5.395 MB / 0.5294 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.00466/0.7145, allocations: 2.393 MB / 0.6375 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7145, allocations: 8.031 kB / 0.6375 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.7157, allocations: 318.4 kB / 0.6378 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.7183, allocations: 1.336 MB / 0.6391 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.7185, allocations: 117.4 kB / 0.6392 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.7187, allocations: 91.89 kB / 0.6393 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3085/1.027, allocations: 1.841 MB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/1.027, allocations: 3.781 kB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/1.027, allocations: 43.56 kB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.617e-05/1.027, allocations: 34.84 kB / 0.6412 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/1.041, allocations: 0.8255 MB / 0.642 GB, free: 169.5 MB / 0.5294 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.01656/1.058, allocations: 4.058 MB / 0.6459 GB, free: 167 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/1.059, allocations: 295.8 kB / 0.6462 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/1.059, allocations: 129.4 kB / 0.6463 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/1.059, allocations: 9.156 kB / 0.6463 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.059, allocations: 45.34 kB / 0.6464 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.745e-06/1.059, allocations: 0 / 0.6464 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.002935/1.062, allocations: 1.617 MB / 0.648 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/1.062, allocations: 85.36 kB / 0.648 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/1.066, allocations: 3.007 MB / 0.651 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/1.066, allocations: 37.45 kB / 0.651 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/1.067, allocations: 0.9868 MB / 0.652 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.067, allocations: 150.9 kB / 0.6521 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.067, allocations: 133.4 kB / 0.6523 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.067, allocations: 330.5 kB / 0.6526 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/1.068, allocations: 207.8 kB / 0.6528 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/1.068, allocations: 400.9 kB / 0.6531 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/1.069, allocations: 0.5703 MB / 0.6537 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.069, allocations: 1.062 kB / 0.6537 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0134/1.082, allocations: 0.8271 MB / 0.6545 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.082, allocations: 8 kB / 0.6545 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.082, allocations: 8 kB / 0.6545 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.082, allocations: 8 kB / 0.6545 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.084, allocations: 214.6 kB / 0.6547 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004862/1.084, allocations: 1.214 MB / 0.6559 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/1.085, allocations: 38.64 kB / 0.656 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/1.085, allocations: 28 kB / 0.656 GB, free: 159.5 MB / 0.5294 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.0009021/1.086, allocations: 0.5899 MB / 0.6566 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/1.086, allocations: 198.5 kB / 0.6568 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/1.087, allocations: 0.5043 MB / 0.6572 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.087, allocations: 4 kB / 0.6573 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.087, allocations: 0 / 0.6573 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.087, allocations: 7.922 kB / 0.6573 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/1.094, allocations: 1.556 MB / 0.6588 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.094, allocations: 4 kB / 0.6588 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/1.095, allocations: 139.5 kB / 0.6589 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.095, allocations: 4 kB / 0.6589 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/1.095, allocations: 7.938 kB / 0.6589 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/1.095, allocations: 1.199 MB / 0.6601 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.095, allocations: 3.938 kB / 0.6601 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/1.096, allocations: 0.7375 MB / 0.6608 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/1.097, allocations: 298.7 kB / 0.6611 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.097, allocations: 8 kB / 0.6611 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/1.098, allocations: 35.91 kB / 0.6611 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/1.098, allocations: 31.94 kB / 0.6612 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/1.098, allocations: 23.92 kB / 0.6612 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002573/1.101, allocations: 2.129 MB / 0.6633 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.101, allocations: 0 / 0.6633 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001139/1.102, allocations: 329.3 kB / 0.6636 GB, free: 151.6 MB / 0.5294 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.002067/1.104, allocations: 0.577 MB / 0.6642 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.105, allocations: 445.5 kB / 0.6646 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.105, allocations: 4.5 kB / 0.6646 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/1.106, allocations: 155.8 kB / 0.6647 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.107, allocations: 315 kB / 0.665 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/1.124, allocations: 3.688 MB / 0.6686 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.125, allocations: 0.89 MB / 0.6695 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000975/1.126, allocations: 289.2 kB / 0.6698 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/1.126, allocations: 88.5 kB / 0.6699 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/1.126, allocations: 0 / 0.6699 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.05969/1.186, allocations: 20.01 MB / 0.6894 GB, free: 125.6 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.504873063997366] Failed to read output from testmodel.py, exit status != 0: 1.1984461239771917 1.207432274 0.494691104 Calling exit ...