Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.48/1.48, allocations: 207.6 MB / 232.1 MB, free: 10.94 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.5841/0.5841, allocations: 103 MB / 387.3 MB, free: 21 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-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.91 kB / 0.5408 GB, free: 9.551 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 75.64 MB / 0.6147 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002634/0.3592, allocations: 2.078 MB / 0.6167 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.3595, allocations: 151.7 kB / 0.6168 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3596, allocations: 11.88 kB / 0.6168 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.3598, allocations: 23.73 kB / 0.6169 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.3598, allocations: 31.67 kB / 0.6169 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.36, allocations: 59.92 kB / 0.617 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3602, allocations: 176 kB / 0.6171 GB, free: 9.918 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3603, allocations: 65.22 kB / 0.6172 GB, free: 9.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.3604, allocations: 63.72 kB / 0.6172 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.3605, allocations: 71.62 kB / 0.6173 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3605, allocations: 20 kB / 0.6173 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.3605, allocations: 16 kB / 0.6174 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.3605, allocations: 47.77 kB / 0.6174 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.3606, allocations: 75.55 kB / 0.6175 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3608, allocations: 222.2 kB / 0.6177 GB, free: 9.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3608, allocations: 0 / 0.6177 GB, free: 9.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3608, allocations: 0 / 0.6177 GB, free: 9.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3608, allocations: 4 kB / 0.6177 GB, free: 9.352 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.00054/0.3613, allocations: 482.5 kB / 0.6181 GB, free: 8.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3614, allocations: 16.02 kB / 0.6182 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.3614, allocations: 42.75 kB / 0.6182 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3615, allocations: 24.8 kB / 0.6182 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3617, allocations: 241.4 kB / 0.6185 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3617, allocations: 16.31 kB / 0.6185 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3617, allocations: 16.38 kB / 0.6185 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.362, allocations: 160.2 kB / 0.6186 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.362, allocations: 0 / 0.6186 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.362, allocations: 8 kB / 0.6186 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.362, allocations: 4 kB / 0.6186 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.3622, allocations: 99.89 kB / 0.6187 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.3628, allocations: 0.7187 MB / 0.6194 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3631, allocations: 118.6 kB / 0.6196 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.3631, allocations: 41.06 kB / 0.6196 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3631, allocations: 7.938 kB / 0.6196 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.3632, allocations: 34.56 kB / 0.6196 GB, free: 7.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3632, allocations: 0 / 0.6196 GB, free: 7.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003218/0.3635, allocations: 157.5 kB / 0.6198 GB, free: 6.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3635, allocations: 55.41 kB / 0.6198 GB, free: 6.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3636, allocations: 202.8 kB / 0.62 GB, free: 6.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3637, allocations: 25.7 kB / 0.6201 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.3637, allocations: 143.9 kB / 0.6202 GB, free: 6.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.3637, allocations: 43.64 kB / 0.6202 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3638, allocations: 29.72 kB / 0.6203 GB, free: 6.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.3638, allocations: 326.8 kB / 0.6206 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.3639, allocations: 43.92 kB / 0.6206 GB, free: 6.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.364, allocations: 54.56 kB / 0.6207 GB, free: 6.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.3645, allocations: 206.4 kB / 0.6209 GB, free: 5.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3645, allocations: 0 / 0.6209 GB, free: 5.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001966/0.3646, allocations: 153.4 kB / 0.621 GB, free: 5.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3647, allocations: 8 kB / 0.621 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3647, allocations: 0 / 0.621 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3647, allocations: 0 / 0.621 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.3648, allocations: 20 kB / 0.621 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3648, allocations: 11.92 kB / 0.6211 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.3649, allocations: 19.95 kB / 0.6211 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3649, allocations: 0 / 0.6211 GB, free: 5.598 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.0001381/0.365, allocations: 133.8 kB / 0.6212 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.365, allocations: 15.91 kB / 0.6212 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.3651, allocations: 21.39 kB / 0.6212 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3651, allocations: 0 / 0.6212 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3651, allocations: 0 / 0.6212 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3651, allocations: 0 / 0.6212 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3653, allocations: 265.5 kB / 0.6215 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3653, allocations: 3.938 kB / 0.6215 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3654, allocations: 23.92 kB / 0.6215 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3654, allocations: 0 / 0.6215 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3654, allocations: 0 / 0.6215 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3654, allocations: 7.938 kB / 0.6215 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3654, allocations: 0 / 0.6215 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3657, allocations: 283.7 kB / 0.6218 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.3657, allocations: 92.98 kB / 0.6219 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3657, allocations: 4 kB / 0.6219 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.3658, allocations: 4 kB / 0.6219 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3659, allocations: 3.984 kB / 0.6219 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3659, allocations: 8 kB / 0.6219 GB, free: 4.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.112e-05/0.366, allocations: 148.5 kB / 0.622 GB, free: 4.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.366, allocations: 0 / 0.622 GB, free: 4.512 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3662, allocations: 27.95 kB / 0.6221 GB, free: 4.484 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.0004027/0.3666, allocations: 0.8144 MB / 0.6229 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3668, allocations: 87.91 kB / 0.6229 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3668, allocations: 7.938 kB / 0.623 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3669, allocations: 48.11 kB / 0.623 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3672, allocations: 27.64 kB / 0.623 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3689, allocations: 2.06 MB / 0.625 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.369, allocations: 0.724 MB / 0.6257 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.602e-05/0.3691, allocations: 13.08 kB / 0.6258 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.3692, allocations: 51.42 kB / 0.6258 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3692, allocations: 0 / 0.6258 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.3966, allocations: 3.253 MB / 0.629 GB, free: 13.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.377, allocations: 27.2 kB / 0.629 GB, free: 13.31 MB / 478.1 MB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_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_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.577633616048843] Failed to read output from testmodel.py, exit status != 0: 8.448256999719888 8.471072306 8.105466341 Calling exit ...