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.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.00156/0.00156, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001423/0.001423, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.8159/0.8159, allocations: 134 MB / 436.6 MB, free: 1.301 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 65.3 kB / 0.6051 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 84.67 MB / 0.6878 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003635/0.192, allocations: 1.595 MB / 0.6894 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1932, allocations: 0.5298 MB / 0.6899 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.1933, allocations: 7.938 kB / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.1933, allocations: 3.938 kB / 0.6899 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1934, allocations: 23.78 kB / 0.6899 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1937, allocations: 59.81 kB / 0.69 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.194, allocations: 95.81 kB / 0.6901 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.1941, allocations: 8.453 kB / 0.6901 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1942, allocations: 51.77 kB / 0.6901 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1943, allocations: 35.89 kB / 0.6902 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1943, allocations: 8 kB / 0.6902 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.692e-05/0.1943, allocations: 12 kB / 0.6902 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.1944, allocations: 15.92 kB / 0.6902 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.1944, allocations: 43.78 kB / 0.6902 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1946, allocations: 87.62 kB / 0.6903 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1946, allocations: 0 / 0.6903 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1946, allocations: 0 / 0.6903 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1946, allocations: 0 / 0.6903 GB, free: 8.539 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.0009493/0.1956, allocations: 460.8 kB / 0.6908 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1956, allocations: 12.03 kB / 0.6908 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.1957, allocations: 42.73 kB / 0.6908 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.1957, allocations: 12.89 kB / 0.6908 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1961, allocations: 192.2 kB / 0.691 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1962, allocations: 34.27 kB / 0.691 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1962, allocations: 12.12 kB / 0.691 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.1966, allocations: 93.62 kB / 0.6911 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1966, allocations: 0 / 0.6911 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.87e-05/0.1966, allocations: 3.984 kB / 0.6911 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1966, allocations: 4 kB / 0.6911 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.197, allocations: 75.88 kB / 0.6912 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.1977, allocations: 332.7 kB / 0.6915 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.1983, allocations: 94.58 kB / 0.6916 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.1985, allocations: 48.84 kB / 0.6917 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1985, allocations: 4 kB / 0.6917 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.1989, allocations: 123.2 kB / 0.6918 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.1989, allocations: 0 / 0.6918 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0008335/0.1998, allocations: 173.5 kB / 0.692 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1998, allocations: 59.39 kB / 0.692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2, allocations: 127.6 kB / 0.6921 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2, allocations: 25.7 kB / 0.6922 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.2001, allocations: 92.12 kB / 0.6922 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2002, allocations: 35.73 kB / 0.6923 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.2002, allocations: 29.7 kB / 0.6923 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.2005, allocations: 326.8 kB / 0.6926 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.2007, allocations: 55.89 kB / 0.6927 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.201, allocations: 76.28 kB / 0.6927 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.2015, allocations: 164.1 kB / 0.6929 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2015, allocations: 4 kB / 0.6929 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006953/0.2022, allocations: 220.9 kB / 0.6931 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.2023, allocations: 67.39 kB / 0.6932 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2023, allocations: 0 / 0.6932 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2024, allocations: 0 / 0.6932 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.2026, allocations: 23.98 kB / 0.6932 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2026, allocations: 0 / 0.6932 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2027, allocations: 19.95 kB / 0.6932 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.2028, allocations: 7.984 kB / 0.6932 GB, free: 5.258 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.0001529/0.2029, allocations: 126.9 kB / 0.6934 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.203, allocations: 11.95 kB / 0.6934 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.203, allocations: 8.375 kB / 0.6934 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.203, allocations: 0 / 0.6934 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.203, allocations: 0 / 0.6934 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.203, allocations: 3.938 kB / 0.6934 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2033, allocations: 205.5 kB / 0.6936 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2033, allocations: 4 kB / 0.6936 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2035, allocations: 19.97 kB / 0.6936 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2035, allocations: 0 / 0.6936 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2035, allocations: 4 kB / 0.6936 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2035, allocations: 384 / 0.6936 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2035, allocations: 0 / 0.6936 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.2043, allocations: 228.8 kB / 0.6938 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.2044, allocations: 89.09 kB / 0.6939 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2045, allocations: 4 kB / 0.6939 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2046, allocations: 11.98 kB / 0.6939 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.2047, allocations: 19.97 kB / 0.6939 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2047, allocations: 11.94 kB / 0.6939 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.2048, allocations: 103.2 kB / 0.694 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2048, allocations: 0 / 0.694 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003327/0.2052, allocations: 19.94 kB / 0.6941 GB, free: 4.305 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.001251/0.2064, allocations: 0.7529 MB / 0.6948 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.2071, allocations: 226.2 kB / 0.695 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2071, allocations: 0 / 0.695 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.2074, allocations: 59.95 kB / 0.6951 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.2077, allocations: 27.41 kB / 0.6951 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.2113, allocations: 1.717 MB / 0.6968 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2117, allocations: 0.6924 MB / 0.6975 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.217e-05/0.2118, allocations: 12.42 kB / 0.6975 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.2119, allocations: 27.44 kB / 0.6975 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.2119, allocations: 0 / 0.6975 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.2419, allocations: 2.805 MB / 0.7002 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.301, allocations: 3 kB / 0.7002 GB, free: 13.92 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.899219057988375] Failed to read output from testmodel.py, exit status != 0: 8.36856123385951 8.38478848 8.187186299 Calling exit ...