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.001731/0.001731, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.00201/0.00201, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.463/1.463, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.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.45/0.45, allocations: 100.7 MB / 377.3 MB, free: 5.004 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-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.002116/0.002116, allocations: 71.89 kB / 0.5214 GB, free: 8.293 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4018, allocations: 71.45 MB / 0.5912 GB, free: 22.77 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002814/0.4046, allocations: 2.05 MB / 0.5932 GB, free: 21.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.405, allocations: 149.7 kB / 0.5933 GB, free: 21.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4051, allocations: 6.688 kB / 0.5933 GB, free: 21.03 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.4053, allocations: 23.73 kB / 0.5933 GB, free: 21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.523e-05/0.4053, allocations: 30.47 kB / 0.5934 GB, free: 20.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.4055, allocations: 64.12 kB / 0.5934 GB, free: 20.92 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.4057, allocations: 180.5 kB / 0.5936 GB, free: 20.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.4059, allocations: 83.62 kB / 0.5937 GB, free: 20.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.4059, allocations: 66.95 kB / 0.5937 GB, free: 20.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.406, allocations: 74.69 kB / 0.5938 GB, free: 20.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.4061, allocations: 16.5 kB / 0.5938 GB, free: 20.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.4061, allocations: 21.88 kB / 0.5939 GB, free: 20.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.4062, allocations: 39.92 kB / 0.5939 GB, free: 20.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.4062, allocations: 82.66 kB / 0.594 GB, free: 20.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4064, allocations: 215.9 kB / 0.5942 GB, free: 20.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4064, allocations: 0 / 0.5942 GB, free: 20.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4064, allocations: 1.375 kB / 0.5942 GB, free: 20.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.4064, allocations: 0 / 0.5942 GB, free: 20.38 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.0005817/0.407, allocations: 492.3 kB / 0.5946 GB, free: 19.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4071, allocations: 9.625 kB / 0.5947 GB, free: 19.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.4071, allocations: 46.86 kB / 0.5947 GB, free: 19.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.4072, allocations: 23.55 kB / 0.5947 GB, free: 19.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.4074, allocations: 240.6 kB / 0.595 GB, free: 19.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4075, allocations: 9.688 kB / 0.595 GB, free: 19.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.4075, allocations: 13.62 kB / 0.595 GB, free: 19.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.4078, allocations: 169.2 kB / 0.5951 GB, free: 19.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4078, allocations: 0 / 0.5951 GB, free: 19.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4078, allocations: 9.188 kB / 0.5951 GB, free: 19.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4078, allocations: 3.656 kB / 0.5951 GB, free: 19.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.408, allocations: 97.11 kB / 0.5952 GB, free: 19.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.4087, allocations: 0.7263 MB / 0.5959 GB, free: 18.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.409, allocations: 123.2 kB / 0.5961 GB, free: 18.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.4091, allocations: 42.41 kB / 0.5961 GB, free: 18.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4091, allocations: 5.031 kB / 0.5961 GB, free: 18.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.4091, allocations: 35.66 kB / 0.5961 GB, free: 18.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.4091, allocations: 0 / 0.5961 GB, free: 18.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.000367/0.4095, allocations: 168.4 kB / 0.5963 GB, free: 18.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4096, allocations: 53.38 kB / 0.5964 GB, free: 18.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4098, allocations: 199 kB / 0.5965 GB, free: 18.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4098, allocations: 29.7 kB / 0.5966 GB, free: 18.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.4099, allocations: 136.5 kB / 0.5967 GB, free: 18.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4099, allocations: 44.86 kB / 0.5967 GB, free: 18.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.4099, allocations: 30.98 kB / 0.5968 GB, free: 18.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.41, allocations: 326.5 kB / 0.5971 GB, free: 17.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.4101, allocations: 33.95 kB / 0.5971 GB, free: 17.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.4102, allocations: 65 kB / 0.5972 GB, free: 17.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.4107, allocations: 206.4 kB / 0.5974 GB, free: 17.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4107, allocations: 0 / 0.5974 GB, free: 17.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002286/0.411, allocations: 151.4 kB / 0.5975 GB, free: 17.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.411, allocations: 5.188 kB / 0.5975 GB, free: 17.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.411, allocations: 1.406 kB / 0.5975 GB, free: 17.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.411, allocations: 0.6562 kB / 0.5975 GB, free: 17.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4112, allocations: 23.36 kB / 0.5976 GB, free: 17.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.4112, allocations: 5.281 kB / 0.5976 GB, free: 17.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.4112, allocations: 12.23 kB / 0.5976 GB, free: 17.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4113, allocations: 4.094 kB / 0.5976 GB, free: 17.39 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.0001428/0.4114, allocations: 146.5 kB / 0.5977 GB, free: 17.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.4114, allocations: 14.62 kB / 0.5977 GB, free: 17.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.4115, allocations: 21.5 kB / 0.5977 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4115, allocations: 1.625 kB / 0.5977 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4115, allocations: 3.984 kB / 0.5978 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4115, allocations: 1.344 kB / 0.5978 GB, free: 17.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.4117, allocations: 255.9 kB / 0.598 GB, free: 16.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4117, allocations: 1.688 kB / 0.598 GB, free: 16.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.4119, allocations: 22.39 kB / 0.598 GB, free: 16.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4119, allocations: 1.562 kB / 0.598 GB, free: 16.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4119, allocations: 8 kB / 0.598 GB, free: 16.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4119, allocations: 5.25 kB / 0.598 GB, free: 16.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4119, allocations: 0 / 0.598 GB, free: 16.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.4123, allocations: 275.1 kB / 0.5983 GB, free: 16.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.4123, allocations: 100.6 kB / 0.5984 GB, free: 16.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4123, allocations: 1.406 kB / 0.5984 GB, free: 16.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.4124, allocations: 6.469 kB / 0.5984 GB, free: 16.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4125, allocations: 10.39 kB / 0.5984 GB, free: 16.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.4125, allocations: 2.281 kB / 0.5984 GB, free: 16.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.4126, allocations: 149.8 kB / 0.5986 GB, free: 16.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4126, allocations: 0 / 0.5986 GB, free: 16.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.4129, allocations: 28.55 kB / 0.5986 GB, free: 16.5 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.0004758/0.4133, allocations: 0.8111 MB / 0.5994 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4136, allocations: 94.66 kB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4136, allocations: 0 / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.4137, allocations: 48.08 kB / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.414, allocations: 24.73 kB / 0.5995 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.4161, allocations: 2.057 MB / 0.6015 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.4162, allocations: 0.7299 MB / 0.6023 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.4163, allocations: 16.77 kB / 0.6023 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.4164, allocations: 49.92 kB / 0.6023 GB, free: 13.25 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4164, allocations: 0 / 0.6023 GB, free: 13.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.4425, allocations: 3.254 MB / 0.6055 GB, free: 11.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.291, allocations: 13.02 kB / 0.6055 GB, free: 11.56 MB / 462.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 & python3 -m fmpy simulate --output-file Dynawo_dev_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_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.44510073098354] Failed to read output from testmodel.py, exit status != 0: 8.359043043921702 8.37532145 7.965994145 Calling exit ...