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.00125/0.00125, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001363/0.001363, allocations: 212.7 kB / 23.04 MB, free: 5.074 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.8233/0.8233, allocations: 134 MB / 447.2 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="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.001881/0.001881, allocations: 67.02 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1718, allocations: 85.91 MB / 0.7032 GB, free: 1.402 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003004/0.1748, allocations: 1.616 MB / 0.7048 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1758, allocations: 0.5765 MB / 0.7054 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.1759, allocations: 0 / 0.7054 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1759, allocations: 7.938 kB / 0.7054 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.176, allocations: 15.81 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1762, allocations: 51.86 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1764, allocations: 107.7 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.1765, allocations: 16.11 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.1766, allocations: 39.91 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.1767, allocations: 43.83 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1767, allocations: 8 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/0.1767, allocations: 8 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.1768, allocations: 15.98 kB / 0.7057 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1768, allocations: 39.78 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.177, allocations: 83.64 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.177, allocations: 0 / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.177, allocations: 0 / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.177, allocations: 0 / 0.7058 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.0007823/0.1778, allocations: 407.1 kB / 0.7062 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1778, allocations: 16.02 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.439e-05/0.1779, allocations: 192 / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1779, allocations: 34.75 kB / 0.7062 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1779, allocations: 12.89 kB / 0.7062 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1782, allocations: 130.5 kB / 0.7063 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1783, allocations: 93.67 kB / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.1784, allocations: 7.938 kB / 0.7064 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1786, allocations: 105.5 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1787, allocations: 0 / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1787, allocations: 0 / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1787, allocations: 4 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.179, allocations: 79.86 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1796, allocations: 311.7 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.1799, allocations: 94.56 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.1801, allocations: 44.83 kB / 0.707 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1801, allocations: 3.938 kB / 0.7071 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.1804, allocations: 121.7 kB / 0.7072 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.1804, allocations: 0 / 0.7072 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005965/0.181, allocations: 177.5 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1811, allocations: 55.41 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1812, allocations: 134 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1812, allocations: 25.7 kB / 0.7075 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1813, allocations: 96.09 kB / 0.7076 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1814, allocations: 39.72 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.1814, allocations: 33.7 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1816, allocations: 318.8 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1817, allocations: 47.97 kB / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1819, allocations: 73.66 kB / 0.7081 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.1823, allocations: 164.2 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1824, allocations: 0 / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005345/0.1829, allocations: 217 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.1829, allocations: 63.41 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.183, allocations: 0 / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.183, allocations: 3.984 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1831, allocations: 27.92 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1831, allocations: 0 / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1832, allocations: 23.88 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1833, allocations: 4 kB / 0.7086 GB, free: 11.58 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.0001164/0.1834, allocations: 126.2 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1834, allocations: 7.953 kB / 0.7087 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1834, allocations: 8.375 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1834, allocations: 4 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1834, allocations: 3.938 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1835, allocations: 3.938 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1837, allocations: 172.6 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1837, allocations: 3.984 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1838, allocations: 19.98 kB / 0.7089 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1838, allocations: 0 / 0.7089 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1838, allocations: 7.984 kB / 0.7089 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1838, allocations: 0 / 0.7089 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1838, allocations: 3.938 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.1845, allocations: 224.8 kB / 0.7092 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.1845, allocations: 7.984 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.1845, allocations: 8 kB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1846, allocations: 15.98 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.1847, allocations: 19.91 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1847, allocations: 4 kB / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.1848, allocations: 103.3 kB / 0.7093 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1848, allocations: 0 / 0.7093 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002076/0.185, allocations: 20 kB / 0.7093 GB, free: 10.76 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.000989/0.186, allocations: 0.7604 MB / 0.7101 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1865, allocations: 222.7 kB / 0.7103 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1865, allocations: 0 / 0.7103 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.1867, allocations: 56.03 kB / 0.7103 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.187, allocations: 31.69 kB / 0.7104 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1897, allocations: 1.718 MB / 0.7121 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1901, allocations: 0.6924 MB / 0.7127 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.42e-05/0.1901, allocations: 8.422 kB / 0.7127 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.1902, allocations: 23.44 kB / 0.7128 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.1902, allocations: 4 kB / 0.7128 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2137, allocations: 3.016 MB / 0.7157 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.31, allocations: 19.86 kB / 0.7157 GB, free: 4.199 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 & /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: 14.871545113041066] Failed to read output from testmodel.py, exit status != 0: 11.476075500017032 11.507450498 11.324965242 Calling exit ...