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.0008231/0.0008231, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007831/0.0007831, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8248/0.8248, allocations: 177.2 MB / 203.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6742/0.6742, allocations: 154.6 MB / 414.5 MB, free: 0.7031 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.697e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001713/0.00173, allocations: 1.589 MB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.002358, allocations: 0.5337 MB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.002414, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.002439, allocations: 3.938 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.00252, allocations: 23.8 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.002742, allocations: 59.69 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.002892, allocations: 99.75 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.002973, allocations: 12.17 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.003054, allocations: 51.89 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.003121, allocations: 43.81 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003142, allocations: 8 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.003155, allocations: 8 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.00318, allocations: 19.92 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.003218, allocations: 31.95 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003337, allocations: 95.73 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003339, allocations: 0 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00334, allocations: 0 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003344, allocations: 0 / 0.6218 GB, free: 10.55 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.0005291/0.003873, allocations: 399.2 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.003903, allocations: 8.031 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.003942, allocations: 12.89 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.004099, allocations: 137.7 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.004168, allocations: 85.67 kB / 0.6225 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.004188, allocations: 8.312 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.004357, allocations: 98.17 kB / 0.6226 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.004366, allocations: 192 / 0.6226 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.00438, allocations: 7.938 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004386, allocations: 4 kB / 0.6226 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.004545, allocations: 75.86 kB / 0.6226 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.004889, allocations: 260.4 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.005111, allocations: 98.53 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.005191, allocations: 48.81 kB / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.005206, allocations: 4 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.005379, allocations: 119.3 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.00538, allocations: 0 / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003431/0.005723, allocations: 177.4 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005752, allocations: 59.41 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.005816, allocations: 122.1 kB / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.005831, allocations: 29.7 kB / 0.6235 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.005877, allocations: 92.09 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.005897, allocations: 31.73 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.00594, allocations: 33.7 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.006012, allocations: 322.8 kB / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.006132, allocations: 111.4 kB / 0.6241 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.006247, allocations: 121.1 kB / 0.6242 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.006432, allocations: 163.8 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006435, allocations: 3.938 kB / 0.6244 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002669/0.006702, allocations: 288.3 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.006731, allocations: 59.41 kB / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006735, allocations: 0 / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006745, allocations: 0 / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.006808, allocations: 23.97 kB / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.006813, allocations: 4 kB / 0.6247 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.006875, allocations: 19.94 kB / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.006883, allocations: 4 kB / 0.6247 GB, free: 7.293 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 7.423e-05/0.006958, allocations: 134.6 kB / 0.6249 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.00697, allocations: 11.95 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.006995, allocations: 16.42 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006998, allocations: 7.922 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007001, allocations: 0 / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007005, allocations: 4 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.00709, allocations: 125.3 kB / 0.625 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007092, allocations: 3.938 kB / 0.625 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.007158, allocations: 19.98 kB / 0.6251 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.00716, allocations: 4 kB / 0.6251 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.00717, allocations: 4 kB / 0.6251 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007171, allocations: 3.984 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007172, allocations: 0 / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.007492, allocations: 217.2 kB / 0.6253 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.007504, allocations: 11.89 kB / 0.6253 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.007521, allocations: 8.031 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.00757, allocations: 15.98 kB / 0.6253 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.007618, allocations: 23.91 kB / 0.6253 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.007624, allocations: 0 / 0.6253 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.00766, allocations: 99.27 kB / 0.6254 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00766, allocations: 0 / 0.6254 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001344/0.007794, allocations: 20 kB / 0.6254 GB, free: 6.516 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 6.743e-05/0.007862, allocations: 99.23 kB / 0.6255 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.008139, allocations: 284.8 kB / 0.6258 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008141, allocations: 0 / 0.6258 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.008236, allocations: 55.89 kB / 0.6259 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.0084, allocations: 22.77 kB / 0.6259 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.00881, allocations: 250.8 kB / 0.6261 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.008852, allocations: 75.33 kB / 0.6262 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.008891, allocations: 20.5 kB / 0.6262 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of SimCode: time 6.62e-07/0.008891, allocations: 0 / 0.6262 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of Templates: time 0.001918/0.01081, allocations: 1.48 MB / 0.6277 GB, free: 4.164 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.048681702464819] Failed to read output from testmodel.py, exit status != 0: 0.015010198578238487 0.022543661000000003 0.017609997000000002 Calling exit ...