Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.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.001286/0.001286, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001335/0.001335, allocations: 156.3 kB / 23.01 MB, free: 4.945 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 101.3 MB / 361.1 MB, free: 9.52 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [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.00213/0.00213, allocations: 65.81 kB / 0.5356 GB, free: 5.188 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1418, allocations: 85.88 MB / 0.6195 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002879/0.1447, allocations: 1.581 MB / 0.621 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1457, allocations: 0.5259 MB / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1458, allocations: 0 / 0.6216 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.1458, allocations: 11.86 kB / 0.6216 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.1459, allocations: 15.88 kB / 0.6216 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1462, allocations: 51.88 kB / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1464, allocations: 103.7 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.1464, allocations: 16.11 kB / 0.6218 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.1465, allocations: 39.91 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.1466, allocations: 35.83 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1466, allocations: 8 kB / 0.6218 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.885e-05/0.1466, allocations: 8 kB / 0.6218 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.1467, allocations: 27.84 kB / 0.6219 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.1467, allocations: 31.86 kB / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1469, allocations: 87.69 kB / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1469, allocations: 0 / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1469, allocations: 3.938 kB / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1469, allocations: 0 / 0.622 GB, free: 15.02 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007805/0.1477, allocations: 403.1 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1477, allocations: 12.03 kB / 0.6224 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1478, allocations: 8.891 kB / 0.6224 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.148, allocations: 126.5 kB / 0.6225 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.1481, allocations: 101.6 kB / 0.6226 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1481, allocations: 8.375 kB / 0.6226 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1484, allocations: 97.56 kB / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1484, allocations: 0 / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1484, allocations: 4 kB / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1484, allocations: 0 / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.1488, allocations: 75.92 kB / 0.6228 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.1493, allocations: 276.3 kB / 0.623 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1497, allocations: 90.56 kB / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1499, allocations: 44.81 kB / 0.6232 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1499, allocations: 11.98 kB / 0.6232 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.1502, allocations: 118 kB / 0.6233 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1502, allocations: 0 / 0.6233 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006402/0.1509, allocations: 177.5 kB / 0.6235 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1509, allocations: 63.39 kB / 0.6235 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.151, allocations: 125.3 kB / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1511, allocations: 33.7 kB / 0.6237 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.1511, allocations: 92.08 kB / 0.6238 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1512, allocations: 35.73 kB / 0.6238 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1512, allocations: 33.66 kB / 0.6238 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1514, allocations: 326.8 kB / 0.6241 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1516, allocations: 103.4 kB / 0.6242 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1518, allocations: 129 kB / 0.6244 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.1522, allocations: 165 kB / 0.6245 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1522, allocations: 0 / 0.6245 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005521/0.1528, allocations: 276.4 kB / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.1529, allocations: 63.34 kB / 0.6249 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1529, allocations: 3.984 kB / 0.6249 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1529, allocations: 0 / 0.6249 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.153, allocations: 19.98 kB / 0.6249 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.153, allocations: 4 kB / 0.6249 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1532, allocations: 19.94 kB / 0.6249 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1532, allocations: 4 kB / 0.6249 GB, free: 11.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001067/0.1533, allocations: 132.3 kB / 0.625 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1533, allocations: 7.953 kB / 0.625 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1533, allocations: 12.44 kB / 0.625 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1533, allocations: 3.938 kB / 0.625 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1533, allocations: 4 kB / 0.6251 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1533, allocations: 0 / 0.6251 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1535, allocations: 133.2 kB / 0.6252 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1535, allocations: 0 / 0.6252 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1537, allocations: 27.97 kB / 0.6252 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1537, allocations: 0 / 0.6252 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1537, allocations: 4 kB / 0.6252 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1537, allocations: 0 / 0.6252 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1537, allocations: 4 kB / 0.6252 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.1543, allocations: 220.8 kB / 0.6254 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.1543, allocations: 7.953 kB / 0.6254 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1544, allocations: 4 kB / 0.6254 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1545, allocations: 24.03 kB / 0.6255 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.1545, allocations: 11.97 kB / 0.6255 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.1546, allocations: 11.98 kB / 0.6255 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.1546, allocations: 102.5 kB / 0.6256 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1546, allocations: 96 / 0.6256 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002152/0.1548, allocations: 23.94 kB / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001042/0.155, allocations: 103.1 kB / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1555, allocations: 278.1 kB / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1555, allocations: 0 / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1557, allocations: 55.95 kB / 0.626 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1559, allocations: 22.58 kB / 0.626 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.1566, allocations: 255.6 kB / 0.6263 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.1567, allocations: 79.08 kB / 0.6264 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.1567, allocations: 8.484 kB / 0.6264 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.1567, allocations: 16.5 kB / 0.6264 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1567, allocations: 0 / 0.6264 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.004611/0.1614, allocations: 1.622 MB / 0.628 GB, free: 8.48 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.049811011063866] Failed to read output from testmodel.py, exit status != 0: 0.1684486969606951 0.183849381 0.033920820000000004 Calling exit ...