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.001276/0.001276, allocations: 105.5 kB / 17.14 MB, free: 6.047 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.00131/0.00131, allocations: 207.2 kB / 20.11 MB, free: 3.086 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.412/1.412, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.5387/0.5387, allocations: 104 MB / 386.4 MB, free: 13.91 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.002141/0.002141, allocations: 71.89 kB / 0.539 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.149, allocations: 75.95 MB / 0.6132 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.00374/0.1527, allocations: 1.854 MB / 0.615 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1538, allocations: 0.5824 MB / 0.6155 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.1539, allocations: 4 kB / 0.6156 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1542, allocations: 51.69 kB / 0.6156 GB, free: 3.324 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1544, allocations: 55.75 kB / 0.6157 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1546, allocations: 63.86 kB / 0.6157 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1549, allocations: 267.5 kB / 0.616 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.155, allocations: 33.48 kB / 0.616 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1551, allocations: 107.7 kB / 0.6161 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1553, allocations: 123.5 kB / 0.6162 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1554, allocations: 16 kB / 0.6162 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.1554, allocations: 16 kB / 0.6163 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.1555, allocations: 51.89 kB / 0.6163 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.1556, allocations: 71.55 kB / 0.6164 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1558, allocations: 199.2 kB / 0.6166 GB, free: 2.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1558, allocations: 0 / 0.6166 GB, free: 2.336 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1558, allocations: 3.938 kB / 0.6166 GB, free: 2.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1558, allocations: 0 / 0.6166 GB, free: 2.332 MB / 478.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.001164/0.157, allocations: 0.5376 MB / 0.6171 GB, free: 1.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.157, allocations: 12.02 kB / 0.6171 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1571, allocations: 38.75 kB / 0.6171 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1571, allocations: 16.84 kB / 0.6172 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.1577, allocations: 296.5 kB / 0.6174 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1577, allocations: 4.375 kB / 0.6174 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1577, allocations: 8.375 kB / 0.6174 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.1579, allocations: 125.6 kB / 0.6176 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.158, allocations: 0 / 0.6176 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.158, allocations: 4 kB / 0.6176 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.158, allocations: 4 kB / 0.6176 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1582, allocations: 99.94 kB / 0.6177 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.159, allocations: 0.5272 MB / 0.6182 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.1594, allocations: 154.6 kB / 0.6183 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1595, allocations: 52.92 kB / 0.6184 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1595, allocations: 7.984 kB / 0.6184 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.1596, allocations: 34.5 kB / 0.6184 GB, free: 248 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.1596, allocations: 4 kB / 0.6184 GB, free: 244 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008597/0.1604, allocations: 339.3 kB / 0.6188 GB, free: 15.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1605, allocations: 51.78 kB / 0.6188 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.161, allocations: 274.2 kB / 0.6191 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.161, allocations: 33.7 kB / 0.6191 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.1611, allocations: 116.1 kB / 0.6192 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1611, allocations: 43.58 kB / 0.6192 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1612, allocations: 21.7 kB / 0.6193 GB, free: 15.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1613, allocations: 326.8 kB / 0.6196 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1614, allocations: 51.97 kB / 0.6196 GB, free: 14.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.1615, allocations: 47.97 kB / 0.6197 GB, free: 14.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.1623, allocations: 268.6 kB / 0.6199 GB, free: 14.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1623, allocations: 4 kB / 0.6199 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003866/0.1627, allocations: 202.2 kB / 0.6201 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1627, allocations: 6.812 kB / 0.6201 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1627, allocations: 4 kB / 0.6201 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.1629, allocations: 44.81 kB / 0.6202 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.163, allocations: 12 kB / 0.6202 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.1644, allocations: 1.559 MB / 0.6217 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1646, allocations: 27.95 kB / 0.6217 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1647, allocations: 0 / 0.6217 GB, free: 12.61 MB / 494.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.0002102/0.1649, allocations: 151.5 kB / 0.6219 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1649, allocations: 15.91 kB / 0.6219 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.165, allocations: 25.53 kB / 0.6219 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.165, allocations: 11.86 kB / 0.6219 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.165, allocations: 4 kB / 0.6219 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.165, allocations: 0 / 0.6219 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.1653, allocations: 261.5 kB / 0.6222 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1653, allocations: 0 / 0.6222 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.1654, allocations: 19.94 kB / 0.6222 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.1655, allocations: 48.81 kB / 0.6223 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1655, allocations: 4 kB / 0.6223 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.1668, allocations: 1.547 MB / 0.6238 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1668, allocations: 0 / 0.6238 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.1674, allocations: 352.1 kB / 0.6241 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.1674, allocations: 97.14 kB / 0.6242 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1675, allocations: 12 kB / 0.6242 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1677, allocations: 23.95 kB / 0.6242 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1677, allocations: 7.984 kB / 0.6242 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1678, allocations: 7.938 kB / 0.6242 GB, free: 9.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004282/0.1682, allocations: 216.2 kB / 0.6245 GB, free: 9.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1682, allocations: 0 / 0.6245 GB, free: 9.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1685, allocations: 35.94 kB / 0.6245 GB, free: 9.559 MB / 494.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.0008625/0.1693, allocations: 0.8811 MB / 0.6253 GB, free: 8.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.1698, allocations: 238.5 kB / 0.6256 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1698, allocations: 0 / 0.6256 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1701, allocations: 178.6 kB / 0.6257 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1704, allocations: 16 kB / 0.6258 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.174, allocations: 2.341 MB / 0.628 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1744, allocations: 0.7319 MB / 0.6288 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1744, allocations: 24.8 kB / 0.6288 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.1745, allocations: 47.42 kB / 0.6288 GB, free: 4.938 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1745, allocations: 0 / 0.6288 GB, free: 4.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.2053, allocations: 3.849 MB / 0.6326 GB, free: 1.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.641/9.846, allocations: 23.72 kB / 0.6326 GB, free: 1.152 MB / 494.1 MB " [Timeout remaining time 650] (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: 13.286330927003291] Failed to read output from testmodel.py, exit status != 0: 10.196742221000022 10.207666505 10.04926711 Calling exit ...