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.001399/0.001399, allocations: 82.72 kB / 19.18 MB, free: 2.363 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.001552/0.001552, allocations: 167.6 kB / 22.45 MB, free: 4.992 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.39/1.39, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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 1.16/1.16, allocations: 154.7 MB / 413.9 MB, free: 5.168 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_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: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.6188 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.982e-05, allocations: 5.672 kB / 0.6188 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003204/0.003234, allocations: 1.901 MB / 0.6207 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004525, allocations: 0.7127 MB / 0.6214 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.004617, allocations: 4 kB / 0.6214 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.556e-05/0.004672, allocations: 19.73 kB / 0.6214 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.004789, allocations: 43.52 kB / 0.6214 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.005314, allocations: 179.6 kB / 0.6216 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.005698, allocations: 327.1 kB / 0.6219 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.005863, allocations: 40.84 kB / 0.622 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.006197, allocations: 203.5 kB / 0.6222 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.006388, allocations: 111.7 kB / 0.6223 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.006442, allocations: 32 kB / 0.6223 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.006516, allocations: 32 kB / 0.6223 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.006594, allocations: 79.7 kB / 0.6224 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.006706, allocations: 99.77 kB / 0.6225 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.007106, allocations: 350.9 kB / 0.6228 GB, free: 352 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.007109, allocations: 0 / 0.6228 GB, free: 352 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.007111, allocations: 0 / 0.6228 GB, free: 352 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.007118, allocations: 0 / 0.6228 GB, free: 352 kB / 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.001302/0.00842, allocations: 0.5637 MB / 0.6234 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.008465, allocations: 8.031 kB / 0.6234 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.008812, allocations: 68.7 kB / 0.6235 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.009176, allocations: 185.4 kB / 0.6236 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.009557, allocations: 499.7 kB / 0.6241 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.009616, allocations: 32.31 kB / 0.6241 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.01014, allocations: 267.1 kB / 0.6244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.01016, allocations: 4.188 kB / 0.6244 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.01019, allocations: 8.125 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.0102, allocations: 4 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.01063, allocations: 183.8 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01164, allocations: 0.6525 MB / 0.6252 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.01214, allocations: 191.9 kB / 0.6254 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.0124, allocations: 126.5 kB / 0.6255 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.01244, allocations: 7.938 kB / 0.6255 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.01301, allocations: 312.1 kB / 0.6258 GB, free: 13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.824e-06/0.01301, allocations: 4 kB / 0.6258 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001123/0.01413, allocations: 492.8 kB / 0.6263 GB, free: 12.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.01424, allocations: 126.7 kB / 0.6264 GB, free: 12.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.01442, allocations: 184.6 kB / 0.6266 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.01447, allocations: 37.7 kB / 0.6266 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.01455, allocations: 125.3 kB / 0.6268 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.0147, allocations: 158.8 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.01485, allocations: 106.3 kB / 0.627 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01502, allocations: 338.8 kB / 0.6273 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.01534, allocations: 149.2 kB / 0.6275 GB, free: 11.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.01573, allocations: 248.8 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.01642, allocations: 394 kB / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.01642, allocations: 0 / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008893/0.01731, allocations: 497 kB / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.01734, allocations: 4 kB / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01734, allocations: 4 kB / 0.6286 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.01736, allocations: 4 kB / 0.6286 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.01777, allocations: 103.8 kB / 0.6287 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.01779, allocations: 11.98 kB / 0.6287 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.01806, allocations: 55.75 kB / 0.6287 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.01809, allocations: 24 kB / 0.6288 GB, free: 9.867 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.0001857/0.01828, allocations: 156.7 kB / 0.6289 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.01833, allocations: 35.73 kB / 0.6289 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.01841, allocations: 33.97 kB / 0.629 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.01842, allocations: 4 kB / 0.629 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.01842, allocations: 3.938 kB / 0.629 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.01843, allocations: 3.984 kB / 0.629 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.01877, allocations: 249 kB / 0.6292 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.01878, allocations: 8 kB / 0.6292 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.01917, allocations: 67.89 kB / 0.6293 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.01918, allocations: 4 kB / 0.6293 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.01921, allocations: 12 kB / 0.6293 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.01922, allocations: 7.984 kB / 0.6293 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01922, allocations: 0 / 0.6293 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.02035, allocations: 0.5877 MB / 0.6299 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.02038, allocations: 27.8 kB / 0.6299 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.02042, allocations: 12 kB / 0.6299 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.02065, allocations: 27.97 kB / 0.63 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.02078, allocations: 67.78 kB / 0.63 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.02082, allocations: 19.98 kB / 0.63 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001137/0.02093, allocations: 128.3 kB / 0.6302 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.02093, allocations: 0 / 0.6302 GB, free: 8.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003399/0.02127, allocations: 87.94 kB / 0.6302 GB, free: 8.273 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.0001658/0.02144, allocations: 115.5 kB / 0.6304 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.02218, allocations: 365 kB / 0.6307 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02218, allocations: 3.938 kB / 0.6307 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.02256, allocations: 179.8 kB / 0.6309 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02287, allocations: 47.47 kB / 0.6309 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.024, allocations: 0.5834 MB / 0.6315 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.02415, allocations: 164 kB / 0.6317 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000154/0.02431, allocations: 42.95 kB / 0.6317 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02442, allocations: 40.5 kB / 0.6317 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.02442, allocations: 0 / 0.6317 GB, free: 6.699 MB / 0.545 GB Notification: Performance of Templates: time 0.008471/0.03289, allocations: 4.031 MB / 0.6357 GB, free: 2.75 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.757814638316631] Failed to read output from testmodel.py, exit status != 0: 0.041436027735471725 0.055560982 0.045530159 Calling exit ...