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.001474/0.001474, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001517/0.001517, allocations: 165 kB / 22.46 MB, free: 5.359 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.174/1.174, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.954e-06/1.954e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.236e-05, allocations: 4.578 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002884/0.002916, allocations: 1.583 MB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.003958, allocations: 0.5337 MB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.004024, allocations: 11.88 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.004051, allocations: 3.938 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.821e-05/0.00414, allocations: 11.86 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.0044, allocations: 63.69 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004603, allocations: 107.7 kB / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.0047, allocations: 8.172 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004807, allocations: 47.95 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.004894, allocations: 39.88 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.004925, allocations: 8 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.004945, allocations: 8 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.004989, allocations: 19.92 kB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.005044, allocations: 27.91 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.005216, allocations: 87.8 kB / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005218, allocations: 0 / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005219, allocations: 4 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.005223, allocations: 0 / 0.6211 GB, free: 1.996 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.0009322/0.006155, allocations: 403.1 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.006201, allocations: 15.97 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.006259, allocations: 8.891 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.006537, allocations: 129.7 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.006673, allocations: 93.66 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.006707, allocations: 8.375 kB / 0.6217 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.007034, allocations: 94.19 kB / 0.6218 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.00705, allocations: 4.188 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.007069, allocations: 3.938 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.007075, allocations: 0 / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.007407, allocations: 75.86 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.008003, allocations: 272.4 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.008441, allocations: 94.58 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.008613, allocations: 48.77 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.008633, allocations: 0 / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.008968, allocations: 127.2 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.008969, allocations: 0 / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006782/0.009647, allocations: 173.5 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.009698, allocations: 59.39 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.009851, allocations: 121.1 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.009885, allocations: 37.7 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.009982, allocations: 96.08 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.01002, allocations: 27.75 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.01008, allocations: 29.7 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.01025, allocations: 322.8 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.01049, allocations: 111.3 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01072, allocations: 121.1 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.01112, allocations: 161 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.01112, allocations: 3.938 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005997/0.01172, allocations: 284.3 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.01179, allocations: 59.41 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0118, allocations: 4.031 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01181, allocations: 0 / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.01194, allocations: 31.91 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01195, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01209, allocations: 23.94 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.0121, allocations: 4 kB / 0.624 GB, free: 14.72 MB / 0.545 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.0001418/0.01224, allocations: 131.5 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.01226, allocations: 7.953 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.01231, allocations: 16.44 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01232, allocations: 4 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.01232, allocations: 0 / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01233, allocations: 0 / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.0125, allocations: 129.3 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0125, allocations: 3.938 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.01266, allocations: 19.97 kB / 0.6243 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01266, allocations: 0 / 0.6243 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01268, allocations: 8.375 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01268, allocations: 4 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01268, allocations: 4 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.01333, allocations: 220.9 kB / 0.6245 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01335, allocations: 7.891 kB / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.01338, allocations: 8 kB / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.0135, allocations: 11.98 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.01359, allocations: 19.97 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.0136, allocations: 7.938 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.01367, allocations: 102.3 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01367, allocations: 0 / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000213/0.01388, allocations: 19.98 kB / 0.6247 GB, free: 13.95 MB / 0.545 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.000159/0.01404, allocations: 99.25 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.01462, allocations: 278.1 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01463, allocations: 0 / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.01483, allocations: 55.89 kB / 0.6251 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01512, allocations: 26.88 kB / 0.6251 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.01584, allocations: 221 kB / 0.6253 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.01593, allocations: 83.39 kB / 0.6254 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.01598, allocations: 8.484 kB / 0.6254 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.01604, allocations: 20.44 kB / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01604, allocations: 0 / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of Templates: time 0.005257/0.0213, allocations: 1.635 MB / 0.627 GB, free: 11.5 MB / 0.545 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.759165193885565] Failed to read output from testmodel.py, exit status != 0: 0.030314955860376358 0.045307110000000005 0.037078977 Calling exit ...