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.001438/0.001438, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001581/0.001581, allocations: 205.9 kB / 23.01 MB, free: 4.621 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.549/1.549, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.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.6842/0.6842, allocations: 103.8 MB / 389.9 MB, free: 21.39 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.002646/0.002646, allocations: 79.33 kB / 0.544 GB, free: 7.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3976, allocations: 75.99 MB / 0.6182 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002604/0.4002, allocations: 1.972 MB / 0.6201 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003574/0.4006, allocations: 155.7 kB / 0.6203 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4007, allocations: 11.94 kB / 0.6203 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.4008, allocations: 19.73 kB / 0.6203 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.4009, allocations: 35.66 kB / 0.6203 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.4011, allocations: 59.94 kB / 0.6204 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4012, allocations: 179.9 kB / 0.6206 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.4014, allocations: 65.34 kB / 0.6206 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.4015, allocations: 63.72 kB / 0.6207 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.4015, allocations: 67.56 kB / 0.6208 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.4016, allocations: 20 kB / 0.6208 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.4016, allocations: 16 kB / 0.6208 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.4016, allocations: 39.84 kB / 0.6208 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.4017, allocations: 67.59 kB / 0.6209 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4018, allocations: 214.3 kB / 0.6211 GB, free: 7.492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4018, allocations: 0 / 0.6211 GB, free: 7.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4018, allocations: 0 / 0.6211 GB, free: 7.492 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.4019, allocations: 4 kB / 0.6211 GB, free: 7.488 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.0005419/0.4024, allocations: 413.4 kB / 0.6215 GB, free: 7.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4024, allocations: 15.97 kB / 0.6215 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.4025, allocations: 50.67 kB / 0.6216 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.4025, allocations: 20.8 kB / 0.6216 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.4027, allocations: 184.2 kB / 0.6217 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4028, allocations: 12.31 kB / 0.6218 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4028, allocations: 16.38 kB / 0.6218 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.403, allocations: 164.8 kB / 0.6219 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.403, allocations: 4 kB / 0.6219 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4031, allocations: 4 kB / 0.6219 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4031, allocations: 4 kB / 0.6219 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.4032, allocations: 95.89 kB / 0.622 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.4039, allocations: 0.6052 MB / 0.6226 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.4041, allocations: 110.6 kB / 0.6227 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.4042, allocations: 48.84 kB / 0.6228 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4042, allocations: 0 / 0.6228 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.4042, allocations: 34.56 kB / 0.6228 GB, free: 5.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.4042, allocations: 0 / 0.6228 GB, free: 5.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003139/0.4045, allocations: 161.7 kB / 0.623 GB, free: 5.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.4046, allocations: 55.41 kB / 0.623 GB, free: 5.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4047, allocations: 204.4 kB / 0.6232 GB, free: 5.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.4047, allocations: 29.7 kB / 0.6232 GB, free: 5.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.4048, allocations: 132 kB / 0.6234 GB, free: 4.969 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.4048, allocations: 39.66 kB / 0.6234 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.4048, allocations: 33.7 kB / 0.6234 GB, free: 4.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.4049, allocations: 326.8 kB / 0.6238 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4049, allocations: 35.98 kB / 0.6238 GB, free: 4.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.405, allocations: 66.55 kB / 0.6238 GB, free: 4.453 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.4055, allocations: 198.4 kB / 0.624 GB, free: 4.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4055, allocations: 3.938 kB / 0.624 GB, free: 4.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001973/0.4057, allocations: 149.5 kB / 0.6242 GB, free: 4.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4057, allocations: 4 kB / 0.6242 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4057, allocations: 3.938 kB / 0.6242 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4058, allocations: 7.984 kB / 0.6242 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4059, allocations: 23.94 kB / 0.6242 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4059, allocations: 4.062 kB / 0.6242 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.4059, allocations: 15.88 kB / 0.6242 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4059, allocations: 8 kB / 0.6242 GB, free: 4.027 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.0001289/0.4061, allocations: 129.6 kB / 0.6244 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4061, allocations: 15.91 kB / 0.6244 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.4061, allocations: 25.39 kB / 0.6244 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4061, allocations: 4 kB / 0.6244 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4062, allocations: 0 / 0.6244 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4062, allocations: 0 / 0.6244 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4063, allocations: 220.6 kB / 0.6246 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4063, allocations: 4 kB / 0.6246 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4065, allocations: 19.94 kB / 0.6246 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4065, allocations: 0 / 0.6246 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4065, allocations: 3.984 kB / 0.6247 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4065, allocations: 0 / 0.6247 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4065, allocations: 0 / 0.6247 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.4068, allocations: 283.1 kB / 0.6249 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.4068, allocations: 11.91 kB / 0.6249 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4068, allocations: 7.984 kB / 0.6249 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.4069, allocations: 12.06 kB / 0.625 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4069, allocations: 3.984 kB / 0.625 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4069, allocations: 8 kB / 0.625 GB, free: 3.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.669e-05/0.407, allocations: 149.5 kB / 0.6251 GB, free: 3.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.407, allocations: 0 / 0.6251 GB, free: 3.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.4073, allocations: 35.83 kB / 0.6251 GB, free: 3.055 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.0004701/0.4077, allocations: 0.7988 MB / 0.6259 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.4079, allocations: 96.19 kB / 0.626 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4079, allocations: 8 kB / 0.626 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.408, allocations: 51.86 kB / 0.6261 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4083, allocations: 23.92 kB / 0.6261 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4102, allocations: 2.049 MB / 0.6281 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4103, allocations: 116 kB / 0.6282 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.4103, allocations: 9.078 kB / 0.6282 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.4104, allocations: 51.42 kB / 0.6283 GB, free: 15.72 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4104, allocations: 3.938 kB / 0.6283 GB, free: 15.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.4423, allocations: 3.82 MB / 0.632 GB, free: 11.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.76, allocations: 11.48 kB / 0.632 GB, free: 11.95 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.2125278362073] Failed to read output from testmodel.py, exit status != 0: 11.867756551131606 11.897574117 11.490460962 Calling exit ...