Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.001407/0.001407, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001497/0.001497, allocations: 220.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8519/0.8519, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.002258/0.002258, allocations: 71.23 kB / 0.6186 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1605, allocations: 85.9 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002776/0.1633, allocations: 1.611 MB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1643, allocations: 0.5803 MB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.1644, allocations: 0 / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.1644, allocations: 3.938 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.1645, allocations: 19.88 kB / 0.7046 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1647, allocations: 51.81 kB / 0.7047 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.165, allocations: 107.7 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1651, allocations: 12.12 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.1652, allocations: 43.84 kB / 0.7048 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.1653, allocations: 39.83 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1653, allocations: 8 kB / 0.7049 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.1653, allocations: 8 kB / 0.7049 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.1653, allocations: 23.97 kB / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.1654, allocations: 39.73 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1656, allocations: 87.69 kB / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1656, allocations: 0 / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1656, allocations: 0 / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1656, allocations: 0 / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008101/0.1664, allocations: 403.1 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1664, allocations: 8.031 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1665, allocations: 46.73 kB / 0.7054 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.1665, allocations: 12.83 kB / 0.7055 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1668, allocations: 127.5 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1669, allocations: 89.67 kB / 0.7057 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1669, allocations: 8.125 kB / 0.7057 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1672, allocations: 97.61 kB / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1673, allocations: 0 / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1673, allocations: 7.938 kB / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1673, allocations: 4 kB / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.1676, allocations: 71.92 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.1682, allocations: 307.7 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1686, allocations: 98.61 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1687, allocations: 44.81 kB / 0.7063 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1687, allocations: 3.984 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1691, allocations: 127.2 kB / 0.7064 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.1691, allocations: 0 / 0.7064 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006147/0.1697, allocations: 177.8 kB / 0.7066 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1697, allocations: 51.5 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1698, allocations: 136.9 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1699, allocations: 33.7 kB / 0.7068 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1699, allocations: 88.09 kB / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.17, allocations: 39.67 kB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.17, allocations: 33.7 kB / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1702, allocations: 322.8 kB / 0.7072 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1703, allocations: 51.95 kB / 0.7073 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1705, allocations: 69.67 kB / 0.7074 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.1709, allocations: 157 kB / 0.7075 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1709, allocations: 0 / 0.7075 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005093/0.1714, allocations: 227 kB / 0.7077 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.1715, allocations: 55.41 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1715, allocations: 0 / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1715, allocations: 4 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1716, allocations: 27.97 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1716, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1718, allocations: 27.91 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1718, allocations: 4 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001125/0.1719, allocations: 125.8 kB / 0.708 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.1719, allocations: 7.953 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.1719, allocations: 12.38 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1719, allocations: 0 / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1719, allocations: 0 / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.172, allocations: 3.938 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1721, allocations: 176.6 kB / 0.7081 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1721, allocations: 0 / 0.7081 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1723, allocations: 19.98 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1723, allocations: 0 / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1723, allocations: 3.984 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1723, allocations: 0 / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1723, allocations: 3.984 kB / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.1729, allocations: 228.8 kB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.173, allocations: 11.98 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.173, allocations: 4 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1731, allocations: 16.02 kB / 0.7084 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.1732, allocations: 23.91 kB / 0.7084 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1732, allocations: 7.938 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.1733, allocations: 103.3 kB / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1733, allocations: 0 / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002171/0.1735, allocations: 20 kB / 0.7086 GB, free: 10.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009538/0.1744, allocations: 0.7547 MB / 0.7093 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.175, allocations: 218.7 kB / 0.7095 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.175, allocations: 0 / 0.7095 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1752, allocations: 59.97 kB / 0.7096 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1754, allocations: 23.92 kB / 0.7096 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.178, allocations: 1.71 MB / 0.7113 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1783, allocations: 0.6926 MB / 0.7119 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.1784, allocations: 12.42 kB / 0.712 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.1785, allocations: 23.44 kB / 0.712 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.1785, allocations: 3.938 kB / 0.712 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.2087, allocations: 3.009 MB / 0.7149 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.29, allocations: 7.562 kB / 0.7149 GB, free: 4.227 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.044145182997454] Failed to read output from testmodel.py, exit status != 0: 11.414443164001568 11.441737162999999 11.27125097 Calling exit ...