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.001572/0.001572, allocations: 75.59 kB / 21.28 MB, free: 384 kB / 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.001415/0.001415, allocations: 163.5 kB / 24.53 MB, free: 3.59 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.387/1.387, allocations: 177.2 MB / 204.9 MB, free: 9.23 MB / 190.1 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.1437/0.1437, allocations: 19.7 MB / 281 MB, free: 13.02 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.0021/0.0021, allocations: 71.88 kB / 417.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2793, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.202/0.4813, allocations: 158.7 MB / 0.6218 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.4855, allocations: 2.092 MB / 0.6239 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.4861, allocations: 19.88 kB / 0.6239 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.4872, allocations: 361.6 kB / 0.6242 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.489, allocations: 0.8712 MB / 0.6251 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.4919, allocations: 1.134 MB / 0.6262 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.4945, allocations: 1.875 MB / 0.628 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009598/0.4955, allocations: 0.575 MB / 0.6286 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.4972, allocations: 1.113 MB / 0.6297 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.4983, allocations: 0.8176 MB / 0.6305 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4984, allocations: 88 kB / 0.6305 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.5, allocations: 0.6351 MB / 0.6312 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.5007, allocations: 0.8063 MB / 0.632 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000873/0.5016, allocations: 0.7536 MB / 0.6327 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.5045, allocations: 2.49 MB / 0.6351 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5045, allocations: 3.938 kB / 0.6351 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5045, allocations: 0 / 0.6351 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.5045, allocations: 0 / 0.6351 GB, free: 5.352 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.003855/0.5084, allocations: 2.393 MB / 0.6375 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5084, allocations: 12.02 kB / 0.6375 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.5093, allocations: 318.3 kB / 0.6378 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.5115, allocations: 1.336 MB / 0.6391 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.5116, allocations: 121.3 kB / 0.6392 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.5118, allocations: 91.95 kB / 0.6393 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2109/0.7226, allocations: 1.839 MB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.7227, allocations: 2.531 kB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.7228, allocations: 46.44 kB / 0.6411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.7228, allocations: 35.08 kB / 0.6412 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.7243, allocations: 0.8217 MB / 0.642 GB, free: 169.4 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.00604/0.7304, allocations: 4.058 MB / 0.6459 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.7309, allocations: 292.8 kB / 0.6462 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.7311, allocations: 132.9 kB / 0.6463 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.7312, allocations: 13.47 kB / 0.6463 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.7312, allocations: 46.05 kB / 0.6464 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/0.7312, allocations: 0 / 0.6464 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.002101/0.7333, allocations: 1.611 MB / 0.648 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.7333, allocations: 89.97 kB / 0.648 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.7361, allocations: 3 MB / 0.651 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.7362, allocations: 37.67 kB / 0.651 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.7367, allocations: 0.9954 MB / 0.652 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.7367, allocations: 150.2 kB / 0.6521 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7369, allocations: 131.2 kB / 0.6523 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.7369, allocations: 329.7 kB / 0.6526 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.7372, allocations: 202.8 kB / 0.6528 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.7376, allocations: 403.8 kB / 0.6531 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.7382, allocations: 0.5711 MB / 0.6537 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7382, allocations: 1 kB / 0.6537 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009722/0.7392, allocations: 0.8344 MB / 0.6545 GB, free: 161 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7392, allocations: 4 kB / 0.6545 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7392, allocations: 8 kB / 0.6545 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7392, allocations: 8 kB / 0.6545 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/0.7402, allocations: 218.5 kB / 0.6547 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003863/0.7406, allocations: 1.207 MB / 0.6559 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.7412, allocations: 31.98 kB / 0.656 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.7412, allocations: 28 kB / 0.656 GB, free: 159.4 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.0005261/0.7417, allocations: 0.5963 MB / 0.6566 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.7419, allocations: 198.7 kB / 0.6568 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.7426, allocations: 0.5043 MB / 0.6572 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7426, allocations: 4 kB / 0.6572 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7426, allocations: 3.984 kB / 0.6573 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7426, allocations: 4.875 kB / 0.6573 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.7445, allocations: 1.559 MB / 0.6588 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7445, allocations: 0 / 0.6588 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.7452, allocations: 131.9 kB / 0.6589 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.7452, allocations: 4 kB / 0.6589 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.7452, allocations: 19.92 kB / 0.6589 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.7456, allocations: 1.195 MB / 0.6601 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7456, allocations: 7.875 kB / 0.6601 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.7463, allocations: 0.7376 MB / 0.6608 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.7468, allocations: 294.7 kB / 0.6611 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.7469, allocations: 12 kB / 0.6611 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.7476, allocations: 31.91 kB / 0.6611 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.7476, allocations: 31.89 kB / 0.6612 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.7477, allocations: 31.53 kB / 0.6612 GB, free: 154 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001844/0.7495, allocations: 2.122 MB / 0.6633 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7495, allocations: 0 / 0.6633 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007896/0.7503, allocations: 327.5 kB / 0.6636 GB, free: 151.5 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.001704/0.752, allocations: 0.5721 MB / 0.6642 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007343/0.7527, allocations: 452.1 kB / 0.6646 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7527, allocations: 0.5 kB / 0.6646 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.753, allocations: 163.7 kB / 0.6647 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7543, allocations: 314.5 kB / 0.665 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.7581, allocations: 3.762 MB / 0.6687 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.7588, allocations: 0.8823 MB / 0.6696 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.759, allocations: 100.5 kB / 0.6697 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.759, allocations: 0 / 0.6697 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03119/0.7902, allocations: 35.11 MB / 0.704 GB, free: 110.4 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.340581805212423] Failed to read output from testmodel.py, exit status != 0: 0.7980393609032035 0.8065376009999999 0.29975981199999996 Calling exit ...