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.00102/0.00102, 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.0008817/0.0008817, allocations: 173.5 kB / 23.23 MB, free: 1.332 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 1.16/1.16, allocations: 158.6 MB / 185 MB, free: 3.055 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.4576/0.4576, allocations: 76.92 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 1.924e-06/1.924e-06, allocations: 0 / 481.3 MB, free: 32.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.989e-05, allocations: 5.453 kB / 481.3 MB, free: 32.71 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.0031/0.00313, allocations: 1.971 MB / 483.3 MB, free: 31.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004572/0.003587, allocations: 146 kB / 483.4 MB, free: 31.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.003713, allocations: 6.812 kB / 483.4 MB, free: 31.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.003858, allocations: 19.17 kB / 483.4 MB, free: 31.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003989, allocations: 33.83 kB / 483.5 MB, free: 31.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.004151, allocations: 75.03 kB / 483.6 MB, free: 31.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.004417, allocations: 181.5 kB / 483.7 MB, free: 31.08 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.004585, allocations: 58.03 kB / 483.8 MB, free: 31.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.00464, allocations: 60.28 kB / 483.8 MB, free: 31.02 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.004722, allocations: 54.22 kB / 483.9 MB, free: 31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.004759, allocations: 16.69 kB / 483.9 MB, free: 31 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.004779, allocations: 18.88 kB / 483.9 MB, free: 31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.00481, allocations: 40.06 kB / 484 MB, free: 30.97 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.004853, allocations: 48.72 kB / 484 MB, free: 30.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.005217, allocations: 212.7 kB / 484.2 MB, free: 30.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.005224, allocations: 0 / 484.2 MB, free: 30.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.969e-06/0.005229, allocations: 4 kB / 484.2 MB, free: 30.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.005244, allocations: 2.906 kB / 484.2 MB, free: 30.85 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.000663/0.005907, allocations: 407.1 kB / 484.6 MB, free: 30.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.005956, allocations: 14.41 kB / 484.6 MB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.005997, allocations: 47.81 kB / 484.7 MB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.006039, allocations: 23.2 kB / 484.7 MB, free: 30.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.006434, allocations: 187.9 kB / 484.9 MB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.00645, allocations: 13.78 kB / 484.9 MB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.006479, allocations: 12.03 kB / 484.9 MB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.006798, allocations: 168.6 kB / 485.1 MB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006808, allocations: 192 / 485.1 MB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006821, allocations: 8.125 kB / 485.1 MB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006828, allocations: 3.906 kB / 485.1 MB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.006956, allocations: 89.2 kB / 485.2 MB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.007734, allocations: 0.6176 MB / 485.8 MB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.007969, allocations: 113 kB / 485.9 MB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.008028, allocations: 40.88 kB / 486 MB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.008043, allocations: 3.938 kB / 486 MB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.008063, allocations: 37.44 kB / 486 MB, free: 29.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.008064, allocations: 0 / 486 MB, free: 29.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003108/0.008375, allocations: 156.4 kB / 486.2 MB, free: 29.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.008422, allocations: 58.38 kB / 486.2 MB, free: 29.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.008558, allocations: 199.8 kB / 486.4 MB, free: 29.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.008569, allocations: 31.78 kB / 486.4 MB, free: 29.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.008629, allocations: 135.1 kB / 486.6 MB, free: 29.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.008653, allocations: 41.22 kB / 486.6 MB, free: 28.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.008716, allocations: 29.47 kB / 486.6 MB, free: 28.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.0088, allocations: 324.2 kB / 487 MB, free: 28.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.008884, allocations: 46.41 kB / 487 MB, free: 28.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.008947, allocations: 64.44 kB / 487.1 MB, free: 28.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.009362, allocations: 195.2 kB / 487.3 MB, free: 28.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.009365, allocations: 0 / 487.3 MB, free: 28.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002017/0.009567, allocations: 150.7 kB / 487.4 MB, free: 28.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.009601, allocations: 9.312 kB / 487.4 MB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.009614, allocations: 3.938 kB / 487.4 MB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.009649, allocations: 0 / 487.4 MB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.009754, allocations: 26.66 kB / 487.4 MB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.009765, allocations: 2.875 kB / 487.4 MB, free: 28.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.009802, allocations: 6.922 kB / 487.4 MB, free: 28.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.009812, allocations: 5.875 kB / 487.5 MB, free: 28.4 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.0001699/0.009981, allocations: 142.5 kB / 487.6 MB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.01, allocations: 17.69 kB / 487.6 MB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.01004, allocations: 26.61 kB / 487.6 MB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01004, allocations: 0 / 487.6 MB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.01005, allocations: 2.781 kB / 487.6 MB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01005, allocations: 0 / 487.6 MB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01024, allocations: 210.7 kB / 487.8 MB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01024, allocations: 0 / 487.8 MB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.01034, allocations: 24.72 kB / 487.9 MB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01034, allocations: 3.938 kB / 487.9 MB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01036, allocations: 4 kB / 487.9 MB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01036, allocations: 2.938 kB / 487.9 MB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01036, allocations: 0 / 487.9 MB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.01064, allocations: 290.8 kB / 488.2 MB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.01067, allocations: 21.53 kB / 488.2 MB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01068, allocations: 2.781 kB / 488.2 MB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.01073, allocations: 7.422 kB / 488.2 MB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.01078, allocations: 6.094 kB / 488.2 MB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.01078, allocations: 2.719 kB / 488.2 MB, free: 27.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.01085, allocations: 151.4 kB / 488.3 MB, free: 27.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01085, allocations: 0 / 488.3 MB, free: 27.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000189/0.01104, allocations: 34.52 kB / 488.4 MB, free: 27.71 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.0003958/0.01144, allocations: 0.8119 MB / 489.2 MB, free: 26.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.01161, allocations: 92.5 kB / 489.3 MB, free: 26.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.01162, allocations: 0 / 489.3 MB, free: 26.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.01169, allocations: 45.12 kB / 489.3 MB, free: 26.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01198, allocations: 23.48 kB / 489.4 MB, free: 26.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.01368, allocations: 2.065 MB / 491.4 MB, free: 25.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.01376, allocations: 113.4 kB / 491.5 MB, free: 25.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.01385, allocations: 14.34 kB / 491.5 MB, free: 25.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.01396, allocations: 48.72 kB / 491.6 MB, free: 25.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/0.01396, allocations: 3.938 kB / 491.6 MB, free: 25.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.03997, allocations: 3.961 MB / 495.6 MB, free: 24.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/8.701, allocations: 8.297 kB / 495.6 MB, free: 24.08 MB / 442.7 MB " [Timeout remaining time 651] (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: 11.60577015671879] Failed to read output from testmodel.py, exit status != 0: 8.787754793651402 8.802188937 8.794521933 Calling exit ...