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.001402/0.001402, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001679/0.001679, allocations: 217.5 kB / 22.25 MB, free: 5.078 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.06593/0.06593, allocations: 12.18 MB / 324.6 MB, free: 7.273 MB / 254.1 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.0007642/0.0007642, allocations: 29.23 kB / 384.1 MB, free: 46.6 MB / 302.1 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 2.529/2.529, allocations: 353.8 MB / 0.7787 GB, free: 1.059 MB / 0.5138 GB " [Timeout remaining time 177] 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.005824/0.005824, allocations: 113.2 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3141, allocations: 134.9 MB / 1.192 GB, free: 6.164 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00507/0.3191, allocations: 2.004 MB / 1.194 GB, free: 4.152 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3212, allocations: 0.7479 MB / 1.195 GB, free: 3.398 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3213, allocations: 3.938 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 9.551e-05/0.3214, allocations: 23.67 kB / 1.195 GB, free: 3.371 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3216, allocations: 43.58 kB / 1.195 GB, free: 3.328 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.3224, allocations: 163.7 kB / 1.195 GB, free: 3.168 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.3231, allocations: 331.1 kB / 1.196 GB, free: 2.844 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3233, allocations: 40.92 kB / 1.196 GB, free: 2.801 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.3237, allocations: 147.5 kB / 1.196 GB, free: 2.656 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.3241, allocations: 151.4 kB / 1.196 GB, free: 2.508 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.3242, allocations: 28 kB / 1.196 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3243, allocations: 39.94 kB / 1.196 GB, free: 2.441 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3244, allocations: 71.8 kB / 1.196 GB, free: 2.371 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.3246, allocations: 143.3 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.3252, allocations: 314.7 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3252, allocations: 7.938 kB / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3252, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.3252, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.8263 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.00195/0.3272, allocations: 0.5598 MB / 1.197 GB, free: 1.324 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3272, allocations: 15.98 kB / 1.197 GB, free: 1.309 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/0.3278, allocations: 56.75 kB / 1.197 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.3283, allocations: 190.1 kB / 1.197 GB, free: 1.043 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005481/0.3288, allocations: 499.6 kB / 1.198 GB, free: 456 kB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.3289, allocations: 40.34 kB / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.3298, allocations: 257.9 kB / 1.198 GB, free: 144 kB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.3298, allocations: 4 kB / 1.198 GB, free: 140 kB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.3298, allocations: 8 kB / 1.198 GB, free: 132 kB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3298, allocations: 4 kB / 1.198 GB, free: 128 kB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.3306, allocations: 179.8 kB / 1.198 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.3324, allocations: 0.7494 MB / 1.199 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.3332, allocations: 199.7 kB / 1.199 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.3337, allocations: 126.5 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.3337, allocations: 15.92 kB / 1.199 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008458/0.3346, allocations: 303.7 kB / 1.2 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.3346, allocations: 0 / 1.2 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.001808/0.3364, allocations: 494.5 kB / 1.2 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.3365, allocations: 118.7 kB / 1.2 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.3368, allocations: 187.3 kB / 1.2 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.3369, allocations: 41.64 kB / 1.2 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3371, allocations: 129.3 kB / 1.2 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.3373, allocations: 150.8 kB / 1.201 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.3376, allocations: 110.3 kB / 1.201 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.3378, allocations: 338.8 kB / 1.201 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.3384, allocations: 145.2 kB / 1.201 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.3391, allocations: 256.8 kB / 1.201 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.3402, allocations: 390 kB / 1.202 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3402, allocations: 0 / 1.202 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001523/0.3418, allocations: 0.4898 MB / 1.202 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3418, allocations: 5.25 kB / 1.202 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.3418, allocations: 8.062 kB / 1.202 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.3418, allocations: 4 kB / 1.202 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.3425, allocations: 95.83 kB / 1.202 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.3425, allocations: 7.938 kB / 1.202 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.343, allocations: 71.69 kB / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.3431, allocations: 20 kB / 1.202 GB, free: 11.31 MB / 0.8419 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.0002803/0.3433, allocations: 159.4 kB / 1.203 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.3434, allocations: 31.88 kB / 1.203 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3435, allocations: 33.95 kB / 1.203 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.3436, allocations: 8 kB / 1.203 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3436, allocations: 0 / 1.203 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3436, allocations: 7.984 kB / 1.203 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.3442, allocations: 332.3 kB / 1.203 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3442, allocations: 0 / 1.203 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.3449, allocations: 75.83 kB / 1.203 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3449, allocations: 0 / 1.203 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.345, allocations: 19.98 kB / 1.203 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.345, allocations: 0 / 1.203 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.345, allocations: 80 / 1.203 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3468, allocations: 0.5831 MB / 1.204 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3469, allocations: 35.69 kB / 1.204 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.347, allocations: 11.98 kB / 1.204 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.3474, allocations: 35.97 kB / 1.204 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.3476, allocations: 51.91 kB / 1.204 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3476, allocations: 16 kB / 1.204 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001734/0.3478, allocations: 128.4 kB / 1.204 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3478, allocations: 0 / 1.204 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006092/0.3484, allocations: 80 kB / 1.204 GB, free: 9.645 MB / 0.8419 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.0002251/0.3486, allocations: 115.3 kB / 1.204 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.3499, allocations: 366.7 kB / 1.204 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3499, allocations: 4 kB / 1.204 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/0.3506, allocations: 183.7 kB / 1.205 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.3511, allocations: 52.03 kB / 1.205 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.353, allocations: 0.6262 MB / 1.205 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.3536, allocations: 0.7648 MB / 1.206 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.3539, allocations: 38.97 kB / 1.206 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.354, allocations: 39.42 kB / 1.206 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.354, allocations: 0 / 1.206 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of Templates: time 0.01476/0.3688, allocations: 4.155 MB / 1.21 GB, free: 3.281 MB / 0.8419 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: 8.429592862725258] Failed to read output from testmodel.py, exit status != 0: 0.3824177645146847 0.40572559599999997 0.075433136 Calling exit ...