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.00166/0.00166, 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.002269/0.002269, allocations: 211.2 kB / 23.01 MB, free: 4.996 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.586/1.586, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.6505/0.6505, allocations: 103.8 MB / 389.9 MB, free: 21.23 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.00229/0.00229, allocations: 71.91 kB / 0.544 GB, free: 7.367 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4213, allocations: 75.98 MB / 0.6182 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002835/0.4242, allocations: 1.828 MB / 0.62 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.4251, allocations: 0.5387 MB / 0.6205 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.4252, allocations: 11.94 kB / 0.6205 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.4256, allocations: 39.7 kB / 0.6206 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.4258, allocations: 67.75 kB / 0.6206 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.426, allocations: 67.89 kB / 0.6207 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.4264, allocations: 319.3 kB / 0.621 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4265, allocations: 33.73 kB / 0.621 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4267, allocations: 115.6 kB / 0.6211 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.4268, allocations: 111.6 kB / 0.6212 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.4269, allocations: 20 kB / 0.6213 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.4269, allocations: 16 kB / 0.6213 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.427, allocations: 51.77 kB / 0.6213 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.427, allocations: 59.7 kB / 0.6214 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.4272, allocations: 206.4 kB / 0.6216 GB, free: 6.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4272, allocations: 0 / 0.6216 GB, free: 6.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4272, allocations: 0 / 0.6216 GB, free: 6.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4273, allocations: 0 / 0.6216 GB, free: 6.93 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.001034/0.4283, allocations: 469.4 kB / 0.622 GB, free: 6.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.4283, allocations: 12.02 kB / 0.622 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.4284, allocations: 38.75 kB / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.4284, allocations: 16.84 kB / 0.6221 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.4289, allocations: 246 kB / 0.6223 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4289, allocations: 8.375 kB / 0.6223 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.429, allocations: 4.375 kB / 0.6223 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4292, allocations: 117.1 kB / 0.6224 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4292, allocations: 3.938 kB / 0.6224 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4292, allocations: 8 kB / 0.6225 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4292, allocations: 4 kB / 0.6225 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.4294, allocations: 107.9 kB / 0.6226 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.4301, allocations: 411.7 kB / 0.623 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.4305, allocations: 158.6 kB / 0.6231 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.4306, allocations: 52.83 kB / 0.6232 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4306, allocations: 0 / 0.6232 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.4306, allocations: 34.56 kB / 0.6232 GB, free: 5.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.4306, allocations: 4 kB / 0.6232 GB, free: 5.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007617/0.4314, allocations: 262.1 kB / 0.6234 GB, free: 4.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4314, allocations: 55.41 kB / 0.6235 GB, free: 4.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.4319, allocations: 278.8 kB / 0.6238 GB, free: 4.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.4319, allocations: 25.7 kB / 0.6238 GB, free: 4.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.4319, allocations: 116.1 kB / 0.6239 GB, free: 4.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.432, allocations: 39.67 kB / 0.6239 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.432, allocations: 25.72 kB / 0.624 GB, free: 4.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4321, allocations: 322.8 kB / 0.6243 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.4322, allocations: 47.97 kB / 0.6243 GB, free: 3.934 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.4323, allocations: 47.97 kB / 0.6244 GB, free: 3.887 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.433, allocations: 272.5 kB / 0.6246 GB, free: 3.617 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.433, allocations: 4 kB / 0.6246 GB, free: 3.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003186/0.4333, allocations: 210.3 kB / 0.6248 GB, free: 3.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4333, allocations: 4 kB / 0.6248 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4333, allocations: 4.469 kB / 0.6248 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.4336, allocations: 44.77 kB / 0.6249 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.4336, allocations: 15.98 kB / 0.6249 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009873/0.4346, allocations: 1.447 MB / 0.6263 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.4348, allocations: 27.95 kB / 0.6263 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4348, allocations: 3.938 kB / 0.6263 GB, free: 1.734 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.0001724/0.435, allocations: 145.6 kB / 0.6265 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.435, allocations: 19.97 kB / 0.6265 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.4351, allocations: 21.39 kB / 0.6265 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4351, allocations: 3.938 kB / 0.6265 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4351, allocations: 4 kB / 0.6265 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4351, allocations: 0 / 0.6265 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4353, allocations: 208.6 kB / 0.6267 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4353, allocations: 0 / 0.6267 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.4354, allocations: 15.92 kB / 0.6267 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.4355, allocations: 48.77 kB / 0.6268 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4355, allocations: 8 kB / 0.6268 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009701/0.4365, allocations: 1.444 MB / 0.6282 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4365, allocations: 0 / 0.6282 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.4371, allocations: 356 kB / 0.6285 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.4371, allocations: 19.94 kB / 0.6286 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4372, allocations: 4 kB / 0.6286 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4374, allocations: 28.08 kB / 0.6286 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.4374, allocations: 7.984 kB / 0.6286 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.4375, allocations: 11.94 kB / 0.6286 GB, free: 15.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004662/0.4379, allocations: 208.4 kB / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4379, allocations: 0 / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000301/0.4382, allocations: 39.94 kB / 0.6288 GB, free: 14.98 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.000951/0.4392, allocations: 0.8733 MB / 0.6297 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.4397, allocations: 238.5 kB / 0.6299 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4397, allocations: 0 / 0.6299 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.44, allocations: 186.6 kB / 0.6301 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.4403, allocations: 12 kB / 0.6301 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.4443, allocations: 2.337 MB / 0.6324 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.4444, allocations: 127.3 kB / 0.6325 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.4445, allocations: 16.97 kB / 0.6325 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4446, allocations: 55.36 kB / 0.6326 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4446, allocations: 0 / 0.6326 GB, free: 10.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.4819, allocations: 4.488 MB / 0.637 GB, free: 6.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.52, allocations: 11.56 kB / 0.637 GB, free: 6.562 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: 16.07484544199542] Failed to read output from testmodel.py, exit status != 0: 12.626620717986953 12.649036708 12.216429747 Calling exit ...