Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007801/0.0007801, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008056/0.0008056, allocations: 212.1 kB / 23 MB, free: 2.98 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.903/0.903, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7444/0.7444, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008483/0.0008483, allocations: 67 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4178, allocations: 102 MB / 0.819 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001829/0.4196, allocations: 1.593 MB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.4203, allocations: 0.5291 MB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.4203, allocations: 3 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.4204, allocations: 5.766 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.976e-05/0.4204, allocations: 16.31 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.4207, allocations: 52.5 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.4209, allocations: 109.5 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.4209, allocations: 14.77 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.421, allocations: 35.83 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.4211, allocations: 37.14 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4211, allocations: 7 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.4211, allocations: 10.16 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.4211, allocations: 24.28 kB / 0.8214 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.4212, allocations: 33.48 kB / 0.8214 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.4213, allocations: 79.2 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4213, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4213, allocations: 1.219 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.4213, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.6198 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.0005721/0.4219, allocations: 412 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4219, allocations: 9.828 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.422, allocations: 10.23 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4222, allocations: 131.3 kB / 0.822 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.4223, allocations: 91.95 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4223, allocations: 8.781 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4225, allocations: 107 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.4225, allocations: 0 / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4225, allocations: 0.6562 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4225, allocations: 1.594 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.4227, allocations: 73.47 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.423, allocations: 267.2 kB / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.4233, allocations: 95.05 kB / 0.8226 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.4234, allocations: 45.28 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4234, allocations: 1.062 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.4236, allocations: 128.1 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.4236, allocations: 0 / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003555/0.424, allocations: 178.3 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.424, allocations: 61.94 kB / 0.823 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.4241, allocations: 123.8 kB / 0.8232 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4241, allocations: 32.67 kB / 0.8232 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.4241, allocations: 100.2 kB / 0.8233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.4242, allocations: 26.8 kB / 0.8233 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4242, allocations: 36.06 kB / 0.8233 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.4243, allocations: 326.2 kB / 0.8237 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4244, allocations: 102.9 kB / 0.8238 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4245, allocations: 123.7 kB / 0.8239 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4247, allocations: 167.1 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4247, allocations: 0 / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003161/0.4251, allocations: 280.4 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.4251, allocations: 65.06 kB / 0.8244 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4251, allocations: 2.203 kB / 0.8244 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4251, allocations: 5.375 kB / 0.8244 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.4252, allocations: 26.25 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4252, allocations: 1.594 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.4253, allocations: 27.42 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4253, allocations: 3.328 kB / 0.8244 GB, free: 13.35 MB / 0.6198 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 7.067e-05/0.4253, allocations: 125.5 kB / 0.8245 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.4254, allocations: 7.906 kB / 0.8246 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.4254, allocations: 15.88 kB / 0.8246 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4254, allocations: 5.406 kB / 0.8246 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4254, allocations: 0 / 0.8246 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4254, allocations: 0.6094 kB / 0.8246 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.828e-05/0.4255, allocations: 132.7 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4255, allocations: 0 / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.4256, allocations: 18.67 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4256, allocations: 4.594 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4256, allocations: 6.219 kB / 0.8247 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4256, allocations: 1.625 kB / 0.8247 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4256, allocations: 0.6562 kB / 0.8247 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.426, allocations: 229 kB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.426, allocations: 7.609 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.426, allocations: 3.219 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.426, allocations: 13.7 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.4261, allocations: 16.67 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4261, allocations: 8.062 kB / 0.825 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.4262, allocations: 100.6 kB / 0.8251 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4262, allocations: 0 / 0.8251 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001457/0.4263, allocations: 22.8 kB / 0.8251 GB, free: 12.85 MB / 0.6198 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 8.311e-05/0.4264, allocations: 95.16 kB / 0.8252 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4267, allocations: 276.8 kB / 0.8255 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4267, allocations: 5.469 kB / 0.8255 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4268, allocations: 57.64 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.427, allocations: 30.64 kB / 0.8256 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.4275, allocations: 258.7 kB / 0.8258 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.4276, allocations: 84.64 kB / 0.8259 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.4276, allocations: 17.97 kB / 0.8259 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.4276, allocations: 1.219 kB / 0.8259 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.002467/0.4301, allocations: 1.47 MB / 0.8273 GB, free: 12.09 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.568416521884501] Failed to read output from testmodel.py, exit status != 0: 0.4356296267360449 0.44554696600000004 0.02237797 Calling exit ...