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.001321/0.001321, 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.001474/0.001474, 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.499/1.499, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.6315/0.6315, allocations: 104 MB / 386.4 MB, free: 14.03 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.002121/0.002121, allocations: 67.91 kB / 0.539 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 75.95 MB / 0.6132 GB, free: 5.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.00325/0.1489, allocations: 1.854 MB / 0.615 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.15, allocations: 0.5901 MB / 0.6156 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.1501, allocations: 4 kB / 0.6156 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1504, allocations: 51.69 kB / 0.6156 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1505, allocations: 55.69 kB / 0.6157 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1507, allocations: 59.94 kB / 0.6157 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.151, allocations: 271.5 kB / 0.616 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1512, allocations: 29.48 kB / 0.616 GB, free: 3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1513, allocations: 107.7 kB / 0.6161 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1515, allocations: 119.5 kB / 0.6162 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.1516, allocations: 19.94 kB / 0.6162 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.1516, allocations: 20 kB / 0.6163 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.1517, allocations: 43.91 kB / 0.6163 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.1518, allocations: 75.53 kB / 0.6164 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.152, allocations: 203.2 kB / 0.6166 GB, free: 2.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.152, allocations: 0 / 0.6166 GB, free: 2.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.152, allocations: 0 / 0.6166 GB, free: 2.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.152, allocations: 3.938 kB / 0.6166 GB, free: 2.418 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.001194/0.1532, allocations: 0.5298 MB / 0.6171 GB, free: 1.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1533, allocations: 12.03 kB / 0.6171 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.036e-05/0.1534, allocations: 42.73 kB / 0.6171 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1534, allocations: 16.84 kB / 0.6172 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.154, allocations: 304.5 kB / 0.6174 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.154, allocations: 4.375 kB / 0.6175 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.154, allocations: 12.31 kB / 0.6175 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1543, allocations: 117.7 kB / 0.6176 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1543, allocations: 0 / 0.6176 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1543, allocations: 0 / 0.6176 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1543, allocations: 4 kB / 0.6176 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.1545, allocations: 107.9 kB / 0.6177 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.1554, allocations: 0.5193 MB / 0.6182 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.1559, allocations: 158.6 kB / 0.6183 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.156, allocations: 52.92 kB / 0.6184 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.156, allocations: 3.938 kB / 0.6184 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.156, allocations: 34.56 kB / 0.6184 GB, free: 340 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.156, allocations: 0 / 0.6184 GB, free: 340 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008898/0.1569, allocations: 343.4 kB / 0.6188 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.157, allocations: 51.41 kB / 0.6188 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.1575, allocations: 278.2 kB / 0.6191 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1576, allocations: 25.7 kB / 0.6191 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.1576, allocations: 120.1 kB / 0.6192 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.1577, allocations: 39.64 kB / 0.6192 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.1577, allocations: 25.7 kB / 0.6193 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1579, allocations: 326.8 kB / 0.6196 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.158, allocations: 43.97 kB / 0.6196 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.1581, allocations: 47.92 kB / 0.6197 GB, free: 14.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008515/0.1589, allocations: 281 kB / 0.6199 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.159, allocations: 0 / 0.6199 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004035/0.1594, allocations: 198.2 kB / 0.6201 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1594, allocations: 11.12 kB / 0.6201 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1594, allocations: 0 / 0.6201 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.1596, allocations: 48.81 kB / 0.6202 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.1596, allocations: 16 kB / 0.6202 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1611, allocations: 1.551 MB / 0.6217 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1614, allocations: 35.94 kB / 0.6217 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1614, allocations: 0 / 0.6217 GB, free: 12.69 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.0002258/0.1616, allocations: 155.4 kB / 0.6219 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.1616, allocations: 19.97 kB / 0.6219 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.1617, allocations: 21.39 kB / 0.6219 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1617, allocations: 11.88 kB / 0.6219 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1617, allocations: 3.938 kB / 0.622 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1617, allocations: 0 / 0.622 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.162, allocations: 261.5 kB / 0.6222 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.162, allocations: 0 / 0.6222 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.1621, allocations: 8 kB / 0.6222 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.1622, allocations: 48.83 kB / 0.6223 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1623, allocations: 7.984 kB / 0.6223 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.1636, allocations: 1.547 MB / 0.6238 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1636, allocations: 0 / 0.6238 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.1642, allocations: 356 kB / 0.6241 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.1643, allocations: 97.03 kB / 0.6242 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1643, allocations: 4 kB / 0.6242 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1645, allocations: 32.08 kB / 0.6242 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1646, allocations: 4 kB / 0.6242 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1646, allocations: 7.938 kB / 0.6243 GB, free: 9.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004304/0.165, allocations: 212.1 kB / 0.6245 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.165, allocations: 7.938 kB / 0.6245 GB, free: 9.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1653, allocations: 36.03 kB / 0.6245 GB, free: 9.645 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.0009014/0.1662, allocations: 0.8811 MB / 0.6254 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1667, allocations: 234.5 kB / 0.6256 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1667, allocations: 0 / 0.6256 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.167, allocations: 186.6 kB / 0.6258 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1673, allocations: 12 kB / 0.6258 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.171, allocations: 2.337 MB / 0.628 GB, free: 5.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1714, allocations: 0.7319 MB / 0.6288 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.201e-05/0.1715, allocations: 20.86 kB / 0.6288 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.1716, allocations: 47.42 kB / 0.6288 GB, free: 5.027 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1716, allocations: 0 / 0.6288 GB, free: 5.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.2033, allocations: 3.859 MB / 0.6326 GB, free: 1.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.21, allocations: 11.48 kB / 0.6326 GB, free: 1.242 MB / 494.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.690771202091128] Failed to read output from testmodel.py, exit status != 0: 10.541216331068426 10.552822086 10.398019341 Calling exit ...