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.0009243/0.0009243, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0009177/0.0009177, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 0.8721/0.8721, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.3723/0.3723, allocations: 76.91 MB / 314.2 MB, free: 10.73 MB / 298.7 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 481.3 MB, free: 32.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.377e-05, allocations: 5.562 kB / 481.3 MB, free: 32.55 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.00217/0.002194, allocations: 1.967 MB / 483.3 MB, free: 31.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.002571, allocations: 148.2 kB / 483.4 MB, free: 31.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.002666, allocations: 2.469 kB / 483.4 MB, free: 31.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.002783, allocations: 26.36 kB / 483.5 MB, free: 31.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.00286, allocations: 37.81 kB / 483.5 MB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.002994, allocations: 63.92 kB / 483.6 MB, free: 31.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003162, allocations: 178 kB / 483.7 MB, free: 30.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.00331, allocations: 66.61 kB / 483.8 MB, free: 30.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.003356, allocations: 61.5 kB / 483.9 MB, free: 30.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.003431, allocations: 52.72 kB / 483.9 MB, free: 30.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.003464, allocations: 16.72 kB / 483.9 MB, free: 30.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.003484, allocations: 15.91 kB / 483.9 MB, free: 30.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.003512, allocations: 43.84 kB / 484 MB, free: 30.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.003553, allocations: 51.62 kB / 484 MB, free: 30.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.003743, allocations: 211.7 kB / 484.2 MB, free: 30.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003747, allocations: 2.969 kB / 484.2 MB, free: 30.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.003749, allocations: 0 / 484.2 MB, free: 30.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.003755, allocations: 0 / 484.2 MB, free: 30.68 MB / 442.7 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.0004994/0.004254, allocations: 417.6 kB / 484.6 MB, free: 30.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.004297, allocations: 8.688 kB / 484.7 MB, free: 30.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.004329, allocations: 47.38 kB / 484.7 MB, free: 30.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.004362, allocations: 21.83 kB / 484.7 MB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.0046, allocations: 190.9 kB / 484.9 MB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.004611, allocations: 7.312 kB / 484.9 MB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.004634, allocations: 13.38 kB / 484.9 MB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.004835, allocations: 166.5 kB / 485.1 MB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.004844, allocations: 192 / 485.1 MB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.004857, allocations: 12.03 kB / 485.1 MB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.004863, allocations: 3.906 kB / 485.1 MB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.004991, allocations: 95.89 kB / 485.2 MB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.005522, allocations: 0.6025 MB / 485.8 MB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.005717, allocations: 109.6 kB / 485.9 MB, free: 29.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.005767, allocations: 44.23 kB / 486 MB, free: 29.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.00578, allocations: 6.938 kB / 486 MB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.005792, allocations: 30.56 kB / 486 MB, free: 29.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.005793, allocations: 0 / 486 MB, free: 29.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002439/0.006037, allocations: 165.8 kB / 486.2 MB, free: 29.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.006059, allocations: 54.22 kB / 486.2 MB, free: 29.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006167, allocations: 196.4 kB / 486.4 MB, free: 29.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.006174, allocations: 25.7 kB / 486.4 MB, free: 28.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.006225, allocations: 141 kB / 486.6 MB, free: 28.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.006245, allocations: 40.64 kB / 486.6 MB, free: 28.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.006278, allocations: 28.28 kB / 486.6 MB, free: 28.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.006315, allocations: 327.5 kB / 487 MB, free: 28.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.006366, allocations: 41 kB / 487 MB, free: 28.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.006421, allocations: 62.92 kB / 487.1 MB, free: 28.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.006761, allocations: 202.2 kB / 487.2 MB, free: 28.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006763, allocations: 0 / 487.2 MB, free: 28.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001468/0.00691, allocations: 149.8 kB / 487.4 MB, free: 28.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006925, allocations: 8.797 kB / 487.4 MB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.006932, allocations: 2.781 kB / 487.4 MB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.006944, allocations: 0 / 487.4 MB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.00701, allocations: 31.16 kB / 487.4 MB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.007015, allocations: 3.984 kB / 487.4 MB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.007051, allocations: 13.67 kB / 487.5 MB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.007057, allocations: 2.844 kB / 487.5 MB, free: 28.24 MB / 442.7 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.0001213/0.007179, allocations: 132.3 kB / 487.6 MB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.0072, allocations: 20.44 kB / 487.6 MB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.007227, allocations: 22.36 kB / 487.6 MB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007229, allocations: 0 / 487.6 MB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.007234, allocations: 0 / 487.6 MB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007237, allocations: 3.281 kB / 487.6 MB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.007375, allocations: 212.7 kB / 487.8 MB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007377, allocations: 2.312 kB / 487.8 MB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.00745, allocations: 29.84 kB / 487.9 MB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.007451, allocations: 3.938 kB / 487.9 MB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.007462, allocations: 6.781 kB / 487.9 MB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007464, allocations: 0 / 487.9 MB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007465, allocations: 0 / 487.9 MB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.007686, allocations: 274.1 kB / 488.1 MB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.007707, allocations: 24.7 kB / 488.2 MB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.007723, allocations: 4.062 kB / 488.2 MB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.007768, allocations: 2.844 kB / 488.2 MB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.007809, allocations: 10.31 kB / 488.2 MB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.007817, allocations: 6.656 kB / 488.2 MB, free: 27.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.007898, allocations: 150.9 kB / 488.3 MB, free: 27.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007898, allocations: 0 / 488.3 MB, free: 27.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.008058, allocations: 33.98 kB / 488.4 MB, free: 27.54 MB / 442.7 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.0003064/0.008364, allocations: 0.8065 MB / 489.2 MB, free: 26.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.008518, allocations: 95.22 kB / 489.3 MB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00852, allocations: 0 / 489.3 MB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.008571, allocations: 49.44 kB / 489.3 MB, free: 26.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.008802, allocations: 23.75 kB / 489.3 MB, free: 26.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.01019, allocations: 2.064 MB / 491.4 MB, free: 25.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.01025, allocations: 115 kB / 491.5 MB, free: 25.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.0103, allocations: 12.88 kB / 491.5 MB, free: 25.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.01037, allocations: 52.39 kB / 491.6 MB, free: 25.09 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01037, allocations: 2.875 kB / 491.6 MB, free: 25.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.03144, allocations: 3.965 MB / 495.6 MB, free: 23.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.576, allocations: 9.297 kB / 495.6 MB, free: 23.92 MB / 442.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Dynawo_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.968454441986978] Failed to read output from testmodel.py, exit status != 0: 7.658378093503416 7.66864691 7.66201916 Calling exit ...