Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.001776/0.001776, allocations: 106.1 kB / 17.14 MB, free: 6.023 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.002132/0.002132, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.409/1.409, allocations: 207.6 MB / 230.5 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.5322/0.5322, allocations: 104 MB / 386.4 MB, free: 13.91 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) [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.002077/0.002077, allocations: 72.23 kB / 0.539 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1525, allocations: 75.96 MB / 0.6132 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003336/0.1558, allocations: 2.05 MB / 0.6152 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004001/0.1562, allocations: 151.7 kB / 0.6153 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1563, allocations: 4 kB / 0.6153 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.1564, allocations: 27.73 kB / 0.6153 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1566, allocations: 35.66 kB / 0.6154 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1567, allocations: 55.94 kB / 0.6154 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.157, allocations: 183.9 kB / 0.6156 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1571, allocations: 61.22 kB / 0.6157 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.1572, allocations: 71.66 kB / 0.6157 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1573, allocations: 71.62 kB / 0.6158 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.1573, allocations: 20 kB / 0.6158 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.1574, allocations: 20 kB / 0.6158 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.1574, allocations: 39.84 kB / 0.6159 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.1575, allocations: 87.41 kB / 0.616 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1578, allocations: 211.1 kB / 0.6162 GB, free: 2.738 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1578, allocations: 0 / 0.6162 GB, free: 2.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1578, allocations: 0 / 0.6162 GB, free: 2.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1578, allocations: 0 / 0.6162 GB, free: 2.738 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007748/0.1585, allocations: 490.5 kB / 0.6166 GB, free: 2.211 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1586, allocations: 12.03 kB / 0.6166 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.1586, allocations: 46.73 kB / 0.6167 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1587, allocations: 24.8 kB / 0.6167 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.159, allocations: 244.8 kB / 0.6169 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.159, allocations: 8.375 kB / 0.617 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.159, allocations: 12.38 kB / 0.617 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1594, allocations: 168.2 kB / 0.6171 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1594, allocations: 3.984 kB / 0.6171 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1594, allocations: 8 kB / 0.6171 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1594, allocations: 7.938 kB / 0.6171 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1596, allocations: 88.7 kB / 0.6172 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.1605, allocations: 0.7343 MB / 0.6179 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1608, allocations: 106.6 kB / 0.618 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.1609, allocations: 40.84 kB / 0.6181 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1609, allocations: 8 kB / 0.6181 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1609, allocations: 34.56 kB / 0.6181 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1609, allocations: 0 / 0.6181 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003815/0.1613, allocations: 165.7 kB / 0.6183 GB, free: 364 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1614, allocations: 51.41 kB / 0.6183 GB, free: 300 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1616, allocations: 197.8 kB / 0.6185 GB, free: 88 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1616, allocations: 29.7 kB / 0.6186 GB, free: 52 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1617, allocations: 139.8 kB / 0.6187 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1617, allocations: 51.58 kB / 0.6187 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1618, allocations: 25.72 kB / 0.6188 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1619, allocations: 330.8 kB / 0.6191 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.162, allocations: 31.98 kB / 0.6191 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.1621, allocations: 61.56 kB / 0.6192 GB, free: 15.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1627, allocations: 202.3 kB / 0.6194 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1627, allocations: 0 / 0.6194 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003756/0.1631, allocations: 145.5 kB / 0.6195 GB, free: 15.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1631, allocations: 8 kB / 0.6195 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1631, allocations: 0 / 0.6195 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1631, allocations: 0 / 0.6195 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1633, allocations: 27.98 kB / 0.6195 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1633, allocations: 4 kB / 0.6195 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.1633, allocations: 11.89 kB / 0.6195 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1633, allocations: 0 / 0.6195 GB, free: 14.99 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1636, allocations: 146.4 kB / 0.6197 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1636, allocations: 19.89 kB / 0.6197 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.1637, allocations: 21.41 kB / 0.6197 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1637, allocations: 3.938 kB / 0.6197 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1637, allocations: 0 / 0.6197 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1637, allocations: 0 / 0.6197 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.164, allocations: 269.4 kB / 0.62 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.164, allocations: 0 / 0.62 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1641, allocations: 16 kB / 0.62 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1641, allocations: 0 / 0.62 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1642, allocations: 8 kB / 0.62 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1642, allocations: 7.984 kB / 0.62 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1642, allocations: 0 / 0.62 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1647, allocations: 279.3 kB / 0.6203 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1647, allocations: 93.05 kB / 0.6204 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1647, allocations: 7.922 kB / 0.6204 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.1648, allocations: 4 kB / 0.6204 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1649, allocations: 8.062 kB / 0.6204 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1649, allocations: 4 kB / 0.6204 GB, free: 14.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.165, allocations: 148.5 kB / 0.6205 GB, free: 13.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.165, allocations: 0 / 0.6205 GB, free: 13.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1653, allocations: 31.89 kB / 0.6206 GB, free: 13.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007907/0.1661, allocations: 0.81 MB / 0.6214 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1663, allocations: 95.84 kB / 0.6214 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1663, allocations: 3.938 kB / 0.6215 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.1664, allocations: 47.97 kB / 0.6215 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1667, allocations: 16 kB / 0.6215 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.1693, allocations: 2.066 MB / 0.6235 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1696, allocations: 0.724 MB / 0.6242 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.1697, allocations: 13.08 kB / 0.6243 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.1698, allocations: 47.42 kB / 0.6243 GB, free: 9.898 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1698, allocations: 0 / 0.6243 GB, free: 9.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.1987, allocations: 3.267 MB / 0.6275 GB, free: 6.691 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.176, allocations: 7.938 kB / 0.6275 GB, free: 6.684 MB / 494.1 MB " [Timeout remaining time 652] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.639665581998997] Failed to read output from testmodel.py, exit status != 0: 8.247579861999839 8.631170536 8.470008221 Calling exit ...