Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 108.3 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 200.4 kB / 21.22 MB, free: 0.793 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.444/1.444, allocations: 207.6 MB / 231.9 MB, free: 11.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.5683/0.5683, allocations: 102.2 MB / 386.2 MB, free: 21.07 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-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 0.5392 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 75.44 MB / 0.6129 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002322/0.349, allocations: 1.875 MB / 0.6147 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.3498, allocations: 0.601 MB / 0.6153 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.3499, allocations: 0 / 0.6153 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3502, allocations: 39.72 kB / 0.6153 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.3503, allocations: 71.67 kB / 0.6154 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3505, allocations: 87.89 kB / 0.6155 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3507, allocations: 259.5 kB / 0.6157 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3508, allocations: 25.55 kB / 0.6157 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3509, allocations: 99.66 kB / 0.6158 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3511, allocations: 111.6 kB / 0.6159 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3511, allocations: 19.94 kB / 0.616 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.3511, allocations: 16 kB / 0.616 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.3512, allocations: 47.83 kB / 0.616 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.3513, allocations: 79.53 kB / 0.6161 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3514, allocations: 194.5 kB / 0.6163 GB, free: 10.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3514, allocations: 0 / 0.6163 GB, free: 10.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3514, allocations: 0 / 0.6163 GB, free: 10.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3514, allocations: 4 kB / 0.6163 GB, free: 10.34 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.0009446/0.3524, allocations: 0.5374 MB / 0.6168 GB, free: 9.758 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3524, allocations: 16.02 kB / 0.6168 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.3525, allocations: 34.75 kB / 0.6169 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3525, allocations: 16.84 kB / 0.6169 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.353, allocations: 313.6 kB / 0.6172 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.353, allocations: 4.375 kB / 0.6172 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.353, allocations: 8.375 kB / 0.6172 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3532, allocations: 113.6 kB / 0.6173 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3532, allocations: 0 / 0.6173 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3532, allocations: 4 kB / 0.6173 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3532, allocations: 4 kB / 0.6173 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.3534, allocations: 111.9 kB / 0.6174 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.3539, allocations: 480.4 kB / 0.6179 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3543, allocations: 150.7 kB / 0.618 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.3543, allocations: 64.77 kB / 0.6181 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3544, allocations: 0 / 0.6181 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3544, allocations: 34.5 kB / 0.6181 GB, free: 8.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.3544, allocations: 0 / 0.6181 GB, free: 8.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007022/0.3551, allocations: 343.3 kB / 0.6184 GB, free: 7.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.3551, allocations: 51.41 kB / 0.6185 GB, free: 7.879 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.3555, allocations: 277 kB / 0.6187 GB, free: 7.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3555, allocations: 25.7 kB / 0.6188 GB, free: 7.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3556, allocations: 124.1 kB / 0.6189 GB, free: 7.441 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3556, allocations: 35.69 kB / 0.6189 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.3557, allocations: 25.7 kB / 0.6189 GB, free: 7.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.3557, allocations: 326.8 kB / 0.6193 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.3558, allocations: 47.97 kB / 0.6193 GB, free: 7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.3559, allocations: 55.84 kB / 0.6194 GB, free: 6.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.3566, allocations: 268.7 kB / 0.6196 GB, free: 6.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3566, allocations: 0 / 0.6196 GB, free: 6.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000316/0.3569, allocations: 206.2 kB / 0.6198 GB, free: 6.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3569, allocations: 4 kB / 0.6198 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3569, allocations: 3.984 kB / 0.6198 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.357, allocations: 44.83 kB / 0.6199 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.3571, allocations: 12 kB / 0.6199 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008983/0.358, allocations: 1.547 MB / 0.6214 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3582, allocations: 32.06 kB / 0.6214 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3582, allocations: 3.938 kB / 0.6214 GB, free: 4.68 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.inertia.x_scaled[1]:VARIABLE(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.0001182/0.3583, allocations: 147 kB / 0.6216 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.3584, allocations: 15.91 kB / 0.6216 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.3584, allocations: 21.39 kB / 0.6216 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3584, allocations: 11.88 kB / 0.6216 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3584, allocations: 4 kB / 0.6216 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3584, allocations: 0 / 0.6216 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3586, allocations: 269.4 kB / 0.6219 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3586, allocations: 0 / 0.6219 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.3587, allocations: 8 kB / 0.6219 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.3588, allocations: 48.81 kB / 0.6219 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3588, allocations: 4 kB / 0.6219 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007837/0.3596, allocations: 1.547 MB / 0.6234 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3596, allocations: 0 / 0.6234 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.36, allocations: 360.1 kB / 0.6238 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.36, allocations: 93.03 kB / 0.6239 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.36, allocations: 8 kB / 0.6239 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3603, allocations: 23.95 kB / 0.6239 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.3603, allocations: 8.062 kB / 0.6239 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3603, allocations: 11.94 kB / 0.6239 GB, free: 1.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.3607, allocations: 213.4 kB / 0.6241 GB, free: 1.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3607, allocations: 0 / 0.6241 GB, free: 1.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3609, allocations: 31.94 kB / 0.6242 GB, free: 1.648 MB / 462.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.0005649/0.3615, allocations: 0.8732 MB / 0.625 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.3619, allocations: 246.6 kB / 0.6252 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3619, allocations: 4.062 kB / 0.6252 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3621, allocations: 174.6 kB / 0.6254 GB, free: 312 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3624, allocations: 20 kB / 0.6254 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.366, allocations: 2.354 MB / 0.6277 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3664, allocations: 0.7319 MB / 0.6284 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.3665, allocations: 28.62 kB / 0.6285 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.3666, allocations: 47.42 kB / 0.6285 GB, free: 13.01 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3666, allocations: 0 / 0.6285 GB, free: 13.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.3971, allocations: 3.883 MB / 0.6323 GB, free: 9.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.904/10.3, allocations: 15.69 kB / 0.6323 GB, free: 9.199 MB / 478.1 MB " [Timeout remaining time 650] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_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_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.49931741389446] Failed to read output from testmodel.py, exit status != 0: 10.38507333304733 10.40841758 10.05322417 Calling exit ...