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.001361/0.001361, allocations: 104.3 kB / 19.72 MB, free: 1.895 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.001466/0.001466, allocations: 210.8 kB / 23.01 MB, free: 4.996 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.511/1.511, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.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.5988/0.5988, allocations: 103.8 MB / 389.9 MB, free: 21.26 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.002584/0.002584, allocations: 71.91 kB / 0.544 GB, free: 7.398 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4637, allocations: 75.98 MB / 0.6182 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002773/0.4664, allocations: 1.828 MB / 0.62 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.4673, allocations: 0.5426 MB / 0.6205 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.4674, allocations: 0 / 0.6205 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.4677, allocations: 51.7 kB / 0.6206 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.4679, allocations: 63.75 kB / 0.6206 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.4681, allocations: 71.83 kB / 0.6207 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.4684, allocations: 311.5 kB / 0.621 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4685, allocations: 29.73 kB / 0.621 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4687, allocations: 115.6 kB / 0.6211 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.4688, allocations: 123.5 kB / 0.6212 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4689, allocations: 20 kB / 0.6213 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.193e-05/0.4689, allocations: 16 kB / 0.6213 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.4689, allocations: 51.83 kB / 0.6213 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.469, allocations: 51.72 kB / 0.6214 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.4692, allocations: 210.4 kB / 0.6216 GB, free: 6.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4692, allocations: 0 / 0.6216 GB, free: 6.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4692, allocations: 0 / 0.6216 GB, free: 6.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.4692, allocations: 0 / 0.6216 GB, free: 6.938 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001063/0.4703, allocations: 473.3 kB / 0.622 GB, free: 6.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4703, allocations: 11.97 kB / 0.622 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.4703, allocations: 38.75 kB / 0.6221 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.4704, allocations: 16.84 kB / 0.6221 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.4709, allocations: 242.1 kB / 0.6223 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4709, allocations: 4.375 kB / 0.6223 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.4709, allocations: 8.375 kB / 0.6223 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4711, allocations: 117.1 kB / 0.6224 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4711, allocations: 7.875 kB / 0.6225 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4711, allocations: 0 / 0.6225 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4711, allocations: 4 kB / 0.6225 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.4713, allocations: 111.9 kB / 0.6226 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.4719, allocations: 411.6 kB / 0.623 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.4723, allocations: 162.6 kB / 0.6231 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.4724, allocations: 56.83 kB / 0.6232 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4724, allocations: 0 / 0.6232 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.4724, allocations: 30.56 kB / 0.6232 GB, free: 5.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.4724, allocations: 4 kB / 0.6232 GB, free: 5.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007196/0.4732, allocations: 262.1 kB / 0.6234 GB, free: 4.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4732, allocations: 59.39 kB / 0.6235 GB, free: 4.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.4736, allocations: 274.9 kB / 0.6238 GB, free: 4.527 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4737, allocations: 25.7 kB / 0.6238 GB, free: 4.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.4737, allocations: 120.1 kB / 0.6239 GB, free: 4.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.4738, allocations: 35.69 kB / 0.6239 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.4738, allocations: 21.72 kB / 0.624 GB, free: 4.312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.4739, allocations: 330.8 kB / 0.6243 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.474, allocations: 43.98 kB / 0.6243 GB, free: 3.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.4741, allocations: 43.97 kB / 0.6244 GB, free: 3.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.4748, allocations: 272.5 kB / 0.6246 GB, free: 3.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4748, allocations: 0 / 0.6246 GB, free: 3.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003233/0.4751, allocations: 210.2 kB / 0.6248 GB, free: 3.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4752, allocations: 4 kB / 0.6248 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4752, allocations: 3.984 kB / 0.6248 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.4754, allocations: 44.83 kB / 0.6249 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.4754, allocations: 15.98 kB / 0.6249 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.4765, allocations: 1.451 MB / 0.6263 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4767, allocations: 23.95 kB / 0.6263 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4767, allocations: 8.469 kB / 0.6263 GB, free: 1.742 MB / 462.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.0002181/0.4769, allocations: 145.6 kB / 0.6265 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.477, allocations: 23.89 kB / 0.6265 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.477, allocations: 29.39 kB / 0.6265 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.477, allocations: 3.938 kB / 0.6265 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.477, allocations: 0 / 0.6265 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.477, allocations: 4 kB / 0.6265 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.4773, allocations: 208.6 kB / 0.6267 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4773, allocations: 0 / 0.6267 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.4774, allocations: 15.92 kB / 0.6267 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.4775, allocations: 40.83 kB / 0.6268 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4775, allocations: 4 kB / 0.6268 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000975/0.4785, allocations: 1.444 MB / 0.6282 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4785, allocations: 11.92 kB / 0.6282 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.479, allocations: 352.3 kB / 0.6285 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.4791, allocations: 15.94 kB / 0.6286 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.4791, allocations: 7.984 kB / 0.6286 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.4794, allocations: 28.23 kB / 0.6286 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4794, allocations: 11.97 kB / 0.6286 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4795, allocations: 7.938 kB / 0.6286 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005025/0.48, allocations: 208.4 kB / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.48, allocations: 0 / 0.6288 GB, free: 15.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.4802, allocations: 35.94 kB / 0.6288 GB, free: 14.99 MB / 478.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.001037/0.4813, allocations: 0.8773 MB / 0.6297 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.4819, allocations: 246.4 kB / 0.6299 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4819, allocations: 0 / 0.6299 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.4822, allocations: 186.7 kB / 0.6301 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4825, allocations: 15.98 kB / 0.6301 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.4863, allocations: 2.333 MB / 0.6324 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.4865, allocations: 127.3 kB / 0.6325 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.4865, allocations: 16.97 kB / 0.6325 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.4866, allocations: 43.42 kB / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4866, allocations: 0 / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.5298, allocations: 4.479 MB / 0.637 GB, free: 6.582 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.2, allocations: 11.64 kB / 0.637 GB, free: 6.574 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.428891160001513] Failed to read output from testmodel.py, exit status != 0: 12.312955681001768 12.329158891 11.856703043 Calling exit ...