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.001332/0.001332, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001424/0.001424, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.415/1.415, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.5772/0.5772, allocations: 103 MB / 384.6 MB, free: 20.45 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.002007/0.002007, allocations: 76.44 kB / 0.5367 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 75.63 MB / 0.6106 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003059/0.3463, allocations: 2.058 MB / 0.6126 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.3467, allocations: 147.7 kB / 0.6127 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.3468, allocations: 8 kB / 0.6127 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3469, allocations: 19.73 kB / 0.6128 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.347, allocations: 31.67 kB / 0.6128 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3472, allocations: 63.92 kB / 0.6128 GB, free: 11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.3474, allocations: 175.9 kB / 0.613 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3475, allocations: 61.28 kB / 0.6131 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.3476, allocations: 63.72 kB / 0.6131 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.3477, allocations: 79.48 kB / 0.6132 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3477, allocations: 24 kB / 0.6132 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.3477, allocations: 16 kB / 0.6133 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.3478, allocations: 43.78 kB / 0.6133 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.3478, allocations: 83.48 kB / 0.6134 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.348, allocations: 218.1 kB / 0.6136 GB, free: 10.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.348, allocations: 0 / 0.6136 GB, free: 10.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.348, allocations: 0 / 0.6136 GB, free: 10.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.348, allocations: 0 / 0.6136 GB, free: 10.25 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005997/0.3486, allocations: 494.4 kB / 0.6141 GB, free: 9.723 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3487, allocations: 12.03 kB / 0.6141 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.3487, allocations: 42.75 kB / 0.6141 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3488, allocations: 24.8 kB / 0.6141 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.349, allocations: 240.8 kB / 0.6144 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3491, allocations: 12.38 kB / 0.6144 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3491, allocations: 12.38 kB / 0.6144 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.3493, allocations: 164.3 kB / 0.6145 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3493, allocations: 0 / 0.6145 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3493, allocations: 8 kB / 0.6145 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3493, allocations: 4 kB / 0.6145 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.3495, allocations: 95.89 kB / 0.6146 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.3502, allocations: 0.7304 MB / 0.6154 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3505, allocations: 110.6 kB / 0.6155 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.3505, allocations: 44.84 kB / 0.6155 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3505, allocations: 8 kB / 0.6155 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3506, allocations: 38.48 kB / 0.6155 GB, free: 8.035 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.3506, allocations: 0 / 0.6155 GB, free: 8.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.000329/0.3509, allocations: 157.7 kB / 0.6157 GB, free: 7.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3509, allocations: 55.39 kB / 0.6157 GB, free: 7.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3511, allocations: 198.8 kB / 0.6159 GB, free: 7.602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.3511, allocations: 25.7 kB / 0.616 GB, free: 7.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3511, allocations: 143.8 kB / 0.6161 GB, free: 7.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3511, allocations: 39.64 kB / 0.6161 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3512, allocations: 29.72 kB / 0.6162 GB, free: 7.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.3512, allocations: 330.8 kB / 0.6165 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.3513, allocations: 31.98 kB / 0.6165 GB, free: 6.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.3514, allocations: 62.5 kB / 0.6166 GB, free: 6.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.3519, allocations: 202.4 kB / 0.6168 GB, free: 6.711 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3519, allocations: 0 / 0.6168 GB, free: 6.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001971/0.3521, allocations: 155.8 kB / 0.6169 GB, free: 6.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3521, allocations: 8 kB / 0.6169 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3521, allocations: 0 / 0.6169 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3521, allocations: 0 / 0.6169 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3522, allocations: 31.86 kB / 0.617 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3522, allocations: 0 / 0.617 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.3523, allocations: 19.89 kB / 0.617 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3523, allocations: 0 / 0.617 GB, free: 6.496 MB / 462.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.0001406/0.3524, allocations: 140.9 kB / 0.6171 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3525, allocations: 15.91 kB / 0.6171 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3525, allocations: 25.33 kB / 0.6171 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3525, allocations: 0 / 0.6171 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3525, allocations: 0 / 0.6171 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3525, allocations: 0 / 0.6171 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3527, allocations: 261.5 kB / 0.6174 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3527, allocations: 4 kB / 0.6174 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3528, allocations: 23.98 kB / 0.6174 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3528, allocations: 0 / 0.6174 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3528, allocations: 4 kB / 0.6174 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3528, allocations: 4 kB / 0.6174 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3528, allocations: 0 / 0.6174 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3531, allocations: 283.7 kB / 0.6177 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.3532, allocations: 92.95 kB / 0.6178 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3532, allocations: 0 / 0.6178 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.3533, allocations: 7.984 kB / 0.6178 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3533, allocations: 8.062 kB / 0.6178 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3533, allocations: 4 kB / 0.6178 GB, free: 5.551 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.3534, allocations: 148.5 kB / 0.6179 GB, free: 5.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3534, allocations: 0 / 0.6179 GB, free: 5.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.3536, allocations: 27.95 kB / 0.618 GB, free: 5.379 MB / 462.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.0004482/0.3541, allocations: 0.8222 MB / 0.6188 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3543, allocations: 79.97 kB / 0.6189 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3543, allocations: 4 kB / 0.6189 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.3543, allocations: 43.92 kB / 0.6189 GB, free: 4.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3546, allocations: 23.55 kB / 0.6189 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3565, allocations: 2.064 MB / 0.6209 GB, free: 2.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3566, allocations: 0.7317 MB / 0.6217 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.3567, allocations: 13.08 kB / 0.6217 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.3568, allocations: 51.41 kB / 0.6217 GB, free: 1.414 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.3568, allocations: 0 / 0.6217 GB, free: 1.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3848, allocations: 3.275 MB / 0.6249 GB, free: 14.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.186, allocations: 16.47 kB / 0.6249 GB, free: 14.21 MB / 478.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 --stepSize=0.004 --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: 11.183738619089127] Failed to read output from testmodel.py, exit status != 0: 8.255174183286726 8.277876366 7.925683742 Calling exit ...