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.001383/0.001383, allocations: 114.1 kB / 19.71 MB, free: 2.18 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.001582/0.001582, allocations: 215.6 kB / 23.02 MB, free: 5.027 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.449/1.449, allocations: 207.6 MB / 233.8 MB, free: 10 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.6206/0.6206, allocations: 103.9 MB / 390 MB, free: 20.45 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.002195/0.002195, allocations: 71.91 kB / 0.5441 GB, free: 7.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 75.99 MB / 0.6183 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002829/0.4018, allocations: 1.886 MB / 0.6201 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.4025, allocations: 0.5698 MB / 0.6207 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.4026, allocations: 4 kB / 0.6207 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.4029, allocations: 47.7 kB / 0.6207 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.4031, allocations: 67.69 kB / 0.6208 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.4033, allocations: 67.89 kB / 0.6209 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4035, allocations: 323.3 kB / 0.6212 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4037, allocations: 33.73 kB / 0.6212 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.4038, allocations: 103.7 kB / 0.6213 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.404, allocations: 123.5 kB / 0.6214 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.404, allocations: 16 kB / 0.6215 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.404, allocations: 20 kB / 0.6215 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.4041, allocations: 47.84 kB / 0.6215 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.4042, allocations: 71.59 kB / 0.6216 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.4043, allocations: 210.4 kB / 0.6218 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4044, allocations: 0 / 0.6218 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4044, allocations: 0 / 0.6218 GB, free: 7.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4044, allocations: 0 / 0.6218 GB, free: 7.051 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.001055/0.4054, allocations: 465.3 kB / 0.6222 GB, free: 6.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4055, allocations: 12.03 kB / 0.6222 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.4055, allocations: 38.73 kB / 0.6223 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.4055, allocations: 24.84 kB / 0.6223 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.406, allocations: 238.1 kB / 0.6225 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.4061, allocations: 8.312 kB / 0.6225 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.4061, allocations: 8.375 kB / 0.6225 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.4063, allocations: 113.7 kB / 0.6227 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4063, allocations: 0 / 0.6227 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4063, allocations: 4 kB / 0.6227 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4063, allocations: 4 kB / 0.6227 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.4065, allocations: 107.5 kB / 0.6228 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.4072, allocations: 498.9 kB / 0.6232 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.4077, allocations: 158.6 kB / 0.6234 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.4078, allocations: 60.86 kB / 0.6234 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.4079, allocations: 7.938 kB / 0.6235 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.4079, allocations: 30.56 kB / 0.6235 GB, free: 5.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4079, allocations: 3.938 kB / 0.6235 GB, free: 5.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.001118/0.409, allocations: 266.2 kB / 0.6237 GB, free: 4.895 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.409, allocations: 51.41 kB / 0.6238 GB, free: 4.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.4097, allocations: 270.9 kB / 0.624 GB, free: 4.555 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4097, allocations: 29.7 kB / 0.6241 GB, free: 4.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.4098, allocations: 120.1 kB / 0.6242 GB, free: 4.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.4099, allocations: 39.69 kB / 0.6242 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.4099, allocations: 17.72 kB / 0.6242 GB, free: 4.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.41, allocations: 330.8 kB / 0.6246 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4101, allocations: 47.97 kB / 0.6246 GB, free: 3.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4102, allocations: 47.92 kB / 0.6247 GB, free: 3.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.4113, allocations: 264.6 kB / 0.6249 GB, free: 3.648 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4113, allocations: 4 kB / 0.6249 GB, free: 3.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005021/0.4119, allocations: 206.2 kB / 0.6251 GB, free: 3.434 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4119, allocations: 4 kB / 0.6251 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4119, allocations: 7.984 kB / 0.6251 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.4121, allocations: 44.83 kB / 0.6252 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4123, allocations: 15.98 kB / 0.6252 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4136, allocations: 1.447 MB / 0.6266 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4139, allocations: 36 kB / 0.6266 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.414, allocations: 0 / 0.6266 GB, free: 1.762 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.0002167/0.4142, allocations: 146 kB / 0.6268 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.4142, allocations: 19.84 kB / 0.6268 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.4143, allocations: 25.41 kB / 0.6268 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4143, allocations: 7.938 kB / 0.6268 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4143, allocations: 0 / 0.6268 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4143, allocations: 7.922 kB / 0.6268 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4146, allocations: 232.7 kB / 0.627 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4146, allocations: 0 / 0.627 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4147, allocations: 15.98 kB / 0.6271 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.4149, allocations: 44.81 kB / 0.6271 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4149, allocations: 8 kB / 0.6271 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.4164, allocations: 1.455 MB / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4164, allocations: 8.094 kB / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.4171, allocations: 348.2 kB / 0.6289 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.4172, allocations: 23.92 kB / 0.6289 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4172, allocations: 0 / 0.6289 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.4175, allocations: 28.03 kB / 0.6289 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.4175, allocations: 7.984 kB / 0.6289 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4175, allocations: 7.938 kB / 0.6289 GB, free: 15.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000706/0.4182, allocations: 212.3 kB / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4182, allocations: 7.938 kB / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000483/0.4187, allocations: 35.94 kB / 0.6292 GB, free: 14.96 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.00126/0.42, allocations: 0.8732 MB / 0.63 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.4207, allocations: 242.8 kB / 0.6303 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4208, allocations: 3.938 kB / 0.6303 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.4212, allocations: 182.6 kB / 0.6304 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.4216, allocations: 12 kB / 0.6305 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/0.4274, allocations: 2.337 MB / 0.6327 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.4279, allocations: 0.7358 MB / 0.6335 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4281, allocations: 24.95 kB / 0.6335 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4282, allocations: 47.42 kB / 0.6335 GB, free: 10.34 MB / 478.1 MB Notification: Performance of SimCode: time 1.884e-06/0.4282, allocations: 0 / 0.6335 GB, free: 10.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.4704, allocations: 3.936 MB / 0.6374 GB, free: 6.469 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.64, allocations: 15.53 kB / 0.6374 GB, free: 6.457 MB / 478.1 MB " [Timeout remaining time 647] (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.98357667899836] Failed to read output from testmodel.py, exit status != 0: 12.752620781997393 12.780470888 12.371133082 Calling exit ...