Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001326/0.001326, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001679/0.001679, allocations: 213.6 kB / 23.01 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.565/1.565, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.6163/0.6163, allocations: 103.8 MB / 389.9 MB, free: 21.15 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.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",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.002268/0.002268, allocations: 87.3 kB / 0.544 GB, free: 7.375 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4042, allocations: 75.99 MB / 0.6182 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002599/0.4068, allocations: 1.824 MB / 0.62 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008342/0.4077, allocations: 0.5349 MB / 0.6205 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.4078, allocations: 3.938 kB / 0.6205 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.4081, allocations: 43.75 kB / 0.6206 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.4082, allocations: 71.69 kB / 0.6206 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.4084, allocations: 63.91 kB / 0.6207 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.4087, allocations: 319.3 kB / 0.621 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4088, allocations: 33.72 kB / 0.621 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.409, allocations: 107.7 kB / 0.6211 GB, free: 7.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.4091, allocations: 107.6 kB / 0.6212 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.4092, allocations: 16 kB / 0.6212 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.4092, allocations: 19.94 kB / 0.6213 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.4092, allocations: 51.81 kB / 0.6213 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.4093, allocations: 63.66 kB / 0.6214 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4095, allocations: 206.4 kB / 0.6216 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4095, allocations: 0 / 0.6216 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4095, allocations: 0 / 0.6216 GB, free: 6.941 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4095, allocations: 0 / 0.6216 GB, free: 6.941 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00104/0.4105, allocations: 473.3 kB / 0.622 GB, free: 6.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4106, allocations: 8.031 kB / 0.622 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.4106, allocations: 38.75 kB / 0.6221 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4107, allocations: 20.83 kB / 0.6221 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.4112, allocations: 246 kB / 0.6223 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4112, allocations: 4.375 kB / 0.6223 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4112, allocations: 12.36 kB / 0.6223 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.4114, allocations: 109.7 kB / 0.6224 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4114, allocations: 0 / 0.6224 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4114, allocations: 4 kB / 0.6224 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4114, allocations: 4 kB / 0.6224 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.4116, allocations: 99.94 kB / 0.6225 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.4122, allocations: 423.6 kB / 0.6229 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.4125, allocations: 162.6 kB / 0.6231 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.4126, allocations: 52.83 kB / 0.6232 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4126, allocations: 0 / 0.6232 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4127, allocations: 34.56 kB / 0.6232 GB, free: 5.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.4127, allocations: 0 / 0.6232 GB, free: 5.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007075/0.4134, allocations: 266.2 kB / 0.6234 GB, free: 4.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4134, allocations: 59.34 kB / 0.6235 GB, free: 4.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.4138, allocations: 270.9 kB / 0.6238 GB, free: 4.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4138, allocations: 25.7 kB / 0.6238 GB, free: 4.504 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.4139, allocations: 128.1 kB / 0.6239 GB, free: 4.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4139, allocations: 31.7 kB / 0.6239 GB, free: 4.344 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.414, allocations: 26.08 kB / 0.624 GB, free: 4.312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.414, allocations: 326.8 kB / 0.6243 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.4141, allocations: 47.97 kB / 0.6243 GB, free: 3.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.4142, allocations: 43.92 kB / 0.6244 GB, free: 3.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.4149, allocations: 276.5 kB / 0.6246 GB, free: 3.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4149, allocations: 0 / 0.6246 GB, free: 3.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003145/0.4152, allocations: 198.3 kB / 0.6248 GB, free: 3.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4152, allocations: 4 kB / 0.6248 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4152, allocations: 4 kB / 0.6248 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.4154, allocations: 48.81 kB / 0.6249 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.4154, allocations: 15.94 kB / 0.6249 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009225/0.4164, allocations: 1.44 MB / 0.6263 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4165, allocations: 35.94 kB / 0.6263 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.4166, allocations: 4 kB / 0.6263 GB, free: 1.75 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.a_end * simplifiedSFR.inertia.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.a_end * simplifiedSFR.feedbackLoop.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.4167, allocations: 145.6 kB / 0.6265 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.4168, allocations: 15.91 kB / 0.6265 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.4168, allocations: 21.41 kB / 0.6265 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4168, allocations: 3.938 kB / 0.6265 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4168, allocations: 4 kB / 0.6265 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4168, allocations: 4 kB / 0.6265 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.417, allocations: 208.6 kB / 0.6267 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.417, allocations: 3.938 kB / 0.6267 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.4171, allocations: 12 kB / 0.6267 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.4172, allocations: 48.81 kB / 0.6268 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4172, allocations: 4 kB / 0.6268 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.4182, allocations: 1.448 MB / 0.6282 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4182, allocations: 0 / 0.6282 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.4188, allocations: 356 kB / 0.6285 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.4188, allocations: 20.11 kB / 0.6285 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4189, allocations: 4 kB / 0.6285 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.4191, allocations: 23.91 kB / 0.6286 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.4191, allocations: 12.11 kB / 0.6286 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4191, allocations: 11.94 kB / 0.6286 GB, free: 15.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004232/0.4196, allocations: 208.4 kB / 0.6288 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 0 / 0.6288 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4198, allocations: 35.94 kB / 0.6288 GB, free: 15 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000923/0.4208, allocations: 0.8772 MB / 0.6297 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.4213, allocations: 238.7 kB / 0.6299 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4213, allocations: 0 / 0.6299 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.4216, allocations: 186.5 kB / 0.6301 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4219, allocations: 16.22 kB / 0.6301 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.4257, allocations: 2.337 MB / 0.6324 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4259, allocations: 127.3 kB / 0.6325 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.426, allocations: 24.89 kB / 0.6325 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.4261, allocations: 43.42 kB / 0.6326 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4261, allocations: 4.281 kB / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.4625, allocations: 4.432 MB / 0.6369 GB, free: 6.633 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.13, allocations: 11.41 kB / 0.6369 GB, free: 6.625 MB / 478.1 MB " [Timeout remaining time 648] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_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_SimplifiedSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.506284188013524] Failed to read output from testmodel.py, exit status != 0: 12.243216956034303 12.260213853 11.847525703 Calling exit ...