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.001682/0.001682, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002328/0.002328, allocations: 215 kB / 20.13 MB, free: 2.949 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8936/0.8936, allocations: 133.9 MB / 443.5 MB, free: 13.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="cs",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.00203/0.00203, allocations: 68.92 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1696, allocations: 85.86 MB / 0.698 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003244/0.1728, allocations: 1.584 MB / 0.6995 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1739, allocations: 0.5722 MB / 0.7001 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.174, allocations: 1.062 kB / 0.7001 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.174, allocations: 11.86 kB / 0.7001 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1741, allocations: 18.83 kB / 0.7001 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1744, allocations: 44.98 kB / 0.7001 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1746, allocations: 108 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1747, allocations: 16.61 kB / 0.7003 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.1748, allocations: 34.95 kB / 0.7003 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.1749, allocations: 42.52 kB / 0.7003 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1749, allocations: 8.25 kB / 0.7003 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.1749, allocations: 8.25 kB / 0.7003 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.175, allocations: 22.7 kB / 0.7004 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.175, allocations: 39.98 kB / 0.7004 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1752, allocations: 85.05 kB / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1752, allocations: 0 / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1752, allocations: 1.375 kB / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1752, allocations: 0 / 0.7005 GB, free: 11.67 MB / 0.5137 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.0008829/0.1761, allocations: 462.5 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1761, allocations: 11.3 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.449e-05/0.1762, allocations: 5.562 kB / 0.7009 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1762, allocations: 37.5 kB / 0.701 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1762, allocations: 10.39 kB / 0.701 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1765, allocations: 196.4 kB / 0.7012 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.1766, allocations: 39.75 kB / 0.7012 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1766, allocations: 9.438 kB / 0.7012 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1769, allocations: 94.62 kB / 0.7013 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1769, allocations: 0 / 0.7013 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.177, allocations: 0 / 0.7013 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.177, allocations: 1.375 kB / 0.7013 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1773, allocations: 77.17 kB / 0.7014 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.1779, allocations: 348.4 kB / 0.7017 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1783, allocations: 91.7 kB / 0.7018 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1785, allocations: 46.81 kB / 0.7018 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1785, allocations: 5.359 kB / 0.7019 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/0.1789, allocations: 121.9 kB / 0.702 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1789, allocations: 1.375 kB / 0.702 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006995/0.1796, allocations: 174.9 kB / 0.7021 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1796, allocations: 57.45 kB / 0.7022 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1798, allocations: 122.3 kB / 0.7023 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1798, allocations: 34.83 kB / 0.7023 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.1799, allocations: 95.98 kB / 0.7024 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1799, allocations: 32.02 kB / 0.7025 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.18, allocations: 31.25 kB / 0.7025 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1801, allocations: 321.8 kB / 0.7028 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1803, allocations: 51.2 kB / 0.7029 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1805, allocations: 74.27 kB / 0.7029 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.1809, allocations: 164.9 kB / 0.7031 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1809, allocations: 0.75 kB / 0.7031 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005091/0.1814, allocations: 222.8 kB / 0.7033 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.1815, allocations: 59 kB / 0.7033 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1815, allocations: 1.25 kB / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1815, allocations: 1.125 kB / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1816, allocations: 24.89 kB / 0.7034 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1816, allocations: 1.094 kB / 0.7034 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1818, allocations: 25.7 kB / 0.7034 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1818, allocations: 7.719 kB / 0.7034 GB, free: 9.027 MB / 0.5137 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.000111/0.1819, allocations: 126.8 kB / 0.7035 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1819, allocations: 9.047 kB / 0.7035 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.182, allocations: 14.39 kB / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.182, allocations: 1.469 kB / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.182, allocations: 0 / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.182, allocations: 3.938 kB / 0.7036 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1822, allocations: 212.2 kB / 0.7038 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1822, allocations: 0 / 0.7038 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1824, allocations: 19.98 kB / 0.7038 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1824, allocations: 3.938 kB / 0.7038 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1824, allocations: 8 kB / 0.7038 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1824, allocations: 0 / 0.7038 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1824, allocations: 0 / 0.7038 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.183, allocations: 224.8 kB / 0.704 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.1831, allocations: 85.06 kB / 0.7041 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1831, allocations: 0 / 0.7041 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1833, allocations: 24.02 kB / 0.7041 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1833, allocations: 15.92 kB / 0.7041 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1833, allocations: 7.984 kB / 0.7041 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.869e-05/0.1834, allocations: 97.41 kB / 0.7042 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1834, allocations: 0 / 0.7042 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002201/0.1836, allocations: 23.98 kB / 0.7042 GB, free: 8.09 MB / 0.5137 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.001088/0.1847, allocations: 0.7606 MB / 0.705 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.1853, allocations: 226.7 kB / 0.7052 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1853, allocations: 0 / 0.7052 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1855, allocations: 48.14 kB / 0.7053 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1859, allocations: 32.11 kB / 0.7053 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.189, allocations: 1.712 MB / 0.707 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1894, allocations: 0.6924 MB / 0.7076 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.1895, allocations: 12.42 kB / 0.7076 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.1895, allocations: 31.42 kB / 0.7077 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.1895, allocations: 0 / 0.7077 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.2096, allocations: 2.859 MB / 0.7105 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.424, allocations: 22.67 kB / 0.7105 GB, free: 1.645 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 12.321761466970202] Failed to read output from testmodel.py, exit status != 0: 8.880622396012768 8.594759153 8.414255672 Calling exit ...