Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.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.0008955/0.0008955, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009437/0.0009437, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9122/0.9122, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7323/0.7323, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.092e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002249/0.00228, allocations: 1.026 MB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.003902, allocations: 1.156 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004022, allocations: 4.75 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.527e-05/0.004078, allocations: 19.73 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.004212, allocations: 44.92 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.004747, allocations: 158.4 kB / 0.524 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.005398, allocations: 331 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.005553, allocations: 44.16 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.005935, allocations: 199.6 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.00613, allocations: 111.6 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.006185, allocations: 32 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.006262, allocations: 32 kB / 0.5247 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.006337, allocations: 79.77 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.527e-05/0.006432, allocations: 91.78 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.006806, allocations: 239.2 kB / 0.5251 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.006812, allocations: 0 / 0.5251 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.006814, allocations: 0.5 kB / 0.5251 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.006823, allocations: 0.5625 kB / 0.5251 GB, free: 14.3 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001154/0.007977, allocations: 0.6633 MB / 0.5257 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.008031, allocations: 8.031 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.008426, allocations: 79.28 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.00859, allocations: 145.2 kB / 0.5259 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.008914, allocations: 0.4957 MB / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.008976, allocations: 24.38 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.009368, allocations: 216.3 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.009388, allocations: 4.75 kB / 0.5267 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.009415, allocations: 13.11 kB / 0.5267 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.009429, allocations: 12.12 kB / 0.5267 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.009602, allocations: 76.39 kB / 0.5267 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.0106, allocations: 0.7525 MB / 0.5275 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.01093, allocations: 159.1 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.01103, allocations: 71.03 kB / 0.5277 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.01108, allocations: 23.92 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.01141, allocations: 246.3 kB / 0.528 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.326e-06/0.01142, allocations: 2.75 kB / 0.528 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0006205/0.01204, allocations: 343 kB / 0.5283 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.01211, allocations: 110.8 kB / 0.5284 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01225, allocations: 229 kB / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.01229, allocations: 41.69 kB / 0.5287 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.01237, allocations: 172 kB / 0.5288 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.0125, allocations: 158.7 kB / 0.529 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.01264, allocations: 117.6 kB / 0.5291 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.0128, allocations: 0.5156 MB / 0.5296 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.01293, allocations: 69.19 kB / 0.5297 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.01313, allocations: 212.2 kB / 0.5299 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.01347, allocations: 288.9 kB / 0.5301 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.01348, allocations: 4 kB / 0.5301 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005319/0.01401, allocations: 361.2 kB / 0.5305 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.01403, allocations: 4.844 kB / 0.5305 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01405, allocations: 4 kB / 0.5305 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01406, allocations: 4.656 kB / 0.5305 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.01438, allocations: 99.83 kB / 0.5306 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01439, allocations: 8.609 kB / 0.5306 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.0146, allocations: 58.62 kB / 0.5306 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.01463, allocations: 16 kB / 0.5307 GB, free: 8.109 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0001524/0.01478, allocations: 194.4 kB / 0.5309 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.01486, allocations: 47.81 kB / 0.5309 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.01491, allocations: 37.08 kB / 0.5309 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01492, allocations: 4.094 kB / 0.5309 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01493, allocations: 4 kB / 0.5309 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002705/0.0152, allocations: 7.969 kB / 0.5309 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.01547, allocations: 201 kB / 0.5311 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.01547, allocations: 11.94 kB / 0.5311 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.01579, allocations: 67.91 kB / 0.5312 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.0158, allocations: 4 kB / 0.5312 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.01583, allocations: 17.73 kB / 0.5312 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.01584, allocations: 4 kB / 0.5312 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01584, allocations: 0 / 0.5312 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.01648, allocations: 430.8 kB / 0.5316 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.01651, allocations: 30.86 kB / 0.5317 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.01656, allocations: 12 kB / 0.5317 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.01672, allocations: 27.97 kB / 0.5317 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.01685, allocations: 71.89 kB / 0.5318 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.01688, allocations: 12 kB / 0.5318 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.01696, allocations: 160.2 kB / 0.532 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01696, allocations: 0 / 0.532 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003186/0.01728, allocations: 83.75 kB / 0.532 GB, free: 6.652 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001693/0.01745, allocations: 114.4 kB / 0.5321 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.01789, allocations: 253.5 kB / 0.5324 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.01789, allocations: 0 / 0.5324 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.01809, allocations: 128.4 kB / 0.5325 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.01842, allocations: 58.44 kB / 0.5326 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01956, allocations: 0.561 MB / 0.5331 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.01963, allocations: 99.95 kB / 0.5332 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.01977, allocations: 33.88 kB / 0.5332 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.01997, allocations: 134.2 kB / 0.5334 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.01998, allocations: 4 kB / 0.5334 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of Templates: time 0.00715/0.02713, allocations: 4.474 MB / 0.5377 GB, free: 0.9609 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.622992205899209]