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.001265/0.001265, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001408/0.001408, allocations: 166.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.206/1.206, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 178] 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.214e-06/2.214e-06, allocations: 0 / 0.6187 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.942e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002067/0.002096, allocations: 1.018 MB / 0.6197 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.003649, allocations: 1.139 MB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.003729, allocations: 4 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.003785, allocations: 19.69 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.003916, allocations: 51.44 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.004393, allocations: 147.7 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.004763, allocations: 339 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.004915, allocations: 44.45 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.005229, allocations: 199.7 kB / 0.6215 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005429, allocations: 111.6 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.005489, allocations: 32 kB / 0.6217 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.005573, allocations: 39.94 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.005653, allocations: 75.77 kB / 0.6218 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.005766, allocations: 95.78 kB / 0.6219 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.006167, allocations: 346.9 kB / 0.6222 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00617, allocations: 0 / 0.6222 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006171, allocations: 0 / 0.6222 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.006177, allocations: 0 / 0.6222 GB, free: 0.8555 MB / 0.5294 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.001293/0.007469, allocations: 0.556 MB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.007513, allocations: 16.03 kB / 0.6228 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.007849, allocations: 56.75 kB / 0.6228 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.007992, allocations: 138.3 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.008364, allocations: 0.4919 MB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.008426, allocations: 28.33 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.008927, allocations: 263.1 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.008949, allocations: 8.125 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.008975, allocations: 4.375 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.008985, allocations: 12.12 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.009425, allocations: 183.8 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01046, allocations: 0.6487 MB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.01095, allocations: 199.7 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.01122, allocations: 130.5 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.01126, allocations: 8 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.01183, allocations: 312.1 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.01183, allocations: 0 / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001084/0.01292, allocations: 493 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.013, allocations: 123.1 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.01318, allocations: 173 kB / 0.6259 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.01323, allocations: 41.7 kB / 0.626 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.01332, allocations: 121.3 kB / 0.6261 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.01345, allocations: 146.8 kB / 0.6262 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.01361, allocations: 114.3 kB / 0.6263 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01379, allocations: 338.8 kB / 0.6266 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.01413, allocations: 145.2 kB / 0.6268 GB, free: 11.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.01453, allocations: 256.8 kB / 0.627 GB, free: 11.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.0152, allocations: 394 kB / 0.6274 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0152, allocations: 0 / 0.6274 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008945/0.0161, allocations: 496.9 kB / 0.6279 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01612, allocations: 8 kB / 0.6279 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.01612, allocations: 4 kB / 0.6279 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.01615, allocations: 8 kB / 0.6279 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.01655, allocations: 99.81 kB / 0.628 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.01656, allocations: 7.938 kB / 0.628 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.01683, allocations: 55.75 kB / 0.628 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.01687, allocations: 20 kB / 0.6281 GB, free: 10.44 MB / 0.545 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.0001791/0.01705, allocations: 164.7 kB / 0.6282 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.0171, allocations: 31.81 kB / 0.6283 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.01717, allocations: 29.97 kB / 0.6283 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.01717, allocations: 4 kB / 0.6283 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.01718, allocations: 8 kB / 0.6283 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.01719, allocations: 11.92 kB / 0.6283 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.01749, allocations: 237 kB / 0.6285 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.0175, allocations: 4 kB / 0.6285 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.01792, allocations: 75.89 kB / 0.6286 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01792, allocations: 0 / 0.6286 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.01795, allocations: 8 kB / 0.6286 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.01796, allocations: 12.69 kB / 0.6286 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01796, allocations: 0 / 0.6286 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.01909, allocations: 0.5916 MB / 0.6292 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.01913, allocations: 27.84 kB / 0.6292 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.01918, allocations: 11.98 kB / 0.6292 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.01942, allocations: 35.95 kB / 0.6293 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.01957, allocations: 59.86 kB / 0.6293 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.0196, allocations: 19.98 kB / 0.6294 GB, free: 9.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001091/0.01971, allocations: 125.2 kB / 0.6295 GB, free: 8.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01971, allocations: 0 / 0.6295 GB, free: 8.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003267/0.02004, allocations: 83.94 kB / 0.6296 GB, free: 8.848 MB / 0.545 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.0001591/0.0202, allocations: 115.3 kB / 0.6297 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007473/0.02094, allocations: 359.9 kB / 0.63 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.02095, allocations: 0 / 0.63 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.02133, allocations: 175.8 kB / 0.6302 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.02164, allocations: 48.09 kB / 0.6302 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02279, allocations: 0.5893 MB / 0.6308 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.02293, allocations: 156.2 kB / 0.6309 GB, free: 7.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.02307, allocations: 38.97 kB / 0.631 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.02319, allocations: 40.48 kB / 0.631 GB, free: 7.289 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.02319, allocations: 0 / 0.631 GB, free: 7.289 MB / 0.545 GB Notification: Performance of Templates: time 0.008803/0.032, allocations: 3.998 MB / 0.6349 GB, free: 3.371 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.843132916837931] Failed to read output from testmodel.py, exit status != 0: 0.04103367030620575 0.055237426000000006 0.046144170000000005 Calling exit ...