Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.001265/0.001265, allocations: 126.8 kB / 17.87 MB, free: 5.051 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.001462/0.001462, allocations: 204.2 kB / 20.82 MB, free: 2.117 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.445/1.445, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.5789/0.5789, allocations: 104 MB / 387.1 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.ReducedOrderSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="cs",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.002222/0.002222, allocations: 75.89 kB / 0.5397 GB, free: 1.863 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1975, allocations: 75.95 MB / 0.6139 GB, free: 5.832 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003697/0.2012, allocations: 2.057 MB / 0.6159 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.2016, allocations: 151.7 kB / 0.616 GB, free: 3.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2017, allocations: 3.938 kB / 0.616 GB, free: 3.602 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.2019, allocations: 23.73 kB / 0.616 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.202, allocations: 35.67 kB / 0.6161 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2022, allocations: 59.94 kB / 0.6161 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.2025, allocations: 183.9 kB / 0.6163 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2027, allocations: 65.22 kB / 0.6164 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.2028, allocations: 63.73 kB / 0.6164 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2029, allocations: 75.61 kB / 0.6165 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.2029, allocations: 20 kB / 0.6165 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.203, allocations: 16 kB / 0.6165 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.203, allocations: 39.78 kB / 0.6166 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.2031, allocations: 87.47 kB / 0.6167 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2034, allocations: 211.1 kB / 0.6169 GB, free: 2.734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2034, allocations: 4 kB / 0.6169 GB, free: 2.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2034, allocations: 0 / 0.6169 GB, free: 2.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2034, allocations: 0 / 0.6169 GB, free: 2.73 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.0007951/0.2042, allocations: 486.5 kB / 0.6173 GB, free: 2.207 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2043, allocations: 12.03 kB / 0.6173 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.2043, allocations: 8.188 kB / 0.6173 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2043, allocations: 46.73 kB / 0.6174 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2044, allocations: 24.73 kB / 0.6174 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.2047, allocations: 232.9 kB / 0.6176 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2048, allocations: 12.38 kB / 0.6176 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.2048, allocations: 24.3 kB / 0.6177 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2051, allocations: 164.1 kB / 0.6178 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2052, allocations: 0 / 0.6178 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2052, allocations: 7.938 kB / 0.6178 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2052, allocations: 4 kB / 0.6178 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.2054, allocations: 96.64 kB / 0.6179 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2064, allocations: 0.7265 MB / 0.6186 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.2068, allocations: 114.6 kB / 0.6187 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2069, allocations: 44.78 kB / 0.6188 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2069, allocations: 0 / 0.6188 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2069, allocations: 46.55 kB / 0.6188 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.2069, allocations: 0 / 0.6188 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004138/0.2073, allocations: 157.7 kB / 0.619 GB, free: 352 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2074, allocations: 55.41 kB / 0.619 GB, free: 284 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2076, allocations: 201.8 kB / 0.6192 GB, free: 68 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2076, allocations: 25.7 kB / 0.6192 GB, free: 36 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2078, allocations: 140 kB / 0.6194 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.2078, allocations: 47.64 kB / 0.6194 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.2079, allocations: 29.7 kB / 0.6195 GB, free: 15.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.208, allocations: 326.8 kB / 0.6198 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.2081, allocations: 39.98 kB / 0.6198 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.2082, allocations: 54.56 kB / 0.6199 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.2089, allocations: 205.3 kB / 0.6201 GB, free: 15.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2089, allocations: 0 / 0.6201 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002829/0.2091, allocations: 141.5 kB / 0.6202 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2092, allocations: 12.06 kB / 0.6202 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2092, allocations: 0 / 0.6202 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2092, allocations: 0 / 0.6202 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2093, allocations: 27.92 kB / 0.6202 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2093, allocations: 0 / 0.6202 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.2094, allocations: 15.89 kB / 0.6202 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2094, allocations: 8 kB / 0.6203 GB, free: 14.97 MB / 494.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.0002087/0.2096, allocations: 138.4 kB / 0.6204 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2097, allocations: 15.91 kB / 0.6204 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.2097, allocations: 21.41 kB / 0.6204 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2097, allocations: 4 kB / 0.6204 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2097, allocations: 0 / 0.6204 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2097, allocations: 3.984 kB / 0.6204 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.21, allocations: 265.4 kB / 0.6207 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.21, allocations: 0 / 0.6207 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2102, allocations: 23.92 kB / 0.6207 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2102, allocations: 0 / 0.6207 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2102, allocations: 0 / 0.6207 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2102, allocations: 3.938 kB / 0.6207 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2102, allocations: 8 kB / 0.6207 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2106, allocations: 275.3 kB / 0.621 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.2107, allocations: 93.03 kB / 0.6211 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2107, allocations: 8 kB / 0.6211 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.2108, allocations: 0 / 0.6211 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2108, allocations: 7.984 kB / 0.6211 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2109, allocations: 8.062 kB / 0.6211 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.211, allocations: 152.5 kB / 0.6212 GB, free: 13.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.211, allocations: 0 / 0.6212 GB, free: 13.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2112, allocations: 31.89 kB / 0.6213 GB, free: 13.84 MB / 494.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.0007269/0.212, allocations: 0.8011 MB / 0.622 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.2122, allocations: 103.8 kB / 0.6221 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2122, allocations: 0 / 0.6221 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2124, allocations: 48.58 kB / 0.6222 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2127, allocations: 22.8 kB / 0.6222 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.2153, allocations: 2.057 MB / 0.6242 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2156, allocations: 0.724 MB / 0.6249 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.996e-05/0.2157, allocations: 17.08 kB / 0.6249 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.2158, allocations: 51.42 kB / 0.625 GB, free: 9.883 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.2158, allocations: 0 / 0.625 GB, free: 9.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.2376, allocations: 3.312 MB / 0.6282 GB, free: 6.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.07, allocations: 8 kB / 0.6282 GB, free: 6.641 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.561277617991436] Failed to read output from testmodel.py, exit status != 0: 9.196462709980551 9.501659786 9.29591647 Calling exit ...