Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001324/0.001324, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001501/0.001501, allocations: 217 kB / 22.25 MB, free: 5.258 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.325/1.325, allocations: 203.5 MB / 0.5038 GB, free: 4.922 MB / 414.1 MB " [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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 71.89 kB / 0.7183 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6629, allocations: 102 MB / 0.8179 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003953/0.6669, allocations: 1.907 MB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.6683, allocations: 0.701 MB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.6684, allocations: 6.719 kB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.576e-05/0.6685, allocations: 22.64 kB / 0.8205 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.6686, allocations: 46.98 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.6693, allocations: 168.2 kB / 0.8207 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.6698, allocations: 329.5 kB / 0.821 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.67, allocations: 34.16 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.6703, allocations: 140 kB / 0.8212 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.6706, allocations: 140.8 kB / 0.8213 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.6706, allocations: 29.53 kB / 0.8213 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.6707, allocations: 32.22 kB / 0.8214 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.6708, allocations: 75.59 kB / 0.8214 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.671, allocations: 120.7 kB / 0.8215 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.6715, allocations: 315.8 kB / 0.8218 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6715, allocations: 4.469 kB / 0.8219 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6715, allocations: 0.7031 kB / 0.8219 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6715, allocations: 1.125 kB / 0.8219 GB, free: 26.69 MB / 0.6387 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.001361/0.6729, allocations: 0.5631 MB / 0.8224 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.673, allocations: 9.125 kB / 0.8224 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004022/0.6734, allocations: 65.88 kB / 0.8225 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.6738, allocations: 194 kB / 0.8227 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.674, allocations: 0.4889 MB / 0.8231 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.6741, allocations: 28.17 kB / 0.8232 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.6747, allocations: 260.8 kB / 0.8234 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.6747, allocations: 10.98 kB / 0.8234 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.6747, allocations: 8.203 kB / 0.8234 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.6747, allocations: 4.688 kB / 0.8234 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.6752, allocations: 176.7 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/0.6762, allocations: 0.6564 MB / 0.8242 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.6767, allocations: 200.4 kB / 0.8244 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.677, allocations: 126.2 kB / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.6771, allocations: 8.312 kB / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.6777, allocations: 316.4 kB / 0.8249 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.6777, allocations: 0 / 0.8249 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.001151/0.6788, allocations: 496.3 kB / 0.8253 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.6789, allocations: 117.2 kB / 0.8255 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.6791, allocations: 187.6 kB / 0.8256 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.6791, allocations: 42.14 kB / 0.8257 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.6792, allocations: 119 kB / 0.8258 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6793, allocations: 159.4 kB / 0.8259 GB, free: 23.78 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.6795, allocations: 108.8 kB / 0.826 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.6796, allocations: 343.4 kB / 0.8264 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.6799, allocations: 149.4 kB / 0.8265 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.6803, allocations: 253.1 kB / 0.8268 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.681, allocations: 399.5 kB / 0.8271 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.681, allocations: 0.9688 kB / 0.8271 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009089/0.6819, allocations: 495.6 kB / 0.8276 GB, free: 22.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6819, allocations: 13.33 kB / 0.8276 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6819, allocations: 3.594 kB / 0.8276 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.6819, allocations: 5.5 kB / 0.8276 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.6824, allocations: 95.27 kB / 0.8277 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6824, allocations: 6.188 kB / 0.8277 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.6827, allocations: 58.14 kB / 0.8278 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.6827, allocations: 20.58 kB / 0.8278 GB, free: 22.69 MB / 0.6387 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.0001646/0.6829, allocations: 163.1 kB / 0.828 GB, free: 22.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.683, allocations: 33.7 kB / 0.828 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.683, allocations: 33 kB / 0.828 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.683, allocations: 5.969 kB / 0.828 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.683, allocations: 1.219 kB / 0.828 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.6831, allocations: 3.672 kB / 0.828 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.6834, allocations: 234 kB / 0.8283 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6834, allocations: 0.6094 kB / 0.8283 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.6838, allocations: 78.28 kB / 0.8283 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6838, allocations: 3.281 kB / 0.8283 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.6839, allocations: 14.59 kB / 0.8283 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6839, allocations: 2.25 kB / 0.8283 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6839, allocations: 5.5 kB / 0.8284 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.685, allocations: 0.5859 MB / 0.8289 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.685, allocations: 33.38 kB / 0.829 GB, free: 22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.6851, allocations: 17.75 kB / 0.829 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.6853, allocations: 28.83 kB / 0.829 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.6855, allocations: 58.12 kB / 0.8291 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.6855, allocations: 21.31 kB / 0.8291 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001175/0.6856, allocations: 134.3 kB / 0.8292 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6856, allocations: 0 / 0.8292 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003979/0.686, allocations: 81.52 kB / 0.8293 GB, free: 21.85 MB / 0.6387 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.0002069/0.6862, allocations: 121.7 kB / 0.8294 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.6873, allocations: 361.7 kB / 0.8297 GB, free: 21.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6873, allocations: 0 / 0.8297 GB, free: 21.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.6877, allocations: 184.2 kB / 0.8299 GB, free: 21.58 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.6881, allocations: 46.78 kB / 0.83 GB, free: 21.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6895, allocations: 0.6326 MB / 0.8306 GB, free: 21.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.6897, allocations: 159.7 kB / 0.8307 GB, free: 21.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.6899, allocations: 43.25 kB / 0.8308 GB, free: 21.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.69, allocations: 37.25 kB / 0.8308 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.69, allocations: 0 / 0.8308 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of Templates: time 0.01159/0.7016, allocations: 4.239 MB / 0.8349 GB, free: 20.64 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.201025113463402] Failed to read output from testmodel.py, exit status != 0: 0.7114803921431303 0.72546825 0.050959151 Calling exit ...