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.001254/0.001254, allocations: 116.1 kB / 17.15 MB, free: 5.941 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.001343/0.001343, allocations: 216 kB / 20.11 MB, free: 2.984 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.446/1.446, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.5757/0.5757, allocations: 104 MB / 386.4 MB, free: 14.04 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.002224/0.002224, allocations: 72.41 kB / 0.539 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1584, allocations: 75.96 MB / 0.6132 GB, free: 5.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003882/0.1622, allocations: 2.05 MB / 0.6152 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.1627, allocations: 151.7 kB / 0.6153 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1629, allocations: 8 kB / 0.6153 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.163, allocations: 23.73 kB / 0.6153 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1632, allocations: 31.67 kB / 0.6154 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1633, allocations: 55.94 kB / 0.6154 GB, free: 3.602 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1637, allocations: 191.8 kB / 0.6156 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1639, allocations: 65.22 kB / 0.6157 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.164, allocations: 63.67 kB / 0.6157 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1641, allocations: 75.62 kB / 0.6158 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1641, allocations: 20 kB / 0.6158 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.1642, allocations: 16 kB / 0.6158 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.1642, allocations: 43.83 kB / 0.6159 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.1643, allocations: 87.41 kB / 0.616 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1647, allocations: 207.1 kB / 0.6162 GB, free: 2.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1647, allocations: 0 / 0.6162 GB, free: 2.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1647, allocations: 0 / 0.6162 GB, free: 2.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1647, allocations: 0 / 0.6162 GB, free: 2.844 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.0009385/0.1656, allocations: 498.5 kB / 0.6166 GB, free: 2.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1657, allocations: 8.031 kB / 0.6166 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1657, allocations: 46.73 kB / 0.6167 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1658, allocations: 24.8 kB / 0.6167 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1662, allocations: 236.9 kB / 0.6169 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1662, allocations: 16.38 kB / 0.617 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1663, allocations: 12.38 kB / 0.617 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1666, allocations: 160.3 kB / 0.6171 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1666, allocations: 11.88 kB / 0.6171 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1666, allocations: 4 kB / 0.6171 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1666, allocations: 4 kB / 0.6171 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.1669, allocations: 92.7 kB / 0.6172 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1679, allocations: 0.7304 MB / 0.6179 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.1682, allocations: 114.6 kB / 0.6181 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1683, allocations: 44.78 kB / 0.6181 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1683, allocations: 4 kB / 0.6181 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1684, allocations: 34.56 kB / 0.6181 GB, free: 0.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1684, allocations: 0 / 0.6181 GB, free: 0.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004107/0.1688, allocations: 157.7 kB / 0.6183 GB, free: 476 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1688, allocations: 51.41 kB / 0.6183 GB, free: 412 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1691, allocations: 201.8 kB / 0.6185 GB, free: 196 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1691, allocations: 29.7 kB / 0.6186 GB, free: 160 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1692, allocations: 135.9 kB / 0.6187 GB, free: 20 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.1693, allocations: 51.86 kB / 0.6187 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.1693, allocations: 25.72 kB / 0.6188 GB, free: 15.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1695, allocations: 326.8 kB / 0.6191 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.1696, allocations: 43.92 kB / 0.6191 GB, free: 15.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1697, allocations: 50.56 kB / 0.6192 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.1703, allocations: 209.2 kB / 0.6194 GB, free: 15.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1703, allocations: 0 / 0.6194 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002832/0.1706, allocations: 153.5 kB / 0.6195 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1706, allocations: 4 kB / 0.6195 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1706, allocations: 0 / 0.6195 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1706, allocations: 4 kB / 0.6195 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1708, allocations: 23.98 kB / 0.6195 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1708, allocations: 4 kB / 0.6195 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.1708, allocations: 11.89 kB / 0.6196 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1709, allocations: 4 kB / 0.6196 GB, free: 15.09 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.000186/0.171, allocations: 138.4 kB / 0.6197 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1711, allocations: 19.84 kB / 0.6197 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1711, allocations: 25.38 kB / 0.6197 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1711, allocations: 0 / 0.6197 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1711, allocations: 0 / 0.6197 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1711, allocations: 0 / 0.6197 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1715, allocations: 269.4 kB / 0.62 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1715, allocations: 0 / 0.62 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1716, allocations: 16 kB / 0.62 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1716, allocations: 4 kB / 0.62 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1716, allocations: 8 kB / 0.62 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1716, allocations: 3.984 kB / 0.62 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1716, allocations: 0 / 0.62 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.172, allocations: 283.2 kB / 0.6203 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1721, allocations: 93.05 kB / 0.6204 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1721, allocations: 0 / 0.6204 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1722, allocations: 12.05 kB / 0.6204 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1723, allocations: 8 kB / 0.6204 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1723, allocations: 0 / 0.6204 GB, free: 14.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.1724, allocations: 148.5 kB / 0.6205 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1724, allocations: 0 / 0.6205 GB, free: 13.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1727, allocations: 31.95 kB / 0.6206 GB, free: 13.96 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.0007893/0.1735, allocations: 0.8104 MB / 0.6214 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1737, allocations: 95.84 kB / 0.6215 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1737, allocations: 0 / 0.6215 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.1738, allocations: 44.62 kB / 0.6215 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1742, allocations: 19.94 kB / 0.6215 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.1768, allocations: 2.067 MB / 0.6235 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1772, allocations: 0.7279 MB / 0.6242 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.1773, allocations: 13.08 kB / 0.6243 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1774, allocations: 51.42 kB / 0.6243 GB, free: 9.996 MB / 494.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1774, allocations: 0 / 0.6243 GB, free: 9.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2066, allocations: 3.266 MB / 0.6275 GB, free: 6.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.134, allocations: 7.938 kB / 0.6275 GB, free: 6.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.507478218059987] Failed to read output from testmodel.py, exit status != 0: 8.203845732845366 8.489464203 8.32235187 Calling exit ...