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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.225/1.225, allocations: 177.9 MB / 484.2 MB, free: 5.312 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 64.98 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6433, allocations: 95.17 MB / 0.7669 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002946/0.6463, allocations: 1.598 MB / 0.7685 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.6473, allocations: 0.5387 MB / 0.769 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.6474, allocations: 4 kB / 0.769 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.6474, allocations: 6.172 kB / 0.769 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.641e-05/0.6475, allocations: 16.25 kB / 0.769 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.6478, allocations: 54.78 kB / 0.7691 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.648, allocations: 101.5 kB / 0.7692 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.6481, allocations: 15.47 kB / 0.7692 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.6482, allocations: 39.44 kB / 0.7692 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.6483, allocations: 38.89 kB / 0.7693 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.6483, allocations: 9.375 kB / 0.7693 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.6483, allocations: 11.69 kB / 0.7693 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.6484, allocations: 19.69 kB / 0.7693 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.6484, allocations: 43.67 kB / 0.7694 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.6486, allocations: 87.5 kB / 0.7694 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6486, allocations: 0 / 0.7694 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6486, allocations: 0 / 0.7694 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6486, allocations: 1.375 kB / 0.7694 GB, free: 6.566 MB / 0.5762 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.0008058/0.6494, allocations: 398.2 kB / 0.7698 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6494, allocations: 13.38 kB / 0.7698 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.6495, allocations: 14.3 kB / 0.7698 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.6497, allocations: 130.2 kB / 0.77 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.6498, allocations: 33.66 kB / 0.77 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.6498, allocations: 10.83 kB / 0.77 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.6501, allocations: 97.55 kB / 0.7701 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6501, allocations: 0 / 0.7701 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6501, allocations: 8.906 kB / 0.7701 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6501, allocations: 1.094 kB / 0.7701 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.6505, allocations: 71.83 kB / 0.7702 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.651, allocations: 311.8 kB / 0.7705 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.6514, allocations: 92.53 kB / 0.7706 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6516, allocations: 45.5 kB / 0.7706 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.6516, allocations: 1 kB / 0.7706 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.6519, allocations: 126.9 kB / 0.7707 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.6519, allocations: 0 / 0.7707 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006418/0.6525, allocations: 176.1 kB / 0.7709 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.6526, allocations: 61.42 kB / 0.771 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.6527, allocations: 125.7 kB / 0.7711 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6527, allocations: 32.73 kB / 0.7711 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.6527, allocations: 100.5 kB / 0.7712 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.6528, allocations: 26.41 kB / 0.7712 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.6528, allocations: 32.59 kB / 0.7713 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.6529, allocations: 323 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.6531, allocations: 54.8 kB / 0.7716 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.6533, allocations: 69.03 kB / 0.7717 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.6536, allocations: 162.5 kB / 0.7718 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6536, allocations: 4 kB / 0.7719 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004829/0.6541, allocations: 222 kB / 0.7721 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.6542, allocations: 59.47 kB / 0.7721 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6542, allocations: 4.906 kB / 0.7721 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6542, allocations: 0.9375 kB / 0.7721 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6543, allocations: 27.5 kB / 0.7722 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6543, allocations: 9.859 kB / 0.7722 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.6545, allocations: 20.81 kB / 0.7722 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.6545, allocations: 8.703 kB / 0.7722 GB, free: 4.441 MB / 0.5762 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.069e-05/0.6546, allocations: 117.2 kB / 0.7723 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.6546, allocations: 8.516 kB / 0.7723 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.6546, allocations: 14.03 kB / 0.7723 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6546, allocations: 1.438 kB / 0.7723 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6546, allocations: 0 / 0.7723 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.6546, allocations: 5.953 kB / 0.7723 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.6548, allocations: 171.4 kB / 0.7725 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6548, allocations: 1.219 kB / 0.7725 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6549, allocations: 26.58 kB / 0.7725 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.6549, allocations: 0 / 0.7725 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6549, allocations: 2.906 kB / 0.7725 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6549, allocations: 1.062 kB / 0.7725 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6549, allocations: 0 / 0.7725 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.6555, allocations: 228.1 kB / 0.7727 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.6556, allocations: 14.48 kB / 0.7728 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.6556, allocations: 1.438 kB / 0.7728 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6557, allocations: 17.44 kB / 0.7728 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.6558, allocations: 22.81 kB / 0.7728 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.6558, allocations: 2.969 kB / 0.7728 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.6558, allocations: 105.2 kB / 0.7729 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6558, allocations: 0 / 0.7729 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002116/0.6561, allocations: 26.59 kB / 0.7729 GB, free: 3.883 MB / 0.5762 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.0001094/0.6562, allocations: 104.3 kB / 0.773 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.6566, allocations: 222.2 kB / 0.7732 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6566, allocations: 0 / 0.7732 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.6568, allocations: 53.75 kB / 0.7733 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.6571, allocations: 24.77 kB / 0.7733 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.6577, allocations: 233.6 kB / 0.7735 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.6579, allocations: 0.6939 MB / 0.7742 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.6579, allocations: 11.58 kB / 0.7742 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.658, allocations: 16.78 kB / 0.7742 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.658, allocations: 0.875 kB / 0.7742 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.005119/0.6631, allocations: 1.572 MB / 0.7758 GB, free: 2.609 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.780951711349189] Failed to read output from testmodel.py, exit status != 0: 0.6727433484047651 0.686492798 0.03449133 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2b653457b0>