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.001476/0.001476, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001642/0.001642, allocations: 217.1 kB / 23.03 MB, free: 4.969 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.516/1.516, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.6261/0.6261, allocations: 103.9 MB / 390 MB, free: 20.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_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.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.002196/0.002196, allocations: 71.89 kB / 0.5441 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4, allocations: 76 MB / 0.6183 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002676/0.4027, allocations: 2.066 MB / 0.6203 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.4031, allocations: 159.7 kB / 0.6205 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.4032, allocations: 3.938 kB / 0.6205 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.4033, allocations: 19.73 kB / 0.6205 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.175e-05/0.4034, allocations: 31.73 kB / 0.6205 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.4036, allocations: 67.86 kB / 0.6206 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.4038, allocations: 172 kB / 0.6208 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.4039, allocations: 65.64 kB / 0.6208 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.404, allocations: 63.67 kB / 0.6209 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.4041, allocations: 83.48 kB / 0.621 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.4041, allocations: 16 kB / 0.621 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.4041, allocations: 20 kB / 0.621 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.4041, allocations: 43.78 kB / 0.621 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.4042, allocations: 79.55 kB / 0.6211 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4044, allocations: 222.2 kB / 0.6213 GB, free: 7.508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4044, allocations: 0 / 0.6213 GB, free: 7.508 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4044, allocations: 0 / 0.6213 GB, free: 7.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4044, allocations: 0 / 0.6213 GB, free: 7.508 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.0005715/0.405, allocations: 413.4 kB / 0.6217 GB, free: 7.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.405, allocations: 12.03 kB / 0.6217 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.4051, allocations: 42.75 kB / 0.6218 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.4051, allocations: 24.8 kB / 0.6218 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4054, allocations: 188.1 kB / 0.622 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.4054, allocations: 12.38 kB / 0.622 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.4054, allocations: 12.38 kB / 0.622 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.4056, allocations: 164.2 kB / 0.6222 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4057, allocations: 0 / 0.6222 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4057, allocations: 12 kB / 0.6222 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4057, allocations: 4 kB / 0.6222 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.4059, allocations: 95.89 kB / 0.6223 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.4065, allocations: 0.6866 MB / 0.6229 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.4068, allocations: 114.6 kB / 0.623 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.4068, allocations: 44.84 kB / 0.6231 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4069, allocations: 0 / 0.6231 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4069, allocations: 30.56 kB / 0.6231 GB, free: 5.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.4069, allocations: 4 kB / 0.6231 GB, free: 5.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003187/0.4072, allocations: 165.7 kB / 0.6233 GB, free: 5.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.4072, allocations: 51.41 kB / 0.6233 GB, free: 5.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4074, allocations: 196.5 kB / 0.6235 GB, free: 5.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.4074, allocations: 33.69 kB / 0.6235 GB, free: 5.035 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.4074, allocations: 135.9 kB / 0.6237 GB, free: 4.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4074, allocations: 39.64 kB / 0.6237 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.4075, allocations: 29.7 kB / 0.6237 GB, free: 4.824 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.4075, allocations: 330.8 kB / 0.6241 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.4076, allocations: 35.98 kB / 0.6241 GB, free: 4.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.4077, allocations: 58.55 kB / 0.6241 GB, free: 4.391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.4082, allocations: 206.3 kB / 0.6243 GB, free: 4.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4082, allocations: 4 kB / 0.6243 GB, free: 4.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001959/0.4084, allocations: 145.5 kB / 0.6245 GB, free: 4.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4084, allocations: 11.22 kB / 0.6245 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4084, allocations: 0 / 0.6245 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4084, allocations: 8.062 kB / 0.6245 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4085, allocations: 23.98 kB / 0.6245 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4085, allocations: 0 / 0.6245 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.4086, allocations: 19.89 kB / 0.6245 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4086, allocations: 7.938 kB / 0.6246 GB, free: 3.961 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.0001432/0.4087, allocations: 137.6 kB / 0.6247 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4088, allocations: 15.91 kB / 0.6247 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.4088, allocations: 21.39 kB / 0.6247 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4088, allocations: 8 kB / 0.6247 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4088, allocations: 0 / 0.6247 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4088, allocations: 3.984 kB / 0.6247 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.409, allocations: 236.6 kB / 0.625 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.409, allocations: 0 / 0.625 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4091, allocations: 19.98 kB / 0.625 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4091, allocations: 0 / 0.625 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4091, allocations: 0 / 0.625 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4091, allocations: 3.938 kB / 0.625 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.4091, allocations: 0 / 0.625 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.4094, allocations: 279.3 kB / 0.6252 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.4094, allocations: 19.86 kB / 0.6253 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4095, allocations: 8 kB / 0.6253 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.4096, allocations: 0 / 0.6253 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.4096, allocations: 7.984 kB / 0.6253 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4096, allocations: 4 kB / 0.6253 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.4097, allocations: 153.5 kB / 0.6254 GB, free: 3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 4.062 kB / 0.6254 GB, free: 2.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.4099, allocations: 27.95 kB / 0.6255 GB, free: 2.969 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.0004172/0.4103, allocations: 0.8103 MB / 0.6262 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4105, allocations: 96.03 kB / 0.6263 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4105, allocations: 0 / 0.6263 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.4106, allocations: 47.97 kB / 0.6264 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4109, allocations: 23.92 kB / 0.6264 GB, free: 1.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.4128, allocations: 2.064 MB / 0.6284 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4131, allocations: 0.7201 MB / 0.6291 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.4132, allocations: 21.08 kB / 0.6291 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.4133, allocations: 51.42 kB / 0.6292 GB, free: 15 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4133, allocations: 0 / 0.6292 GB, free: 15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.4479, allocations: 3.427 MB / 0.6325 GB, free: 11.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 4.062 kB / 0.6325 GB, free: 11.63 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.044590767938644] Failed to read output from testmodel.py, exit status != 0: 11.903751611011103 11.919356427 11.511969765 Calling exit ...