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.0009487/0.0009487, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001031/0.001031, allocations: 173 kB / 23.5 MB, free: 1.051 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.609 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-545:108: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-545:116: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.8146/0.8146, allocations: 154.6 MB / 414.9 MB, free: 0.6719 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.703e-06/1.703e-06, allocations: 0 / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.566e-05, allocations: 4.906 kB / 0.5203 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002039/0.002064, allocations: 1.613 MB / 0.5219 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.002821, allocations: 0.5469 MB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.002885, allocations: 1.281 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.002914, allocations: 3.938 kB / 0.5225 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.003004, allocations: 20.73 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.003251, allocations: 55.75 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.003422, allocations: 109.3 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.003511, allocations: 8.188 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.003603, allocations: 51.88 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.003679, allocations: 35.89 kB / 0.5227 GB, free: 84 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003704, allocations: 9.031 kB / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.003719, allocations: 8 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.003749, allocations: 23.91 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.003792, allocations: 20.67 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003925, allocations: 71.78 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003927, allocations: 1.281 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003928, allocations: 0 / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.003931, allocations: 0 / 0.5229 GB, free: 15.95 MB / 0.4948 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.0005793/0.004511, allocations: 0.4967 MB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.004553, allocations: 12.03 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.004606, allocations: 13.45 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.004781, allocations: 140.4 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.004866, allocations: 86.52 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.00489, allocations: 12.33 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.005056, allocations: 92.89 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005064, allocations: 192 / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.005077, allocations: 3.938 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.005085, allocations: 7.984 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.00514, allocations: 25.05 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.005514, allocations: 305.2 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.005687, allocations: 59.08 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.005723, allocations: 19.69 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.005739, allocations: 0.8125 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.005873, allocations: 89 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005874, allocations: 1.5 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002122/0.006086, allocations: 101.5 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.00612, allocations: 63.33 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.006208, allocations: 178.4 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.006224, allocations: 29.7 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.00628, allocations: 147.8 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.006301, allocations: 27.8 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.006343, allocations: 32.22 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006455, allocations: 0.4923 MB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/0.006516, allocations: 72.02 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.006588, allocations: 100.9 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.006676, allocations: 109.3 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.00668, allocations: 5.156 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000175/0.006855, allocations: 220.4 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.006888, allocations: 67.41 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006892, allocations: 0 / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006905, allocations: 0 / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.006984, allocations: 23.92 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.006991, allocations: 4 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.00705, allocations: 22.56 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.00706, allocations: 8 kB / 0.5258 GB, free: 12.61 MB / 0.4948 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.326e-05/0.007144, allocations: 171.7 kB / 0.526 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.007159, allocations: 11.94 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.007189, allocations: 12.44 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007191, allocations: 2.438 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.007195, allocations: 0 / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.007199, allocations: 0 / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.007293, allocations: 140.6 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.007295, allocations: 3.938 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.007357, allocations: 23.92 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007359, allocations: 1.562 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.007369, allocations: 0 / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00737, allocations: 0 / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007371, allocations: 4 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.007563, allocations: 145.3 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.007578, allocations: 15.89 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.007594, allocations: 0 / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.007641, allocations: 13.02 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.007701, allocations: 19.97 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.007712, allocations: 15.23 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.007755, allocations: 138.5 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007755, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001357/0.007891, allocations: 23.94 kB / 0.5265 GB, free: 11.83 MB / 0.4948 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.246e-05/0.007963, allocations: 95.25 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.008161, allocations: 229.8 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.008164, allocations: 4 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.008218, allocations: 38.64 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.008396, allocations: 23.92 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.008843, allocations: 223.5 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.008875, allocations: 59.34 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.008911, allocations: 13.77 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.00895, allocations: 12.5 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.008951, allocations: 0 / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.003233/0.01218, allocations: 1.65 MB / 0.5288 GB, free: 9.484 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.907066556159407]