Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001851/0.001851, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002496/0.002496, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.321/1.321, allocations: 203.8 MB / 0.5041 GB, free: 4.664 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [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.002221/0.002221, allocations: 67.89 kB / 0.7186 GB, free: 1.992 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6191, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003552/0.6227, allocations: 1.594 MB / 0.8198 GB, free: 27.86 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.6239, allocations: 0.5313 MB / 0.8203 GB, free: 27.51 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.624, allocations: 1.875 kB / 0.8203 GB, free: 27.51 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.624, allocations: 4.969 kB / 0.8203 GB, free: 27.51 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 9.768e-05/0.6241, allocations: 12.47 kB / 0.8204 GB, free: 27.5 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.6244, allocations: 57.88 kB / 0.8204 GB, free: 27.46 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.6246, allocations: 99.72 kB / 0.8205 GB, free: 27.42 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.6248, allocations: 14.77 kB / 0.8205 GB, free: 27.41 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.6249, allocations: 44.84 kB / 0.8206 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.625, allocations: 42.56 kB / 0.8206 GB, free: 27.37 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.625, allocations: 10.38 kB / 0.8206 GB, free: 27.37 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.625, allocations: 8.344 kB / 0.8206 GB, free: 27.37 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.6251, allocations: 18.95 kB / 0.8206 GB, free: 27.36 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.6251, allocations: 30.06 kB / 0.8207 GB, free: 27.34 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.6253, allocations: 82.39 kB / 0.8207 GB, free: 27.31 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6253, allocations: 0.9375 kB / 0.8207 GB, free: 27.31 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6253, allocations: 0 / 0.8207 GB, free: 27.31 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6254, allocations: 2.125 kB / 0.8207 GB, free: 27.31 MB / 0.6388 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.0008982/0.6263, allocations: 408.7 kB / 0.8211 GB, free: 26.94 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.6263, allocations: 11.34 kB / 0.8211 GB, free: 26.94 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.6264, allocations: 11.62 kB / 0.8212 GB, free: 26.94 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.6267, allocations: 135.4 kB / 0.8213 GB, free: 26.8 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6268, allocations: 87.73 kB / 0.8214 GB, free: 26.7 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.6269, allocations: 8.75 kB / 0.8214 GB, free: 26.7 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.6272, allocations: 99.94 kB / 0.8215 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6272, allocations: 1 kB / 0.8215 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6272, allocations: 1.391 kB / 0.8215 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6272, allocations: 1.75 kB / 0.8215 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.6276, allocations: 76.97 kB / 0.8216 GB, free: 26.63 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.6282, allocations: 274.6 kB / 0.8218 GB, free: 26.4 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.6286, allocations: 88.47 kB / 0.8219 GB, free: 26.36 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.6288, allocations: 45.84 kB / 0.8219 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.6289, allocations: 2.281 kB / 0.8219 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.6292, allocations: 118.6 kB / 0.8221 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.6292, allocations: 3.531 kB / 0.8221 GB, free: 26.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=9): time 0.000731/0.6299, allocations: 179.2 kB / 0.8222 GB, free: 26.22 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.63, allocations: 62.73 kB / 0.8223 GB, free: 26.15 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6301, allocations: 124.6 kB / 0.8224 GB, free: 26.04 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6301, allocations: 26.83 kB / 0.8224 GB, free: 26.01 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.6302, allocations: 104.2 kB / 0.8225 GB, free: 25.91 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.6302, allocations: 26.08 kB / 0.8226 GB, free: 25.89 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.6302, allocations: 31.03 kB / 0.8226 GB, free: 25.87 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.6303, allocations: 324.4 kB / 0.8229 GB, free: 25.55 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6305, allocations: 106.7 kB / 0.823 GB, free: 25.48 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.6308, allocations: 127.1 kB / 0.8231 GB, free: 25.38 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.6311, allocations: 166.3 kB / 0.8233 GB, free: 25.27 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6311, allocations: 0 / 0.8233 GB, free: 25.27 MB / 0.6388 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005212/0.6317, allocations: 286.7 kB / 0.8236 GB, free: 25.07 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.6317, allocations: 59.12 kB / 0.8236 GB, free: 25.01 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6317, allocations: 1.094 kB / 0.8236 GB, free: 25.01 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6317, allocations: 6.188 kB / 0.8236 GB, free: 25 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6319, allocations: 27.19 kB / 0.8236 GB, free: 25 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6319, allocations: 0 / 0.8236 GB, free: 25 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.632, allocations: 23.39 kB / 0.8237 GB, free: 24.99 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.632, allocations: 7.969 kB / 0.8237 GB, free: 24.99 MB / 0.6388 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 8.357e-05/0.6321, allocations: 133.9 kB / 0.8238 GB, free: 24.86 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.6321, allocations: 8.078 kB / 0.8238 GB, free: 24.85 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.6322, allocations: 12.59 kB / 0.8238 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6322, allocations: 0 / 0.8238 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6322, allocations: 2.203 kB / 0.8238 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6322, allocations: 0 / 0.8238 GB, free: 24.84 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.6323, allocations: 130.5 kB / 0.8239 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6323, allocations: 1.438 kB / 0.8239 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.6325, allocations: 23.27 kB / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6325, allocations: 0 / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6325, allocations: 2.672 kB / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6325, allocations: 1.375 kB / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6325, allocations: 0 / 0.824 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.6332, allocations: 226.4 kB / 0.8242 GB, free: 24.59 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.6332, allocations: 11.11 kB / 0.8242 GB, free: 24.58 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.6332, allocations: 8.141 kB / 0.8242 GB, free: 24.57 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6333, allocations: 12.17 kB / 0.8242 GB, free: 24.57 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.6334, allocations: 19.03 kB / 0.8242 GB, free: 24.57 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6334, allocations: 7.875 kB / 0.8242 GB, free: 24.57 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 5e-05/0.6335, allocations: 93.97 kB / 0.8243 GB, free: 24.49 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6e-08/0.6335, allocations: 0 / 0.8243 GB, free: 24.49 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002169/0.6337, allocations: 26.72 kB / 0.8244 GB, free: 24.48 MB / 0.6388 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.0001156/0.6338, allocations: 107.1 kB / 0.8245 GB, free: 24.38 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.6344, allocations: 277 kB / 0.8247 GB, free: 24.17 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6344, allocations: 0 / 0.8247 GB, free: 24.17 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.6346, allocations: 51 kB / 0.8248 GB, free: 24.16 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.6349, allocations: 21.09 kB / 0.8248 GB, free: 24.15 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.6355, allocations: 248.8 kB / 0.825 GB, free: 23.96 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.6356, allocations: 81.5 kB / 0.8251 GB, free: 23.89 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.6357, allocations: 10.95 kB / 0.8251 GB, free: 23.89 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.6357, allocations: 18.17 kB / 0.8251 GB, free: 23.88 MB / 0.6388 GB Notification: Performance of SimCode: time 4.61e-07/0.6357, allocations: 0 / 0.8251 GB, free: 23.88 MB / 0.6388 GB Notification: Performance of Templates: time 0.005368/0.6411, allocations: 1.68 MB / 0.8268 GB, free: 23.7 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0158120561391115] Failed to read output from testmodel.py, exit status != 0: 0.6499351169914007 0.665059925 0.036083069 Calling exit ...