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.000758/0.000758, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001263/0.001263, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8809/0.8809, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7029/0.7029, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.182e-05, allocations: 3.531 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001826/0.001848, allocations: 1.59 MB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.002534, allocations: 0.5298 MB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.002597, allocations: 3.938 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.002624, allocations: 7.922 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.002702, allocations: 19.8 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.002932, allocations: 55.81 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003093, allocations: 99.75 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.003183, allocations: 8.172 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.469e-05/0.003268, allocations: 59.83 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.003333, allocations: 35.88 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.003357, allocations: 8 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.003372, allocations: 12 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.003403, allocations: 15.92 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.003447, allocations: 31.95 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003573, allocations: 91.73 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003575, allocations: 4 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003576, allocations: 0 / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00358, allocations: 0 / 0.6218 GB, free: 10.59 MB / 0.5886 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.000552/0.004132, allocations: 399.2 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.004166, allocations: 9.469 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.004207, allocations: 16.83 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.00438, allocations: 133.7 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.00448, allocations: 93.55 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.0045, allocations: 4.375 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.004674, allocations: 98.19 kB / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.004684, allocations: 192 / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.004697, allocations: 7.922 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004701, allocations: 0 / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.004855, allocations: 75.94 kB / 0.6226 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.005244, allocations: 264.4 kB / 0.6228 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.005478, allocations: 90.52 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.005559, allocations: 48.81 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.005574, allocations: 0 / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.005752, allocations: 131.3 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.005753, allocations: 0 / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.000336/0.006089, allocations: 181.5 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.006122, allocations: 51.41 kB / 0.6233 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.006192, allocations: 133.4 kB / 0.6234 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006207, allocations: 29.7 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.006254, allocations: 92.09 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.006278, allocations: 31.73 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.006386, allocations: 30.08 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.006463, allocations: 322.8 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.006579, allocations: 99.38 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.006692, allocations: 135.7 kB / 0.6242 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.006867, allocations: 164.9 kB / 0.6243 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.006871, allocations: 3.938 kB / 0.6243 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002667/0.007137, allocations: 280.3 kB / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.007174, allocations: 63.39 kB / 0.6246 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007179, allocations: 0 / 0.6246 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007192, allocations: 4 kB / 0.6246 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.007254, allocations: 19.98 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.007259, allocations: 0 / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.007327, allocations: 31.86 kB / 0.6247 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.007337, allocations: 12.03 kB / 0.6247 GB, free: 7.312 MB / 0.5886 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 6.804e-05/0.007405, allocations: 118.8 kB / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.007415, allocations: 11.89 kB / 0.6248 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.007444, allocations: 24.36 kB / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007446, allocations: 0 / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.007451, allocations: 0 / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007454, allocations: 0 / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.00754, allocations: 129.3 kB / 0.625 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.007541, allocations: 3.938 kB / 0.625 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.007611, allocations: 19.98 kB / 0.625 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.007612, allocations: 0 / 0.625 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.007622, allocations: 4 kB / 0.625 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007623, allocations: 0 / 0.625 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007624, allocations: 0 / 0.625 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.00794, allocations: 223.5 kB / 0.6252 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.007951, allocations: 7.891 kB / 0.6252 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.007966, allocations: 12 kB / 0.6252 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.008013, allocations: 16.02 kB / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.008061, allocations: 15.97 kB / 0.6253 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.008069, allocations: 4 kB / 0.6253 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001739/0.008243, allocations: 102.4 kB / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008243, allocations: 0 / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001354/0.008378, allocations: 23.95 kB / 0.6254 GB, free: 6.555 MB / 0.5886 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 7.119e-05/0.00845, allocations: 103.2 kB / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.008723, allocations: 286.1 kB / 0.6258 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.008725, allocations: 4 kB / 0.6258 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.008814, allocations: 43.97 kB / 0.6258 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.008979, allocations: 27.91 kB / 0.6258 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.009399, allocations: 250.9 kB / 0.6261 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.009439, allocations: 75.33 kB / 0.6261 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.009479, allocations: 12.5 kB / 0.6262 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.009479, allocations: 0 / 0.6262 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of Templates: time 0.002005/0.01148, allocations: 1.476 MB / 0.6276 GB, free: 4.199 MB / 0.5886 GB " [Timeout remaining time 660] 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: 5.075569453649223] Failed to read output from testmodel.py, exit status != 0: 0.016384881921112537 0.024304412 0.019179096 Calling exit ...