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.0007432/0.0007432, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008243/0.0008243, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9291/0.9291, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7459/0.7459, allocations: 154.5 MB / 413.7 MB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.209e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003699/0.003731, allocations: 1.601 MB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.004782, allocations: 0.5298 MB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.004865, allocations: 4 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.004901, allocations: 7.875 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.005, allocations: 15.8 kB / 0.6202 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.005325, allocations: 55.81 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.005548, allocations: 99.75 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005671, allocations: 12.17 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.005795, allocations: 51.89 kB / 0.6204 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.005893, allocations: 39.81 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.005923, allocations: 12 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.005942, allocations: 8 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.005976, allocations: 19.92 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.006031, allocations: 23.97 kB / 0.6205 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.006215, allocations: 95.67 kB / 0.6206 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.00622, allocations: 4 kB / 0.6206 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006222, allocations: 0 / 0.6206 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.006227, allocations: 0 / 0.6206 GB, free: 11.19 MB / 0.5886 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.0007872/0.007014, allocations: 399.2 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.007067, allocations: 9.469 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.007113, allocations: 42.73 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.007165, allocations: 8.891 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.007448, allocations: 129.7 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.007569, allocations: 93.61 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.007597, allocations: 8.328 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.007873, allocations: 94.19 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.007893, allocations: 7.875 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.007911, allocations: 7.984 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.007917, allocations: 4 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.008204, allocations: 71.88 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.008749, allocations: 295.7 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.009064, allocations: 94.56 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.00915, allocations: 40.83 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.009175, allocations: 4 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.009427, allocations: 119.3 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.00943, allocations: 0 / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004211/0.009851, allocations: 181.5 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.009893, allocations: 51.41 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.00998, allocations: 133.4 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.009998, allocations: 33.7 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.01004, allocations: 88.14 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.01007, allocations: 35.73 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.01011, allocations: 29.7 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.01019, allocations: 330.8 kB / 0.6228 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01032, allocations: 103.4 kB / 0.6229 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01044, allocations: 125.1 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.01064, allocations: 165 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01064, allocations: 4 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000301/0.01094, allocations: 272.3 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.01098, allocations: 59.41 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01099, allocations: 0 / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01101, allocations: 4 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.01109, allocations: 23.97 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01109, allocations: 4.031 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.01116, allocations: 23.94 kB / 0.6235 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.01117, allocations: 4.375 kB / 0.6235 GB, free: 7.84 MB / 0.5886 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.55e-05/0.01125, allocations: 118.8 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.01126, allocations: 7.953 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.01129, allocations: 20.36 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01129, allocations: 7.938 kB / 0.6237 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.0113, allocations: 0 / 0.6237 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0113, allocations: 7.938 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.01141, allocations: 160.6 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01141, allocations: 0 / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.01149, allocations: 27.97 kB / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01149, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.0115, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.0115, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0115, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.01186, allocations: 232.8 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.01188, allocations: 8.047 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01189, allocations: 0 / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.01195, allocations: 20.02 kB / 0.6241 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.01201, allocations: 19.97 kB / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01202, allocations: 7.984 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.01205, allocations: 98.89 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01205, allocations: 0 / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001426/0.0122, allocations: 28 kB / 0.6242 GB, free: 7.02 MB / 0.5886 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.0005524/0.01275, allocations: 0.7528 MB / 0.625 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.01307, allocations: 278.1 kB / 0.6252 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01307, allocations: 0 / 0.6252 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01317, allocations: 60.08 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.01337, allocations: 20.27 kB / 0.6253 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.01512, allocations: 1.914 MB / 0.6272 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.01518, allocations: 75.33 kB / 0.6273 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.01522, allocations: 8.5 kB / 0.6273 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.01528, allocations: 32.48 kB / 0.6273 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of SimCode: time 7.12e-07/0.01528, allocations: 0 / 0.6273 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03397, allocations: 3.602 MB / 0.6308 GB, free: 236 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/6.871, allocations: 6.094 kB / 0.6308 GB, free: 232 kB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.816577305085957] Failed to read output from testmodel.py, exit status != 0: 6.953617905266583 6.961400697 6.95290212 Calling exit ...