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.0007432/0.0007432, allocations: 89.06 kB / 19.65 MB, free: 280 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.001354/0.001354, allocations: 165 kB / 23.02 MB, free: 1.547 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.9897/0.9897, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.9333/0.9333, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.563e-06/1.563e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.24e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.00876/0.008793, allocations: 1.613 MB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.009657, allocations: 0.5522 MB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.009717, allocations: 0 / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.009742, allocations: 5.219 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.009821, allocations: 19.86 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006376/0.0162, allocations: 52.53 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.01641, allocations: 107.6 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.01651, allocations: 8.938 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.01663, allocations: 59.81 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.01671, allocations: 29.42 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.01674, allocations: 8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.01675, allocations: 8 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.01679, allocations: 23.91 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.01684, allocations: 29.05 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.01702, allocations: 63.84 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01702, allocations: 0 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01702, allocations: 7.562 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.01703, allocations: 0 / 0.5229 GB, free: 15.62 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.0006627/0.01769, allocations: 0.4913 MB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.01774, allocations: 12.03 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.0178, allocations: 16.89 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.01801, allocations: 136.4 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.01809, allocations: 85.67 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.01813, allocations: 12.89 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.01832, allocations: 92.36 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.01833, allocations: 192 / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.01835, allocations: 11.94 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01836, allocations: 1.469 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.01842, allocations: 19.92 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.02149, allocations: 307.7 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.02193, allocations: 60.33 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.02199, allocations: 15.69 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.02202, allocations: 1.906 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.02223, allocations: 93 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/0.02223, allocations: 0 / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002759/0.0225, allocations: 93.56 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.02255, allocations: 61.42 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.02266, allocations: 180.6 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.02268, allocations: 37.69 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.02277, allocations: 142.8 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.0228, allocations: 27.8 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.02285, allocations: 34.12 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.02299, allocations: 0.4923 MB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.02307, allocations: 71.39 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.02314, allocations: 102.8 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.02324, allocations: 114.8 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.02325, allocations: 3.938 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001992/0.02345, allocations: 225.2 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.02349, allocations: 63.34 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.0235, allocations: 0 / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.02351, allocations: 0 / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.02362, allocations: 20.92 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.02363, allocations: 7.938 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.0237, allocations: 24.81 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.02371, allocations: 4 kB / 0.5258 GB, free: 12.28 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 9.172e-05/0.0238, allocations: 168.1 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.02382, allocations: 12.66 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.02386, allocations: 16.44 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02386, allocations: 2.844 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.02387, allocations: 0 / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02387, allocations: 0 / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.02399, allocations: 136.6 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02399, allocations: 3.938 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.02405, allocations: 15.98 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.02405, allocations: 0 / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.02406, allocations: 3.125 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02407, allocations: 4 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02407, allocations: 3.938 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.02426, allocations: 144.2 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.02428, allocations: 15.89 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.02429, allocations: 0 / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.02435, allocations: 16.03 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.02441, allocations: 21.77 kB / 0.5263 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.02442, allocations: 7.984 kB / 0.5263 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.02446, allocations: 135.2 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02446, allocations: 0 / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001386/0.0246, allocations: 27.94 kB / 0.5265 GB, free: 11.5 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 0.0001009/0.0247, allocations: 102.5 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.0249, allocations: 229.8 kB / 0.5268 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.0249, allocations: 4 kB / 0.5268 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.02495, allocations: 31.61 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.02512, allocations: 26.47 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.02558, allocations: 229.7 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.02562, allocations: 59.34 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.02565, allocations: 16.48 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.02569, allocations: 19.28 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.02569, allocations: 0 / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.003643/0.02934, allocations: 1.643 MB / 0.5288 GB, free: 9.152 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: 4.077865105122328]