Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_1.6.1_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.001394/0.001394, allocations: 108.9 kB / 17.54 MB, free: 4.637 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.001356/0.001356, allocations: 182 kB / 20.71 MB, free: 1.48 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.214/1.214, allocations: 207.6 MB / 231.3 MB, free: 3.414 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-maint.1.6.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-maint.1.6.x/package.mo): time 0.484/0.484, allocations: 101.9 MB / 385.3 MB, free: 15.36 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-maint.1.6.x/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_1_6_1_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_1_6_1_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.002089/0.002089, allocations: 71.84 kB / 0.5377 GB, free: 5.062 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1202, allocations: 75.37 MB / 0.6113 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003265/0.1235, allocations: 2.071 MB / 0.6134 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004491/0.1239, allocations: 155.6 kB / 0.6135 GB, free: 7.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1241, allocations: 3.938 kB / 0.6135 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.1242, allocations: 19.73 kB / 0.6135 GB, free: 7.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1243, allocations: 31.72 kB / 0.6136 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1245, allocations: 67.88 kB / 0.6136 GB, free: 7.242 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.1248, allocations: 172 kB / 0.6138 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1249, allocations: 73.2 kB / 0.6139 GB, free: 7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.125, allocations: 63.72 kB / 0.6139 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1251, allocations: 75.62 kB / 0.614 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1251, allocations: 16 kB / 0.614 GB, free: 6.848 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.1252, allocations: 16 kB / 0.614 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1252, allocations: 39.78 kB / 0.6141 GB, free: 6.793 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.1253, allocations: 79.55 kB / 0.6141 GB, free: 6.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1255, allocations: 219 kB / 0.6143 GB, free: 6.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1255, allocations: 7.938 kB / 0.6143 GB, free: 6.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1255, allocations: 0 / 0.6143 GB, free: 6.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1255, allocations: 0 / 0.6143 GB, free: 6.492 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.0006969/0.1262, allocations: 486.5 kB / 0.6148 GB, free: 5.969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1263, allocations: 12.02 kB / 0.6148 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.1263, allocations: 42.75 kB / 0.6149 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1264, allocations: 28.8 kB / 0.6149 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1267, allocations: 244.8 kB / 0.6151 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1267, allocations: 12.38 kB / 0.6151 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1268, allocations: 12.38 kB / 0.6151 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.1271, allocations: 164.2 kB / 0.6153 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1271, allocations: 4 kB / 0.6153 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1271, allocations: 8 kB / 0.6153 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1271, allocations: 4 kB / 0.6153 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1273, allocations: 100.6 kB / 0.6154 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.1282, allocations: 0.7265 MB / 0.6161 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1285, allocations: 114.6 kB / 0.6162 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.1285, allocations: 45 kB / 0.6163 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1286, allocations: 4 kB / 0.6163 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1286, allocations: 30.56 kB / 0.6163 GB, free: 4.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1286, allocations: 4 kB / 0.6163 GB, free: 4.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003681/0.129, allocations: 161.8 kB / 0.6165 GB, free: 4.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.129, allocations: 51.41 kB / 0.6165 GB, free: 4.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1292, allocations: 202.2 kB / 0.6167 GB, free: 3.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1292, allocations: 25.7 kB / 0.6167 GB, free: 3.805 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.1293, allocations: 135.9 kB / 0.6169 GB, free: 3.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1293, allocations: 43.64 kB / 0.6169 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1294, allocations: 25.72 kB / 0.6169 GB, free: 3.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1295, allocations: 334.8 kB / 0.6173 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.1296, allocations: 39.97 kB / 0.6173 GB, free: 3.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.1297, allocations: 54.56 kB / 0.6173 GB, free: 3.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.1303, allocations: 202.4 kB / 0.6175 GB, free: 2.949 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1303, allocations: 0 / 0.6175 GB, free: 2.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002587/0.1305, allocations: 153.4 kB / 0.6177 GB, free: 2.797 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1305, allocations: 7.984 kB / 0.6177 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1305, allocations: 0 / 0.6177 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1306, allocations: 8.062 kB / 0.6177 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1307, allocations: 16 kB / 0.6177 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1307, allocations: 11.92 kB / 0.6177 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.1307, allocations: 15.89 kB / 0.6177 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1308, allocations: 7.938 kB / 0.6177 GB, free: 2.73 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.0001614/0.1309, allocations: 129.8 kB / 0.6179 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.131, allocations: 15.91 kB / 0.6179 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.131, allocations: 21.39 kB / 0.6179 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.131, allocations: 4 kB / 0.6179 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.131, allocations: 0 / 0.6179 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.131, allocations: 0 / 0.6179 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.1313, allocations: 265.5 kB / 0.6182 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1313, allocations: 0 / 0.6182 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.1314, allocations: 27.92 kB / 0.6182 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1314, allocations: 4 kB / 0.6182 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1314, allocations: 7.938 kB / 0.6182 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1314, allocations: 0 / 0.6182 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1314, allocations: 0 / 0.6182 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.1318, allocations: 283.3 kB / 0.6185 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1319, allocations: 89.05 kB / 0.6186 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1319, allocations: 4 kB / 0.6186 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.132, allocations: 8 kB / 0.6186 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.132, allocations: 7.984 kB / 0.6186 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.132, allocations: 0 / 0.6186 GB, free: 1.789 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1322, allocations: 152.5 kB / 0.6187 GB, free: 1.641 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1322, allocations: 4.062 kB / 0.6187 GB, free: 1.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1324, allocations: 31.89 kB / 0.6188 GB, free: 1.605 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.0006316/0.133, allocations: 0.8104 MB / 0.6195 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1333, allocations: 96.03 kB / 0.6196 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1333, allocations: 0 / 0.6196 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.1333, allocations: 43.92 kB / 0.6197 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1336, allocations: 23.98 kB / 0.6197 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1359, allocations: 2.053 MB / 0.6217 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1362, allocations: 0.724 MB / 0.6224 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1363, allocations: 13.08 kB / 0.6224 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.1364, allocations: 51.42 kB / 0.6225 GB, free: 13.65 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1364, allocations: 3.938 kB / 0.6225 GB, free: 13.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.1629, allocations: 3.25 MB / 0.6257 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.545, allocations: 256 / 0.6257 GB, free: 10.46 MB / 494.1 MB " [Timeout remaining time 652] (rm -f Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & python3 -m fmpy simulate --output-file Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Dynawo_1_6_1_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_1.6.1_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.433936543005984]