Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.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.0008987/0.0008987, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005522/0.005522, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 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 0.8749/0.8749, allocations: 177.1 MB / 205 MB, free: 5.73 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.08743/0.08743, allocations: 19.74 MB / 281.2 MB, free: 9.465 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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 417.8 MB, free: 7.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.938e-05, allocations: 2.281 kB / 417.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1405/0.1406, allocations: 146.8 MB / 0.5513 GB, free: 15.38 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1436, allocations: 3.364 MB / 0.5546 GB, free: 12 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.1438, allocations: 11.88 kB / 0.5546 GB, free: 11.99 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1445, allocations: 262.2 kB / 0.5549 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000671/0.1451, allocations: 0.5516 MB / 0.5554 GB, free: 11.18 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.1474, allocations: 1.555 MB / 0.5569 GB, free: 9.629 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.1485, allocations: 1.278 MB / 0.5582 GB, free: 8.344 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.1488, allocations: 329.9 kB / 0.5585 GB, free: 8.02 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.1494, allocations: 0.6584 MB / 0.5591 GB, free: 7.359 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.1497, allocations: 426.9 kB / 0.5595 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1498, allocations: 56 kB / 0.5596 GB, free: 6.887 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.151, allocations: 1.196 MB / 0.5608 GB, free: 5.688 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.1513, allocations: 387 kB / 0.5611 GB, free: 5.309 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1515, allocations: 319.2 kB / 0.5614 GB, free: 4.996 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.153, allocations: 1.788 MB / 0.5632 GB, free: 3.203 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.153, allocations: 0 / 0.5632 GB, free: 3.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.153, allocations: 4 kB / 0.5632 GB, free: 3.199 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.153, allocations: 0 / 0.5632 GB, free: 3.199 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001259/0.1543, allocations: 1.235 MB / 0.5644 GB, free: 1.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1543, allocations: 8.031 kB / 0.5644 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.1547, allocations: 167.3 kB / 0.5646 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.1556, allocations: 0.5897 MB / 0.5651 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1557, allocations: 37 kB / 0.5652 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.1557, allocations: 48 kB / 0.5652 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.1565, allocations: 1.037 MB / 0.5662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1565, allocations: 0 / 0.5662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.1566, allocations: 27.94 kB / 0.5663 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1566, allocations: 16 kB / 0.5663 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.157, allocations: 463.7 kB / 0.5667 GB, free: 15.4 MB / 490.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.002203/0.1592, allocations: 1.624 MB / 0.5683 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1594, allocations: 130.5 kB / 0.5684 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.1595, allocations: 52.97 kB / 0.5685 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.1597, allocations: 47.97 kB / 0.5685 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1597, allocations: 38.55 kB / 0.5686 GB, free: 13.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1597, allocations: 0 / 0.5686 GB, free: 13.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003873/0.1601, allocations: 249 kB / 0.5688 GB, free: 13.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1601, allocations: 51.41 kB / 0.5688 GB, free: 13.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.161, allocations: 1.122 MB / 0.5699 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.161, allocations: 33.7 kB / 0.57 GB, free: 11.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.1613, allocations: 483.5 kB / 0.5704 GB, free: 11.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1613, allocations: 55.53 kB / 0.5705 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.1614, allocations: 82.02 kB / 0.5706 GB, free: 11.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.1615, allocations: 325.9 kB / 0.5709 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1616, allocations: 130.7 kB / 0.571 GB, free: 10.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1618, allocations: 254 kB / 0.5712 GB, free: 10.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1621, allocations: 332.8 kB / 0.5716 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1621, allocations: 0 / 0.5716 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007533/0.1629, allocations: 463.8 kB / 0.572 GB, free: 9.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1629, allocations: 8 kB / 0.572 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1629, allocations: 4 kB / 0.572 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1629, allocations: 4 kB / 0.572 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1632, allocations: 107.8 kB / 0.5721 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002827/0.1634, allocations: 0.6099 MB / 0.5727 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1636, allocations: 55.66 kB / 0.5728 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.1636, allocations: 20 kB / 0.5728 GB, free: 8.922 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.1639, allocations: 296.2 kB / 0.5731 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.164, allocations: 79.53 kB / 0.5731 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1643, allocations: 228.1 kB / 0.5734 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1643, allocations: 0 / 0.5734 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1643, allocations: 3.938 kB / 0.5734 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1643, allocations: 8.078 kB / 0.5734 GB, free: 8.297 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.1647, allocations: 428.9 kB / 0.5738 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1647, allocations: 4 kB / 0.5738 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1648, allocations: 43.91 kB / 0.5738 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1648, allocations: 0 / 0.5738 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1648, allocations: 8 kB / 0.5738 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002181/0.165, allocations: 0.5977 MB / 0.5744 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.165, allocations: 0 / 0.5744 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1653, allocations: 370.9 kB / 0.5748 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.1654, allocations: 87.66 kB / 0.5749 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1654, allocations: 12 kB / 0.5749 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1656, allocations: 11.98 kB / 0.5749 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.1656, allocations: 11.98 kB / 0.5749 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1657, allocations: 15.97 kB / 0.5749 GB, free: 6.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005823/0.1662, allocations: 0.7879 MB / 0.5757 GB, free: 5.871 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1662, allocations: 0 / 0.5757 GB, free: 5.871 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004459/0.1667, allocations: 247.3 kB / 0.5759 GB, free: 5.629 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009867/0.1677, allocations: 0.5646 MB / 0.5765 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.168, allocations: 227.7 kB / 0.5767 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.168, allocations: 0 / 0.5767 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.1681, allocations: 67.91 kB / 0.5767 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1686, allocations: 168.1 kB / 0.5769 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1701, allocations: 1.482 MB / 0.5783 GB, free: 3.238 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1703, allocations: 393.1 kB / 0.5787 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.1704, allocations: 56.5 kB / 0.5788 GB, free: 2.773 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1704, allocations: 0 / 0.5788 GB, free: 2.773 MB / 490.7 MB Notification: Performance of Templates: time 0.01256/0.183, allocations: 15.21 MB / 0.5936 GB, free: 3.574 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.194995265454054] Failed to read output from testmodel.py, exit status != 0: 0.18889439851045609 0.368817286 0.21393394000000002 Calling exit ...