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.001355/0.001355, allocations: 105 kB / 20.5 MB, free: 1.473 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.001587/0.001587, allocations: 220.4 kB / 23.82 MB, free: 4.691 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.42/1.42, allocations: 207.6 MB / 234.6 MB, free: 9.988 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.6306/0.6306, allocations: 103.9 MB / 390.8 MB, free: 20.43 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.002165/0.002165, allocations: 71.34 kB / 0.5449 GB, free: 7.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3607, allocations: 76 MB / 0.6191 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002557/0.3632, allocations: 2.072 MB / 0.6211 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.3635, allocations: 151.7 kB / 0.6212 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3636, allocations: 3.938 kB / 0.6212 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.3638, allocations: 23.73 kB / 0.6213 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.3639, allocations: 39.66 kB / 0.6213 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.364, allocations: 55.94 kB / 0.6214 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3642, allocations: 179.9 kB / 0.6215 GB, free: 8.098 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3644, allocations: 65.64 kB / 0.6216 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.3644, allocations: 63.72 kB / 0.6217 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.3645, allocations: 79.5 kB / 0.6217 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3645, allocations: 16 kB / 0.6217 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.3645, allocations: 20 kB / 0.6218 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.3646, allocations: 39.84 kB / 0.6218 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.3646, allocations: 87.47 kB / 0.6219 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3648, allocations: 214.2 kB / 0.6221 GB, free: 7.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3648, allocations: 3.984 kB / 0.6221 GB, free: 7.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3648, allocations: 0 / 0.6221 GB, free: 7.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3648, allocations: 0 / 0.6221 GB, free: 7.523 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.0005345/0.3654, allocations: 409.4 kB / 0.6225 GB, free: 7.094 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3654, allocations: 12.03 kB / 0.6225 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.691e-05/0.3654, allocations: 4.188 kB / 0.6225 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.3655, allocations: 54.67 kB / 0.6226 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3655, allocations: 20.8 kB / 0.6226 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3657, allocations: 184.1 kB / 0.6227 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3657, allocations: 12.38 kB / 0.6228 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3658, allocations: 12.38 kB / 0.6228 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.366, allocations: 164.1 kB / 0.6229 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.366, allocations: 3.984 kB / 0.6229 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.366, allocations: 4 kB / 0.6229 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.366, allocations: 4 kB / 0.6229 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3662, allocations: 95.91 kB / 0.623 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.3668, allocations: 0.6904 MB / 0.6237 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3671, allocations: 110.6 kB / 0.6238 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.3672, allocations: 44.84 kB / 0.6239 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3672, allocations: 0 / 0.6239 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3672, allocations: 38.56 kB / 0.6239 GB, free: 5.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.3672, allocations: 0 / 0.6239 GB, free: 5.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003204/0.3675, allocations: 165.7 kB / 0.624 GB, free: 5.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3675, allocations: 51.41 kB / 0.6241 GB, free: 5.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3677, allocations: 196.5 kB / 0.6243 GB, free: 5.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3677, allocations: 25.7 kB / 0.6243 GB, free: 5.055 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3678, allocations: 143.8 kB / 0.6244 GB, free: 4.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3678, allocations: 47.7 kB / 0.6245 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.3678, allocations: 25.72 kB / 0.6245 GB, free: 4.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.3679, allocations: 334.8 kB / 0.6248 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.3679, allocations: 35.98 kB / 0.6249 GB, free: 4.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.368, allocations: 54.56 kB / 0.6249 GB, free: 4.398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.3685, allocations: 206.3 kB / 0.6251 GB, free: 4.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3685, allocations: 0 / 0.6251 GB, free: 4.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002069/0.3687, allocations: 149.5 kB / 0.6253 GB, free: 4.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3687, allocations: 8.062 kB / 0.6253 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3687, allocations: 0 / 0.6253 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3688, allocations: 4 kB / 0.6253 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3689, allocations: 27.86 kB / 0.6253 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3689, allocations: 4 kB / 0.6253 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3689, allocations: 15.89 kB / 0.6253 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3689, allocations: 4 kB / 0.6253 GB, free: 3.973 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.0001288/0.3691, allocations: 133.6 kB / 0.6254 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3691, allocations: 19.91 kB / 0.6255 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3691, allocations: 25.38 kB / 0.6255 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3691, allocations: 0 / 0.6255 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3692, allocations: 0 / 0.6255 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3692, allocations: 4 kB / 0.6255 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3693, allocations: 232.5 kB / 0.6257 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3693, allocations: 4 kB / 0.6257 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3695, allocations: 15.94 kB / 0.6257 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3695, allocations: 4 kB / 0.6257 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3695, allocations: 0 / 0.6257 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3695, allocations: 0 / 0.6257 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3695, allocations: 7.984 kB / 0.6257 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3698, allocations: 279.2 kB / 0.626 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.3698, allocations: 15.88 kB / 0.626 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3698, allocations: 12 kB / 0.626 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.3699, allocations: 3.984 kB / 0.626 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.3699, allocations: 7.984 kB / 0.6261 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3699, allocations: 8.062 kB / 0.6261 GB, free: 3.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.63e-05/0.37, allocations: 153.4 kB / 0.6262 GB, free: 3.008 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.37, allocations: 0 / 0.6262 GB, free: 3.008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3703, allocations: 31.95 kB / 0.6262 GB, free: 2.977 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.0004095/0.3707, allocations: 0.8027 MB / 0.627 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3709, allocations: 91.94 kB / 0.6271 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3709, allocations: 4 kB / 0.6271 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.3709, allocations: 47.92 kB / 0.6272 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3713, allocations: 23.92 kB / 0.6272 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3732, allocations: 2.065 MB / 0.6292 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.3737, allocations: 0.7318 MB / 0.6299 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.3737, allocations: 9.078 kB / 0.6299 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3738, allocations: 55.36 kB / 0.63 GB, free: 15 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3738, allocations: 0 / 0.63 GB, free: 15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.4008, allocations: 3.449 MB / 0.6333 GB, free: 11.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 4.062 kB / 0.6333 GB, free: 11.62 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.821328076999635] Failed to read output from testmodel.py, exit status != 0: 11.818894541007467 11.835301801 11.467238168 Calling exit ...