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.001833/0.001833, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.00231/0.00231, allocations: 212.7 kB / 23.03 MB, free: 4.973 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.479/1.479, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.6446/0.6446, allocations: 103.9 MB / 390 MB, free: 20.28 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.002209/0.002209, allocations: 87.3 kB / 0.5441 GB, free: 7.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3469, allocations: 75.98 MB / 0.6183 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.0029/0.3498, allocations: 2.069 MB / 0.6203 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.3502, allocations: 151.7 kB / 0.6205 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3504, allocations: 4 kB / 0.6205 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3505, allocations: 19.73 kB / 0.6205 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3506, allocations: 35.66 kB / 0.6205 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3508, allocations: 63.94 kB / 0.6206 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.351, allocations: 179.9 kB / 0.6208 GB, free: 8.098 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3512, allocations: 69.38 kB / 0.6208 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.3513, allocations: 63.67 kB / 0.6209 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3514, allocations: 79.56 kB / 0.621 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3514, allocations: 16 kB / 0.621 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.3515, allocations: 16 kB / 0.621 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.3515, allocations: 43.84 kB / 0.621 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3516, allocations: 75.48 kB / 0.6211 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3518, allocations: 222.2 kB / 0.6213 GB, free: 7.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3518, allocations: 4 kB / 0.6213 GB, free: 7.527 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3518, allocations: 0 / 0.6213 GB, free: 7.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3518, allocations: 0 / 0.6213 GB, free: 7.527 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.0006527/0.3525, allocations: 413.4 kB / 0.6217 GB, free: 7.094 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3525, allocations: 8.031 kB / 0.6217 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.3526, allocations: 42.75 kB / 0.6218 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.3526, allocations: 32.78 kB / 0.6218 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3529, allocations: 196 kB / 0.622 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.353, allocations: 12.38 kB / 0.622 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.353, allocations: 12.38 kB / 0.622 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3532, allocations: 164.2 kB / 0.6222 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3532, allocations: 0 / 0.6222 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3533, allocations: 4 kB / 0.6222 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3533, allocations: 8 kB / 0.6222 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3534, allocations: 87.95 kB / 0.6223 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.3541, allocations: 0.6982 MB / 0.6229 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.3544, allocations: 110.6 kB / 0.623 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.3544, allocations: 44.84 kB / 0.6231 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3545, allocations: 0 / 0.6231 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.3545, allocations: 30.56 kB / 0.6231 GB, free: 5.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.3545, allocations: 0 / 0.6231 GB, free: 5.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003303/0.3548, allocations: 169.7 kB / 0.6233 GB, free: 5.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3548, allocations: 51.41 kB / 0.6233 GB, free: 5.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.355, allocations: 196.5 kB / 0.6235 GB, free: 5.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.355, allocations: 29.7 kB / 0.6235 GB, free: 5.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.355, allocations: 139.9 kB / 0.6237 GB, free: 4.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3551, allocations: 39.64 kB / 0.6237 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3551, allocations: 33.64 kB / 0.6237 GB, free: 4.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.3552, allocations: 330.8 kB / 0.6241 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.3552, allocations: 35.98 kB / 0.6241 GB, free: 4.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.3553, allocations: 58.55 kB / 0.6241 GB, free: 4.398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.3558, allocations: 210.2 kB / 0.6243 GB, free: 4.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3558, allocations: 4 kB / 0.6244 GB, free: 4.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002051/0.356, allocations: 149.5 kB / 0.6245 GB, free: 4.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.356, allocations: 4 kB / 0.6245 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3561, allocations: 0 / 0.6245 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3561, allocations: 4 kB / 0.6245 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3562, allocations: 24.05 kB / 0.6245 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3562, allocations: 4 kB / 0.6245 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.3563, allocations: 11.89 kB / 0.6245 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3563, allocations: 8 kB / 0.6245 GB, free: 3.977 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.0001572/0.3564, allocations: 137.5 kB / 0.6247 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3565, allocations: 15.91 kB / 0.6247 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.3565, allocations: 21.41 kB / 0.6247 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3565, allocations: 0 / 0.6247 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3565, allocations: 4 kB / 0.6247 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3565, allocations: 11.97 kB / 0.6247 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3567, allocations: 232.5 kB / 0.625 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3567, allocations: 0 / 0.625 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3568, allocations: 19.98 kB / 0.625 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3568, allocations: 4 kB / 0.625 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3568, allocations: 4 kB / 0.625 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3568, allocations: 0 / 0.625 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3568, allocations: 0 / 0.625 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3571, allocations: 283.2 kB / 0.6252 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.3572, allocations: 19.86 kB / 0.6253 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3572, allocations: 4 kB / 0.6253 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3573, allocations: 4 kB / 0.6253 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3573, allocations: 7.984 kB / 0.6253 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3574, allocations: 0 / 0.6253 GB, free: 3.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.3574, allocations: 149.5 kB / 0.6254 GB, free: 3.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3574, allocations: 64 / 0.6254 GB, free: 3.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.3577, allocations: 35.95 kB / 0.6255 GB, free: 2.98 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.0004045/0.3581, allocations: 0.806 MB / 0.6262 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3583, allocations: 88.09 kB / 0.6263 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3583, allocations: 4 kB / 0.6263 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3584, allocations: 43.98 kB / 0.6264 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3587, allocations: 28.8 kB / 0.6264 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3606, allocations: 2.068 MB / 0.6284 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3609, allocations: 0.7201 MB / 0.6291 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.361, allocations: 17.08 kB / 0.6291 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3611, allocations: 47.42 kB / 0.6292 GB, free: 15.02 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3611, allocations: 0 / 0.6292 GB, free: 15.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.3943, allocations: 3.434 MB / 0.6325 GB, free: 11.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.1, allocations: 0 / 0.6325 GB, free: 11.64 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.583363556997938] Failed to read output from testmodel.py, exit status != 0: 12.207784141002776 12.229498795 11.874433282 Calling exit ...