Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.00123/0.00123, allocations: 112.1 kB / 17.6 MB, free: 4.668 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.001242/0.001242, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.397/1.397, allocations: 207.6 MB / 231.4 MB, free: 3.41 MB / 174.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.5356/0.5356, allocations: 101.8 MB / 385.3 MB, free: 15.41 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.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",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.002109/0.002109, allocations: 71.89 kB / 0.5378 GB, free: 5.141 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1533, allocations: 75.37 MB / 0.6114 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003677/0.157, allocations: 2.074 MB / 0.6134 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.1575, allocations: 147.7 kB / 0.6136 GB, free: 7.438 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1576, allocations: 7.938 kB / 0.6136 GB, free: 7.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1577, allocations: 19.73 kB / 0.6136 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1578, allocations: 35.72 kB / 0.6136 GB, free: 7.375 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1581, allocations: 63.88 kB / 0.6137 GB, free: 7.312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1583, allocations: 172 kB / 0.6138 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1585, allocations: 73.2 kB / 0.6139 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.1586, allocations: 67.66 kB / 0.614 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1587, allocations: 67.62 kB / 0.614 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1587, allocations: 20 kB / 0.6141 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.1588, allocations: 16 kB / 0.6141 GB, free: 6.902 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1588, allocations: 43.78 kB / 0.6141 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.1589, allocations: 83.55 kB / 0.6142 GB, free: 6.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1592, allocations: 219 kB / 0.6144 GB, free: 6.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1592, allocations: 0 / 0.6144 GB, free: 6.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1592, allocations: 0 / 0.6144 GB, free: 6.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1592, allocations: 0 / 0.6144 GB, free: 6.562 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009128/0.1601, allocations: 490.3 kB / 0.6149 GB, free: 6.039 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1602, allocations: 16.03 kB / 0.6149 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1602, allocations: 42.75 kB / 0.6149 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1603, allocations: 28.78 kB / 0.615 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1607, allocations: 236.8 kB / 0.6152 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1607, allocations: 12.38 kB / 0.6152 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1607, allocations: 16.31 kB / 0.6152 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.161, allocations: 168.2 kB / 0.6154 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.161, allocations: 0 / 0.6154 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1611, allocations: 8 kB / 0.6154 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1611, allocations: 4 kB / 0.6154 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.1613, allocations: 100.4 kB / 0.6155 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009612/0.1622, allocations: 0.7187 MB / 0.6162 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.1625, allocations: 114.5 kB / 0.6163 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.1626, allocations: 44.84 kB / 0.6163 GB, free: 4.398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1626, allocations: 4 kB / 0.6163 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1627, allocations: 38.55 kB / 0.6164 GB, free: 4.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.1627, allocations: 0 / 0.6164 GB, free: 4.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004064/0.1631, allocations: 153.9 kB / 0.6165 GB, free: 4.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1631, allocations: 59.55 kB / 0.6166 GB, free: 4.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1634, allocations: 198.2 kB / 0.6168 GB, free: 3.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1634, allocations: 29.64 kB / 0.6168 GB, free: 3.879 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1635, allocations: 139.8 kB / 0.6169 GB, free: 3.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1635, allocations: 39.64 kB / 0.617 GB, free: 3.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.1636, allocations: 33.72 kB / 0.617 GB, free: 3.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.1638, allocations: 330.8 kB / 0.6173 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1639, allocations: 31.98 kB / 0.6173 GB, free: 3.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.164, allocations: 61.94 kB / 0.6174 GB, free: 3.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.1646, allocations: 202.4 kB / 0.6176 GB, free: 3.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1646, allocations: 0 / 0.6176 GB, free: 3.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002819/0.1649, allocations: 149.5 kB / 0.6177 GB, free: 2.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1649, allocations: 8 kB / 0.6177 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1649, allocations: 4.062 kB / 0.6177 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1649, allocations: 0 / 0.6177 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.165, allocations: 23.98 kB / 0.6178 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1651, allocations: 4 kB / 0.6178 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.1651, allocations: 15.89 kB / 0.6178 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1651, allocations: 0 / 0.6178 GB, free: 2.816 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.1653, allocations: 138.9 kB / 0.6179 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1654, allocations: 15.91 kB / 0.6179 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.1654, allocations: 25.39 kB / 0.618 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1654, allocations: 0 / 0.618 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1654, allocations: 4 kB / 0.618 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1654, allocations: 0 / 0.618 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1657, allocations: 265.5 kB / 0.6182 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1657, allocations: 0 / 0.6182 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1659, allocations: 27.92 kB / 0.6182 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1659, allocations: 0 / 0.6182 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1659, allocations: 0 / 0.6182 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1659, allocations: 7.984 kB / 0.6183 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1659, allocations: 0 / 0.6183 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.1663, allocations: 287.3 kB / 0.6185 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.1664, allocations: 92.98 kB / 0.6186 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1664, allocations: 0 / 0.6186 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.1665, allocations: 15.98 kB / 0.6186 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1665, allocations: 0 / 0.6186 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1665, allocations: 7.938 kB / 0.6186 GB, free: 1.855 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1667, allocations: 152.5 kB / 0.6188 GB, free: 1.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1667, allocations: 0 / 0.6188 GB, free: 1.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1669, allocations: 27.95 kB / 0.6188 GB, free: 1.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007765/0.1677, allocations: 0.8105 MB / 0.6196 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.168, allocations: 95.78 kB / 0.6197 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.168, allocations: 4 kB / 0.6197 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1681, allocations: 43.92 kB / 0.6197 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1684, allocations: 19.98 kB / 0.6198 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.171, allocations: 2.065 MB / 0.6218 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1713, allocations: 0.7279 MB / 0.6225 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.1714, allocations: 13.08 kB / 0.6225 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.1715, allocations: 47.41 kB / 0.6225 GB, free: 13.72 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1715, allocations: 0 / 0.6225 GB, free: 13.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1994, allocations: 3.247 MB / 0.6257 GB, free: 10.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.157, allocations: 8.062 kB / 0.6257 GB, free: 10.5 MB / 494.1 MB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.56989306898322] Failed to read output from testmodel.py, exit status != 0: 8.23798929899931 8.482608207 8.320558076 Calling exit ...