Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008814/0.0008814, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.0009256/0.0009256, allocations: 212.1 kB / 23 MB, free: 2.973 MB / 13.93 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.9924/0.9924, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03676/0.03676, allocations: 12.19 MB / 325.4 MB, free: 6.078 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004843/0.0004843, allocations: 31.94 kB / 384.8 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.772/1.772, allocations: 353.9 MB / 0.7795 GB, free: 4.535 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001602/0.001602, allocations: 128.7 kB / 1.061 GB, free: 24.56 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2569, allocations: 134.9 MB / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002381/0.2593, allocations: 1.899 MB / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000869/0.2602, allocations: 0.7026 MB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.2603, allocations: 3.938 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.601e-05/0.2603, allocations: 19.73 kB / 1.196 GB, free: 4.348 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.2604, allocations: 51.52 kB / 1.196 GB, free: 4.297 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.2608, allocations: 175.6 kB / 1.196 GB, free: 4.125 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.2613, allocations: 323.1 kB / 1.196 GB, free: 3.809 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2615, allocations: 40.91 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.2617, allocations: 143.5 kB / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2618, allocations: 135.4 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.2619, allocations: 28 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.2619, allocations: 36 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.262, allocations: 83.72 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.262, allocations: 115.5 kB / 1.197 GB, free: 3.234 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.2623, allocations: 322.7 kB / 1.197 GB, free: 2.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2623, allocations: 4 kB / 1.197 GB, free: 2.914 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2623, allocations: 0 / 1.197 GB, free: 2.914 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2623, allocations: 0 / 1.197 GB, free: 2.914 MB / 0.823 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.0007776/0.2631, allocations: 0.5559 MB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2631, allocations: 8.031 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.2633, allocations: 60.72 kB / 1.198 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.2636, allocations: 198.1 kB / 1.198 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.2638, allocations: 499.6 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.2639, allocations: 36.3 kB / 1.198 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.2642, allocations: 261.7 kB / 1.198 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2642, allocations: 3.984 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.2642, allocations: 8 kB / 1.198 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2642, allocations: 4 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.2645, allocations: 179.8 kB / 1.199 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.2652, allocations: 0.6603 MB / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.2655, allocations: 193.6 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.2657, allocations: 126.5 kB / 1.2 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.2657, allocations: 16 kB / 1.2 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.266, allocations: 315.4 kB / 1.2 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=48): time 1.523e-06/0.266, allocations: 0 / 1.2 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of matching and sorting (n=48): time 0.0006504/0.2667, allocations: 479.7 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.2668, allocations: 122.8 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2669, allocations: 178.9 kB / 1.201 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2669, allocations: 41.7 kB / 1.201 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.267, allocations: 125.3 kB / 1.201 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.2671, allocations: 158.7 kB / 1.201 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.2672, allocations: 106.3 kB / 1.201 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.2673, allocations: 342.8 kB / 1.201 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2675, allocations: 145.2 kB / 1.202 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.2677, allocations: 260.7 kB / 1.202 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.2681, allocations: 398 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2681, allocations: 4 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005163/0.2686, allocations: 485.2 kB / 1.203 GB, free: 12.63 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2686, allocations: 11.94 kB / 1.203 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2686, allocations: 3.984 kB / 1.203 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.2687, allocations: 8 kB / 1.203 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.2689, allocations: 91.83 kB / 1.203 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2689, allocations: 8 kB / 1.203 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.269, allocations: 67.69 kB / 1.203 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.2693, allocations: 20 kB / 1.203 GB, free: 12.42 MB / 0.8387 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.0001279/0.2694, allocations: 155.5 kB / 1.203 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.2694, allocations: 35.73 kB / 1.203 GB, free: 12.23 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.2695, allocations: 33.95 kB / 1.203 GB, free: 12.19 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2695, allocations: 4 kB / 1.203 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.2695, allocations: 8 kB / 1.203 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2695, allocations: 3.984 kB / 1.203 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2697, allocations: 241 kB / 1.203 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2697, allocations: 0 / 1.203 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.2699, allocations: 75.89 kB / 1.203 GB, free: 11.83 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2699, allocations: 0 / 1.203 GB, free: 11.83 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2699, allocations: 19.88 kB / 1.203 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2699, allocations: 3.938 kB / 1.203 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2699, allocations: 4.062 kB / 1.203 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.2706, allocations: 0.5832 MB / 1.204 GB, free: 11.2 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.2706, allocations: 35.73 kB / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.2707, allocations: 15.94 kB / 1.204 GB, free: 11.15 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2708, allocations: 27.97 kB / 1.204 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.2708, allocations: 47.95 kB / 1.204 GB, free: 11.07 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2709, allocations: 12 kB / 1.204 GB, free: 11.06 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.2709, allocations: 136.3 kB / 1.204 GB, free: 10.93 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2709, allocations: 4 kB / 1.204 GB, free: 10.93 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002225/0.2711, allocations: 76 kB / 1.204 GB, free: 10.85 MB / 0.8387 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.000133/0.2713, allocations: 115.2 kB / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.2717, allocations: 359.8 kB / 1.205 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2718, allocations: 0 / 1.205 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.272, allocations: 177 kB / 1.205 GB, free: 10.21 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2722, allocations: 44.97 kB / 1.205 GB, free: 10.16 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.273, allocations: 0.6551 MB / 1.206 GB, free: 9.473 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.2731, allocations: 160.1 kB / 1.206 GB, free: 9.293 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.2732, allocations: 39.62 kB / 1.206 GB, free: 9.254 MB / 0.8387 GB Notification: Performance of SimCode: time 8.12e-07/0.2732, allocations: 4 kB / 1.206 GB, free: 9.25 MB / 0.8387 GB Notification: Performance of Templates: time 0.004587/0.2778, allocations: 4.137 MB / 1.21 GB, free: 5.137 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.652086925692856] Failed to read output from testmodel.py, exit status != 0: 0.28492975514382124 0.291863034 0.027857932000000002 Calling exit ...