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.001456/0.001456, allocations: 104.3 kB / 19.72 MB, free: 1.895 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.001512/0.001512, allocations: 211.6 kB / 23.02 MB, free: 4.992 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.543/1.543, 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.6467/0.6467, allocations: 103.8 MB / 389.9 MB, free: 21.21 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.002402/0.002402, allocations: 71.34 kB / 0.544 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4105, allocations: 75.99 MB / 0.6182 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.00328/0.4138, allocations: 1.972 MB / 0.6201 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.4143, allocations: 155.7 kB / 0.6203 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.4145, allocations: 3.938 kB / 0.6203 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.4146, allocations: 19.73 kB / 0.6203 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.4148, allocations: 35.66 kB / 0.6203 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.4149, allocations: 59.94 kB / 0.6204 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.4151, allocations: 187.9 kB / 0.6206 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4153, allocations: 61.41 kB / 0.6206 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.4154, allocations: 67.72 kB / 0.6207 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.655e-05/0.4155, allocations: 79.5 kB / 0.6208 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.4155, allocations: 16 kB / 0.6208 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.4155, allocations: 20 kB / 0.6208 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.4156, allocations: 35.84 kB / 0.6208 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.4156, allocations: 59.67 kB / 0.6209 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.4158, allocations: 222.2 kB / 0.6211 GB, free: 7.406 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4158, allocations: 0 / 0.6211 GB, free: 7.406 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4158, allocations: 0 / 0.6211 GB, free: 7.406 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4158, allocations: 7.938 kB / 0.6211 GB, free: 7.398 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.0006019/0.4164, allocations: 413.4 kB / 0.6215 GB, free: 6.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4165, allocations: 11.97 kB / 0.6215 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.4165, allocations: 42.75 kB / 0.6216 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4166, allocations: 28.78 kB / 0.6216 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4168, allocations: 188.1 kB / 0.6218 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4168, allocations: 16.38 kB / 0.6218 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4169, allocations: 12.38 kB / 0.6218 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.4171, allocations: 160.3 kB / 0.6219 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4171, allocations: 0 / 0.6219 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4171, allocations: 8 kB / 0.622 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4171, allocations: 4 kB / 0.622 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.4173, allocations: 91.89 kB / 0.622 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.418, allocations: 0.613 MB / 0.6226 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.4183, allocations: 110.6 kB / 0.6227 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.4184, allocations: 44.84 kB / 0.6228 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4184, allocations: 0 / 0.6228 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.4184, allocations: 30.56 kB / 0.6228 GB, free: 5.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.4184, allocations: 224 / 0.6228 GB, free: 5.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003435/0.4187, allocations: 165.4 kB / 0.623 GB, free: 5.328 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4188, allocations: 51.41 kB / 0.623 GB, free: 5.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4189, allocations: 208.4 kB / 0.6232 GB, free: 5.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4189, allocations: 33.7 kB / 0.6233 GB, free: 5.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.419, allocations: 132 kB / 0.6234 GB, free: 4.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.419, allocations: 35.66 kB / 0.6234 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.4191, allocations: 29.7 kB / 0.6234 GB, free: 4.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.4191, allocations: 326.8 kB / 0.6238 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.4192, allocations: 35.98 kB / 0.6238 GB, free: 4.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.4193, allocations: 62.55 kB / 0.6239 GB, free: 4.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.4198, allocations: 209.2 kB / 0.6241 GB, free: 4.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4198, allocations: 0 / 0.6241 GB, free: 4.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002334/0.42, allocations: 145.5 kB / 0.6242 GB, free: 4.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4201, allocations: 8 kB / 0.6242 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4201, allocations: 4.062 kB / 0.6242 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4201, allocations: 0 / 0.6242 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4202, allocations: 27.92 kB / 0.6242 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4202, allocations: 4 kB / 0.6242 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.4203, allocations: 19.88 kB / 0.6243 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4203, allocations: 4 kB / 0.6243 GB, free: 3.949 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.0001426/0.4204, allocations: 133.6 kB / 0.6244 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.4205, allocations: 19.84 kB / 0.6244 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.4205, allocations: 21.39 kB / 0.6244 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4205, allocations: 0 / 0.6244 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4205, allocations: 4 kB / 0.6244 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4205, allocations: 0 / 0.6244 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4207, allocations: 224.6 kB / 0.6246 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4207, allocations: 0 / 0.6246 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.4208, allocations: 19.94 kB / 0.6247 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4208, allocations: 0 / 0.6247 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4209, allocations: 4 kB / 0.6247 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4209, allocations: 0 / 0.6247 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4209, allocations: 3.984 kB / 0.6247 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4212, allocations: 283.7 kB / 0.6249 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.4212, allocations: 15.94 kB / 0.625 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.4212, allocations: 4 kB / 0.625 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.4213, allocations: 3.984 kB / 0.625 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.4214, allocations: 11.98 kB / 0.625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4214, allocations: 0 / 0.625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.4215, allocations: 157.4 kB / 0.6251 GB, free: 3 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4215, allocations: 0 / 0.6251 GB, free: 3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.4218, allocations: 31.89 kB / 0.6252 GB, free: 2.969 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.0005262/0.4223, allocations: 0.8022 MB / 0.6259 GB, free: 2.137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4225, allocations: 99.89 kB / 0.626 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4225, allocations: 0 / 0.626 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.4226, allocations: 47.92 kB / 0.6261 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4229, allocations: 19.98 kB / 0.6261 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.425, allocations: 2.059 MB / 0.6281 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.4251, allocations: 108 kB / 0.6282 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.4251, allocations: 21.02 kB / 0.6282 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.4252, allocations: 51.42 kB / 0.6283 GB, free: 15.63 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4252, allocations: 0 / 0.6283 GB, free: 15.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.4602, allocations: 3.873 MB / 0.6321 GB, free: 11.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.04, allocations: 11.62 kB / 0.6321 GB, free: 11.82 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.525121701008175] Failed to read output from testmodel.py, exit status != 0: 12.152522450021934 12.178273004 11.757649404 Calling exit ...