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.0007698/0.0007698, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007586/0.0007586, allocations: 207.8 kB / 23 MB, free: 3.121 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.8626/0.8626, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7332/0.7332, allocations: 203.8 MB / 0.5049 GB, free: 0.6797 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.0009249/0.0009249, allocations: 59.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4172, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002239/0.4195, allocations: 1.62 MB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.4202, allocations: 0.5669 MB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.4203, allocations: 5.25 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.4203, allocations: 5.938 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.4204, allocations: 19.69 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.4207, allocations: 56.05 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.4209, allocations: 102.7 kB / 0.8214 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.421, allocations: 14.45 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.4211, allocations: 38.25 kB / 0.8215 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.4212, allocations: 46.34 kB / 0.8215 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4212, allocations: 8.938 kB / 0.8215 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.4212, allocations: 8.844 kB / 0.8215 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.4212, allocations: 24.06 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.4213, allocations: 33.05 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.4214, allocations: 80.81 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4215, allocations: 1.719 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4215, allocations: 0.5312 kB / 0.8216 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4215, allocations: 0 / 0.8216 GB, free: 23.49 MB / 0.6355 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.0005702/0.422, allocations: 407.6 kB / 0.822 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4221, allocations: 11.31 kB / 0.822 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.4221, allocations: 10.89 kB / 0.8221 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4223, allocations: 133.1 kB / 0.8222 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.4224, allocations: 91.06 kB / 0.8223 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4224, allocations: 7.219 kB / 0.8223 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4226, allocations: 100 kB / 0.8224 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4226, allocations: 0 / 0.8224 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4226, allocations: 6.359 kB / 0.8224 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4226, allocations: 1.812 kB / 0.8224 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.4228, allocations: 78.97 kB / 0.8225 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.4232, allocations: 309.4 kB / 0.8228 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4235, allocations: 92.84 kB / 0.8228 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.4235, allocations: 48.39 kB / 0.8229 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.4236, allocations: 1.312 kB / 0.8229 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.4238, allocations: 121.6 kB / 0.823 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.4238, allocations: 5.141 kB / 0.823 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003679/0.4241, allocations: 178.1 kB / 0.8232 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.4242, allocations: 58.58 kB / 0.8232 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.4242, allocations: 124.7 kB / 0.8234 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.4242, allocations: 28.84 kB / 0.8234 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.4243, allocations: 97.27 kB / 0.8235 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.4243, allocations: 29.81 kB / 0.8235 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.4243, allocations: 31.55 kB / 0.8235 GB, free: 22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.4244, allocations: 327.6 kB / 0.8238 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4245, allocations: 51.66 kB / 0.8239 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4246, allocations: 66.02 kB / 0.824 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4248, allocations: 170.9 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4248, allocations: 0 / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002832/0.4251, allocations: 225.4 kB / 0.8243 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.4251, allocations: 63.42 kB / 0.8244 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4251, allocations: 0.7188 kB / 0.8244 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4252, allocations: 1.25 kB / 0.8244 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.4252, allocations: 27.03 kB / 0.8244 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4252, allocations: 1.156 kB / 0.8244 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.53e-05/0.4253, allocations: 22.95 kB / 0.8244 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4253, allocations: 11.92 kB / 0.8245 GB, free: 21.31 MB / 0.6355 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 5.994e-05/0.4254, allocations: 123.2 kB / 0.8246 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.4254, allocations: 8.703 kB / 0.8246 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.4254, allocations: 18.89 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4254, allocations: 3.016 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4254, allocations: 0.5 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4254, allocations: 0 / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.4256, allocations: 168.1 kB / 0.8248 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4256, allocations: 4.438 kB / 0.8248 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.4256, allocations: 22.72 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4256, allocations: 1.25 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4257, allocations: 6.609 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4257, allocations: 0.5 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4257, allocations: 4.5 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.426, allocations: 218.1 kB / 0.825 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.426, allocations: 11.17 kB / 0.825 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.426, allocations: 1.891 kB / 0.825 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.4261, allocations: 19.02 kB / 0.825 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.4261, allocations: 16.12 kB / 0.8251 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.4262, allocations: 3.641 kB / 0.8251 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.4262, allocations: 101.4 kB / 0.8252 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4262, allocations: 1.156 kB / 0.8252 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001432/0.4263, allocations: 18.2 kB / 0.8252 GB, free: 20.77 MB / 0.6355 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 7.841e-05/0.4264, allocations: 104.3 kB / 0.8253 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.4267, allocations: 225.3 kB / 0.8255 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4267, allocations: 1.25 kB / 0.8255 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4268, allocations: 49.42 kB / 0.8255 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.427, allocations: 19.97 kB / 0.8256 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.4274, allocations: 275.4 kB / 0.8258 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.586e-05/0.4275, allocations: 0.7004 MB / 0.8265 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.4276, allocations: 14.58 kB / 0.8265 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.4276, allocations: 0 / 0.8265 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.002626/0.4302, allocations: 1.439 MB / 0.8279 GB, free: 19.46 MB / 0.6355 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.673170862020925] Failed to read output from testmodel.py, exit status != 0: 0.4358428979758173 0.44377646699999995 0.020551757 Calling exit ...