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.0009712/0.0009712, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001118/0.001118, allocations: 173 kB / 23.5 MB, free: 1.055 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.152/1.152, allocations: 177.1 MB / 203.8 MB, free: 5.617 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-535:34: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-535:42: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.7636/0.7636, allocations: 154.8 MB / 415.1 MB, free: 488 kB / 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.913e-06/1.913e-06, allocations: 0 / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.537e-05, allocations: 4.562 kB / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002068/0.002093, allocations: 1.626 MB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.002857, allocations: 0.5453 MB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.002926, allocations: 0 / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.002955, allocations: 3.938 kB / 0.5227 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.003046, allocations: 12.66 kB / 0.5227 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.003306, allocations: 59.73 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.003491, allocations: 104.2 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.003587, allocations: 9.109 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.003686, allocations: 59.88 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.003759, allocations: 35.89 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.003783, allocations: 9.594 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.003796, allocations: 8 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.003827, allocations: 19.97 kB / 0.523 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.00387, allocations: 23.92 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003999, allocations: 76.69 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004001, allocations: 0 / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004002, allocations: 0 / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004006, allocations: 2 kB / 0.5231 GB, free: 15.64 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.000622/0.004628, allocations: 499.1 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.004664, allocations: 12.03 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.00472, allocations: 13.58 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.004891, allocations: 133.1 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.004974, allocations: 93.66 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.005, allocations: 12.89 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.005169, allocations: 91.5 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005178, allocations: 1.625 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005191, allocations: 3.938 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.005199, allocations: 4 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.005255, allocations: 15.98 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.00564, allocations: 313.3 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.005806, allocations: 55.05 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.005845, allocations: 26.7 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.005864, allocations: 0 / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.006013, allocations: 93.03 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.634e-06/0.006015, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002205/0.006235, allocations: 97.56 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.006267, allocations: 55.41 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.006358, allocations: 188.3 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.006374, allocations: 30.2 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.006434, allocations: 147.9 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.006458, allocations: 23.81 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.006505, allocations: 35.36 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006615, allocations: 0.4928 MB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.006678, allocations: 72.36 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.006746, allocations: 94.77 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.439e-05/0.00684, allocations: 115.7 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.006844, allocations: 3.938 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001735/0.007017, allocations: 217.3 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.00705, allocations: 61.58 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007054, allocations: 4.719 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007066, allocations: 0 / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.007144, allocations: 24.98 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.007152, allocations: 4 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.00721, allocations: 25.09 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.007219, allocations: 4 kB / 0.526 GB, free: 12.32 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 7.607e-05/0.007295, allocations: 172.8 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.007311, allocations: 13.64 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.00734, allocations: 16.42 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007341, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.007345, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007349, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.007446, allocations: 141.9 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007448, allocations: 3.938 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.007508, allocations: 15.98 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007509, allocations: 0.7188 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.007521, allocations: 4 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007522, allocations: 1.812 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.007525, allocations: 4 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.007713, allocations: 144.2 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.007729, allocations: 19.89 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.007744, allocations: 5.562 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.007791, allocations: 11.98 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.007845, allocations: 15.97 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.007859, allocations: 8 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.007903, allocations: 136.7 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007903, allocations: 0 / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001375/0.008041, allocations: 31.92 kB / 0.5268 GB, free: 11.53 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.507e-05/0.008116, allocations: 99.19 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.008308, allocations: 229.8 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008311, allocations: 6.031 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.008365, allocations: 31.67 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.008538, allocations: 30.39 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.008969, allocations: 228.5 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.009001, allocations: 59.34 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.009035, allocations: 9.375 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.009074, allocations: 17.14 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.009075, allocations: 0 / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.003099/0.01217, allocations: 1.648 MB / 0.529 GB, free: 9.172 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.874341524904594]