Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 104.8 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.451/1.451, allocations: 205.1 MB / 227.2 MB, free: 4.562 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.5423/0.5423, allocations: 101.5 MB / 378.1 MB, free: 3.465 MB / 302.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-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 73.92 kB / 0.5225 GB, free: 3.105 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 71.66 MB / 0.5925 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004428/0.1517, allocations: 2.039 MB / 0.5945 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.1524, allocations: 151.7 kB / 0.5946 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1526, allocations: 7.938 kB / 0.5946 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1527, allocations: 19.73 kB / 0.5947 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1529, allocations: 35.66 kB / 0.5947 GB, free: 9.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1531, allocations: 63.94 kB / 0.5948 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1533, allocations: 179.9 kB / 0.5949 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1536, allocations: 89.23 kB / 0.595 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.1537, allocations: 59.72 kB / 0.5951 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1538, allocations: 79.56 kB / 0.5952 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.1539, allocations: 16 kB / 0.5952 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.1539, allocations: 20 kB / 0.5952 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.154, allocations: 39.8 kB / 0.5952 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.1541, allocations: 79.53 kB / 0.5953 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1544, allocations: 215.1 kB / 0.5955 GB, free: 8.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1544, allocations: 3.938 kB / 0.5955 GB, free: 8.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1544, allocations: 3.938 kB / 0.5955 GB, free: 8.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1545, allocations: 4 kB / 0.5955 GB, free: 8.312 MB / 462.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.0009072/0.1554, allocations: 489.6 kB / 0.596 GB, free: 7.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1554, allocations: 12.03 kB / 0.596 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.1555, allocations: 50.73 kB / 0.596 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.1555, allocations: 24.8 kB / 0.5961 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1559, allocations: 244.8 kB / 0.5963 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.156, allocations: 12.38 kB / 0.5963 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.156, allocations: 12.38 kB / 0.5963 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1563, allocations: 164.2 kB / 0.5965 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1564, allocations: 4 kB / 0.5965 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1564, allocations: 4 kB / 0.5965 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1564, allocations: 4 kB / 0.5965 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1566, allocations: 96.64 kB / 0.5966 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1576, allocations: 0.7265 MB / 0.5973 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.158, allocations: 118.6 kB / 0.5974 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.1581, allocations: 44.84 kB / 0.5975 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1581, allocations: 0 / 0.5975 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1582, allocations: 38.56 kB / 0.5975 GB, free: 6.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1582, allocations: 0 / 0.5975 GB, free: 6.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003952/0.1586, allocations: 161.7 kB / 0.5976 GB, free: 5.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.1586, allocations: 55.41 kB / 0.5977 GB, free: 5.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1588, allocations: 202.2 kB / 0.5979 GB, free: 5.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1589, allocations: 25.7 kB / 0.5979 GB, free: 5.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.159, allocations: 131.9 kB / 0.598 GB, free: 5.488 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.159, allocations: 39.64 kB / 0.5981 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1591, allocations: 33.7 kB / 0.5981 GB, free: 5.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1593, allocations: 326.8 kB / 0.5984 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.1594, allocations: 35.98 kB / 0.5985 GB, free: 5.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1595, allocations: 66.48 kB / 0.5985 GB, free: 4.973 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.1601, allocations: 202.3 kB / 0.5987 GB, free: 4.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1601, allocations: 0 / 0.5987 GB, free: 4.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002859/0.1604, allocations: 147.6 kB / 0.5989 GB, free: 4.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1604, allocations: 4 kB / 0.5989 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1604, allocations: 8.062 kB / 0.5989 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1605, allocations: 0 / 0.5989 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1606, allocations: 23.98 kB / 0.5989 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1606, allocations: 3.938 kB / 0.5989 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.1607, allocations: 11.95 kB / 0.5989 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1607, allocations: 4 kB / 0.5989 GB, free: 4.562 MB / 462.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.000194/0.1609, allocations: 138.6 kB / 0.599 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.161, allocations: 15.91 kB / 0.5991 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.161, allocations: 21.41 kB / 0.5991 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.161, allocations: 4 kB / 0.5991 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.161, allocations: 0 / 0.5991 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.161, allocations: 3.984 kB / 0.5991 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1613, allocations: 269.5 kB / 0.5993 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1614, allocations: 0 / 0.5993 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1615, allocations: 27.92 kB / 0.5994 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1615, allocations: 0 / 0.5994 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1615, allocations: 0 / 0.5994 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1615, allocations: 0 / 0.5994 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1615, allocations: 0 / 0.5994 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1619, allocations: 283.3 kB / 0.5996 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.162, allocations: 93.03 kB / 0.5997 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.162, allocations: 8 kB / 0.5997 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.1621, allocations: 0 / 0.5997 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1622, allocations: 7.984 kB / 0.5997 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1622, allocations: 4 kB / 0.5997 GB, free: 3.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1623, allocations: 156.5 kB / 0.5999 GB, free: 3.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 0.5999 GB, free: 3.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1626, allocations: 31.89 kB / 0.5999 GB, free: 3.43 MB / 462.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.0007152/0.1633, allocations: 0.8031 MB / 0.6007 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.1636, allocations: 108 kB / 0.6008 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1636, allocations: 0 / 0.6008 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.1637, allocations: 47.92 kB / 0.6009 GB, free: 2.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.164, allocations: 19.98 kB / 0.6009 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1665, allocations: 2.055 MB / 0.6029 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1669, allocations: 0.7317 MB / 0.6036 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.657e-05/0.167, allocations: 13.08 kB / 0.6036 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.1671, allocations: 43.42 kB / 0.6036 GB, free: 15.47 MB / 478.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1671, allocations: 0 / 0.6036 GB, free: 15.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1927, allocations: 3.265 MB / 0.6068 GB, free: 12.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.995, allocations: 7.797 kB / 0.6068 GB, free: 12.28 MB / 478.1 MB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.067251664120704] Failed to read output from testmodel.py, exit status != 0: 8.063127171713859 8.08968474 7.930547852 Calling exit ...