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.0007449/0.0007449, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007942/0.0007942, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8307/0.8307, allocations: 177.2 MB / 203.5 MB, free: 5.746 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-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 0.6866/0.6866, allocations: 154.6 MB / 414.5 MB, free: 0.793 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 1.734e-06/1.734e-06, allocations: 0 / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.524e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001389/0.001414, allocations: 1.018 MB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.002494, allocations: 1.139 MB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.002565, allocations: 0 / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.002606, allocations: 23.67 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.002695, allocations: 47.52 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.003102, allocations: 159.4 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.00335, allocations: 331 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.003475, allocations: 48.47 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.003717, allocations: 191.6 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.003854, allocations: 119.6 kB / 0.6224 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.00389, allocations: 35.98 kB / 0.6224 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.003942, allocations: 32 kB / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.003987, allocations: 83.7 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.00405, allocations: 95.72 kB / 0.6226 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.004323, allocations: 346.9 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004325, allocations: 0 / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004327, allocations: 8 kB / 0.623 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004332, allocations: 0 / 0.623 GB, free: 9.402 MB / 0.5886 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.0007582/0.00509, allocations: 0.5444 MB / 0.6235 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.005125, allocations: 8.031 kB / 0.6235 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.005314, allocations: 60.72 kB / 0.6236 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.855e-05/0.005413, allocations: 150.3 kB / 0.6237 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.005627, allocations: 495.6 kB / 0.6242 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.005674, allocations: 32.38 kB / 0.6242 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.006011, allocations: 259.1 kB / 0.6245 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.006025, allocations: 192 / 0.6245 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.006047, allocations: 20.36 kB / 0.6245 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.006053, allocations: 8.125 kB / 0.6245 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.006312, allocations: 171.8 kB / 0.6246 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.007024, allocations: 0.6564 MB / 0.6253 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.007344, allocations: 195.7 kB / 0.6255 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.007495, allocations: 122.5 kB / 0.6256 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.00753, allocations: 19.97 kB / 0.6256 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.007877, allocations: 300.2 kB / 0.6259 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.007878, allocations: 0 / 0.6259 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0006562/0.008535, allocations: 489.4 kB / 0.6264 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.008586, allocations: 119.2 kB / 0.6265 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.008692, allocations: 181 kB / 0.6267 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.008719, allocations: 37.7 kB / 0.6267 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.008775, allocations: 121.3 kB / 0.6268 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.008861, allocations: 158.8 kB / 0.627 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.008954, allocations: 106.3 kB / 0.6271 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.009041, allocations: 338.8 kB / 0.6274 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.009228, allocations: 149.2 kB / 0.6275 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.009457, allocations: 252.8 kB / 0.6278 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.00986, allocations: 394 kB / 0.6281 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.009865, allocations: 7.938 kB / 0.6281 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005218/0.01039, allocations: 489 kB / 0.6286 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.0104, allocations: 8 kB / 0.6286 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01041, allocations: 4.703 kB / 0.6286 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01042, allocations: 11.94 kB / 0.6286 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.01062, allocations: 91.83 kB / 0.6287 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01063, allocations: 11.94 kB / 0.6287 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01076, allocations: 55.69 kB / 0.6288 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.01078, allocations: 23.98 kB / 0.6288 GB, free: 2.996 MB / 0.5886 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.000114/0.01089, allocations: 160.7 kB / 0.629 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.01092, allocations: 27.81 kB / 0.629 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.01096, allocations: 37.95 kB / 0.629 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01097, allocations: 4 kB / 0.629 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.01098, allocations: 0 / 0.629 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.01098, allocations: 3.938 kB / 0.629 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.01117, allocations: 241 kB / 0.6293 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01117, allocations: 0 / 0.6293 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.01137, allocations: 75.89 kB / 0.6293 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01137, allocations: 4 kB / 0.6293 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.01139, allocations: 15.98 kB / 0.6294 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.0114, allocations: 4 kB / 0.6294 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.0114, allocations: 0 / 0.6294 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.01206, allocations: 0.5991 MB / 0.6299 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.01208, allocations: 27.75 kB / 0.63 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.01212, allocations: 15.98 kB / 0.63 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.01221, allocations: 31.97 kB / 0.63 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.01229, allocations: 39.97 kB / 0.6301 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.01231, allocations: 28.03 kB / 0.6301 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.01237, allocations: 125.2 kB / 0.6302 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01237, allocations: 0 / 0.6302 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002257/0.0126, allocations: 83.98 kB / 0.6303 GB, free: 1.426 MB / 0.5886 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.0001172/0.01271, allocations: 111.3 kB / 0.6304 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.01317, allocations: 371.1 kB / 0.6307 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01317, allocations: 0 / 0.6307 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.01339, allocations: 169.1 kB / 0.6309 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01361, allocations: 53.05 kB / 0.631 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.01434, allocations: 0.5889 MB / 0.6315 GB, free: 112 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.01444, allocations: 160.2 kB / 0.6317 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.01454, allocations: 36.44 kB / 0.6317 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.01454, allocations: 0 / 0.6317 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.003903/0.01844, allocations: 4.084 MB / 0.6357 GB, free: 11.83 MB / 0.6042 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.053198046982288] Failed to read output from testmodel.py, exit status != 0: 0.024063036777079105 0.037877779 0.030849085000000002 Calling exit ...