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.001861/0.001861, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.002053/0.002053, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.463/1.463, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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.422e-06/1.422e-06, allocations: 0 / 0.5199 GB, free: 1.176 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.209e-05, allocations: 6.375 kB / 0.5199 GB, free: 1.172 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003444/0.003476, allocations: 1.6 MB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00467, allocations: 0.536 MB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.004736, allocations: 0 / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.004765, allocations: 3.938 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.004877, allocations: 20.75 kB / 0.522 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.005171, allocations: 62.91 kB / 0.522 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.005414, allocations: 103.7 kB / 0.5221 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005515, allocations: 12.17 kB / 0.5221 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.005643, allocations: 51.89 kB / 0.5222 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005747, allocations: 39.88 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.005783, allocations: 8 kB / 0.5222 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.005807, allocations: 8 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.005846, allocations: 15.98 kB / 0.5223 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.005917, allocations: 28.47 kB / 0.5223 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.006115, allocations: 95.67 kB / 0.5224 GB, free: 14.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.006119, allocations: 0.6562 kB / 0.5224 GB, free: 14.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.00612, allocations: 0 / 0.5224 GB, free: 14.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.006125, allocations: 0.7812 kB / 0.5224 GB, free: 14.62 MB / 458.7 MB 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.0009724/0.007098, allocations: 0.5041 MB / 0.5229 GB, free: 14.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.007141, allocations: 12.03 kB / 0.5229 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.007226, allocations: 13.83 kB / 0.5229 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.007462, allocations: 124.6 kB / 0.523 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.007601, allocations: 94.94 kB / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.00763, allocations: 4.375 kB / 0.5231 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.007906, allocations: 94.14 kB / 0.5232 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.00792, allocations: 1.469 kB / 0.5232 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.007939, allocations: 7.922 kB / 0.5232 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.007944, allocations: 0 / 0.5232 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.008211, allocations: 56.77 kB / 0.5233 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.008818, allocations: 324.9 kB / 0.5236 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.0092, allocations: 92.36 kB / 0.5237 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.009343, allocations: 39.66 kB / 0.5237 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.009364, allocations: 0.7812 kB / 0.5237 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.009669, allocations: 122.9 kB / 0.5238 GB, free: 12.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.00967, allocations: 0 / 0.5238 GB, free: 12.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005988/0.01027, allocations: 159.6 kB / 0.524 GB, free: 12.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.01033, allocations: 51.41 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01051, allocations: 197.8 kB / 0.5242 GB, free: 12.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.01054, allocations: 29.7 kB / 0.5242 GB, free: 12.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01066, allocations: 150.8 kB / 0.5244 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.0107, allocations: 30.56 kB / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.0108, allocations: 43.36 kB / 0.5245 GB, free: 12.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.0111, allocations: 0.4923 MB / 0.5249 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.01131, allocations: 99.38 kB / 0.525 GB, free: 11.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.01154, allocations: 124.7 kB / 0.5251 GB, free: 11.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.01189, allocations: 164.5 kB / 0.5253 GB, free: 11.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.0119, allocations: 3.938 kB / 0.5253 GB, free: 11.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005345/0.01243, allocations: 268.3 kB / 0.5256 GB, free: 11.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.0125, allocations: 63.39 kB / 0.5256 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01251, allocations: 0.8438 kB / 0.5256 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.01253, allocations: 0 / 0.5256 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.01266, allocations: 24.98 kB / 0.5256 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01267, allocations: 0 / 0.5256 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01279, allocations: 20.81 kB / 0.5257 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01281, allocations: 8 kB / 0.5257 GB, free: 10.93 MB / 458.7 MB 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.0001663/0.01298, allocations: 169.8 kB / 0.5258 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01301, allocations: 19.89 kB / 0.5259 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.01306, allocations: 13.64 kB / 0.5259 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.01307, allocations: 4 kB / 0.5259 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01307, allocations: 0 / 0.5259 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01308, allocations: 0 / 0.5259 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01327, allocations: 141.1 kB / 0.526 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01327, allocations: 4.438 kB / 0.526 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.0134, allocations: 17.48 kB / 0.526 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.0134, allocations: 0 / 0.526 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.01342, allocations: 8 kB / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01343, allocations: 0 / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01343, allocations: 2.438 kB / 0.526 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.01401, allocations: 208.6 kB / 0.5262 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.01403, allocations: 15.89 kB / 0.5263 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.01405, allocations: 7.938 kB / 0.5263 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01416, allocations: 14.73 kB / 0.5263 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.01424, allocations: 23.97 kB / 0.5263 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01426, allocations: 7.984 kB / 0.5263 GB, free: 10.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.01437, allocations: 143.2 kB / 0.5264 GB, free: 10.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01437, allocations: 0 / 0.5264 GB, free: 10.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01458, allocations: 20 kB / 0.5265 GB, free: 10.07 MB / 458.7 MB 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.0001492/0.01473, allocations: 104 kB / 0.5266 GB, free: 9.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.01527, allocations: 275 kB / 0.5268 GB, free: 9.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.01527, allocations: 5.375 kB / 0.5268 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.01545, allocations: 59.58 kB / 0.5269 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01573, allocations: 29.39 kB / 0.5269 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.01644, allocations: 242.6 kB / 0.5271 GB, free: 9.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.411e-05/0.01652, allocations: 80.53 kB / 0.5272 GB, free: 9.195 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.01658, allocations: 5.281 kB / 0.5272 GB, free: 9.188 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.01664, allocations: 22 kB / 0.5272 GB, free: 9.168 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01664, allocations: 0 / 0.5272 GB, free: 9.168 MB / 458.7 MB Notification: Performance of Templates: time 0.005812/0.02245, allocations: 1.646 MB / 0.5289 GB, free: 7.609 MB / 458.7 MB " [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: 6.220815246924758]