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.001579/0.001579, 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.001619/0.001619, allocations: 210.2 kB / 23.02 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.498/1.498, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.6135/0.6135, allocations: 103.8 MB / 389.9 MB, free: 21.17 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.002179/0.002179, allocations: 75.34 kB / 0.544 GB, free: 7.363 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4108, allocations: 75.98 MB / 0.6182 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002742/0.4135, allocations: 1.98 MB / 0.6201 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.4139, allocations: 155.6 kB / 0.6203 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.414, allocations: 0 / 0.6203 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.4141, allocations: 23.73 kB / 0.6203 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.4142, allocations: 39.66 kB / 0.6203 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.4144, allocations: 59.94 kB / 0.6204 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4146, allocations: 175.9 kB / 0.6206 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.4147, allocations: 69.39 kB / 0.6206 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.4148, allocations: 63.72 kB / 0.6207 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.4149, allocations: 79.5 kB / 0.6208 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.4149, allocations: 16 kB / 0.6208 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.4149, allocations: 20 kB / 0.6208 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.415, allocations: 43.84 kB / 0.6208 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.415, allocations: 63.66 kB / 0.6209 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4152, allocations: 218.2 kB / 0.6211 GB, free: 7.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4152, allocations: 0 / 0.6211 GB, free: 7.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4152, allocations: 0 / 0.6211 GB, free: 7.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4152, allocations: 0 / 0.6211 GB, free: 7.395 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.0005992/0.4158, allocations: 413.3 kB / 0.6215 GB, free: 6.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4159, allocations: 12.03 kB / 0.6215 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.4159, allocations: 46.73 kB / 0.6216 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.416, allocations: 24.8 kB / 0.6216 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.4163, allocations: 188.1 kB / 0.6218 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4163, allocations: 8.375 kB / 0.6218 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.4163, allocations: 16.38 kB / 0.6218 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.4166, allocations: 160.3 kB / 0.6219 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4166, allocations: 0 / 0.6219 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4166, allocations: 4 kB / 0.6219 GB, free: 6.461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4166, allocations: 8 kB / 0.6219 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.4168, allocations: 95.89 kB / 0.622 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.4175, allocations: 0.613 MB / 0.6226 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.4177, allocations: 106.6 kB / 0.6227 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.4178, allocations: 40.84 kB / 0.6228 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4178, allocations: 8 kB / 0.6228 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.4178, allocations: 38.56 kB / 0.6228 GB, free: 5.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.4178, allocations: 0 / 0.6228 GB, free: 5.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003516/0.4182, allocations: 165.7 kB / 0.623 GB, free: 5.316 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4182, allocations: 51.41 kB / 0.623 GB, free: 5.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4184, allocations: 204.4 kB / 0.6232 GB, free: 5.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4184, allocations: 29.7 kB / 0.6233 GB, free: 5.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.4185, allocations: 128 kB / 0.6234 GB, free: 4.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.4185, allocations: 47.7 kB / 0.6234 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.4185, allocations: 29.7 kB / 0.6235 GB, free: 4.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4186, allocations: 330.8 kB / 0.6238 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.4187, allocations: 35.98 kB / 0.6238 GB, free: 4.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.4188, allocations: 66.3 kB / 0.6239 GB, free: 4.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.4193, allocations: 202.3 kB / 0.6241 GB, free: 4.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4193, allocations: 4 kB / 0.6241 GB, free: 4.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002049/0.4195, allocations: 145.5 kB / 0.6242 GB, free: 4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4195, allocations: 8 kB / 0.6242 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4196, allocations: 0 / 0.6242 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4196, allocations: 0 / 0.6242 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4197, allocations: 27.92 kB / 0.6242 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4197, allocations: 0 / 0.6242 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.4198, allocations: 11.89 kB / 0.6242 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.4198, allocations: 4 kB / 0.6242 GB, free: 3.949 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.0001642/0.4199, allocations: 145.6 kB / 0.6244 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.42, allocations: 15.91 kB / 0.6244 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.42, allocations: 21.41 kB / 0.6244 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.42, allocations: 0 / 0.6244 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.42, allocations: 0 / 0.6244 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.42, allocations: 3.984 kB / 0.6244 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4202, allocations: 208.5 kB / 0.6246 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4202, allocations: 0 / 0.6246 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4203, allocations: 27.92 kB / 0.6247 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4203, allocations: 4 kB / 0.6247 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4203, allocations: 4 kB / 0.6247 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4203, allocations: 0 / 0.6247 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4203, allocations: 0 / 0.6247 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4206, allocations: 279.3 kB / 0.6249 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.4207, allocations: 11.94 kB / 0.6249 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4207, allocations: 4 kB / 0.6249 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.4208, allocations: 11.94 kB / 0.625 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4208, allocations: 11.92 kB / 0.625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.4208, allocations: 0 / 0.625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.4209, allocations: 157.5 kB / 0.6251 GB, free: 3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4209, allocations: 0 / 0.6251 GB, free: 3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.4212, allocations: 31.89 kB / 0.6251 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.0005497/0.4217, allocations: 0.8104 MB / 0.6259 GB, free: 2.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.422, allocations: 91.91 kB / 0.626 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.422, allocations: 0 / 0.626 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.422, allocations: 52.09 kB / 0.6261 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4224, allocations: 27.88 kB / 0.6261 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4244, allocations: 2.056 MB / 0.6281 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4246, allocations: 124 kB / 0.6282 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.4246, allocations: 13.08 kB / 0.6282 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4247, allocations: 51.42 kB / 0.6283 GB, free: 15.62 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4247, allocations: 0 / 0.6283 GB, free: 15.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.4617, allocations: 3.86 MB / 0.6321 GB, free: 11.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 11.34 kB / 0.6321 GB, free: 11.82 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: 14.912567463994492] Failed to read output from testmodel.py, exit status != 0: 11.838522320991615 11.863251022 11.443113584 Calling exit ...