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.0009198/0.0009198, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008634/0.0008634, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9699/0.9699, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7429/0.7429, allocations: 154.6 MB / 413.8 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.316e-05, allocations: 5.734 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002242/0.002265, allocations: 1.594 MB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.003074, allocations: 0.5376 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.00314, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.003167, allocations: 3.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.003248, allocations: 11.81 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.003534, allocations: 63.73 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.003706, allocations: 103.8 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.003806, allocations: 8.172 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.003899, allocations: 55.89 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.003969, allocations: 31.89 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.003992, allocations: 12 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.004006, allocations: 8 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.004036, allocations: 23.89 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.004079, allocations: 23.98 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.004209, allocations: 99.61 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004212, allocations: 0 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.004213, allocations: 4 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.004218, allocations: 0 / 0.6206 GB, free: 11.04 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.0005972/0.004815, allocations: 399.2 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.004856, allocations: 8.031 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.004884, allocations: 34.75 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.004921, allocations: 8.891 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.005122, allocations: 137.6 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.005209, allocations: 93.66 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.005232, allocations: 12.33 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.00542, allocations: 94.12 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005431, allocations: 7.875 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.005446, allocations: 8 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.00545, allocations: 0 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.005612, allocations: 79.86 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.006056, allocations: 291.8 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.006313, allocations: 86.58 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.006398, allocations: 44.81 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.006417, allocations: 4 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.006628, allocations: 123.3 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006629, allocations: 0 / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003699/0.006999, allocations: 177.5 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.007033, allocations: 51.41 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.007109, allocations: 136.9 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.007127, allocations: 29.7 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.007173, allocations: 88.14 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.007198, allocations: 35.72 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.007242, allocations: 29.7 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.007323, allocations: 322.8 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.007452, allocations: 107.4 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.007571, allocations: 129.1 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.007767, allocations: 161 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007769, allocations: 0 / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002871/0.008056, allocations: 276.4 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.008103, allocations: 67.39 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.008109, allocations: 0 / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.008124, allocations: 4 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.008198, allocations: 27.92 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008203, allocations: 0 / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.008276, allocations: 23.92 kB / 0.6236 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.008288, allocations: 8.375 kB / 0.6236 GB, free: 7.688 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 8.642e-05/0.008375, allocations: 122.8 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.008389, allocations: 7.953 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.008421, allocations: 16.42 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.008425, allocations: 7.922 kB / 0.6237 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.00843, allocations: 0 / 0.6237 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008435, allocations: 3.938 kB / 0.6237 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.008564, allocations: 156.6 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008565, allocations: 0 / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.008644, allocations: 23.92 kB / 0.6239 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008647, allocations: 0 / 0.6239 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.008659, allocations: 7.984 kB / 0.6239 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008661, allocations: 4 kB / 0.6239 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.008663, allocations: 4 kB / 0.6239 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.009019, allocations: 216.8 kB / 0.6241 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.009035, allocations: 11.98 kB / 0.6241 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.009055, allocations: 4 kB / 0.6241 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.009108, allocations: 15.98 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.009167, allocations: 19.97 kB / 0.6242 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.009176, allocations: 4 kB / 0.6242 GB, free: 7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.009224, allocations: 98.52 kB / 0.6243 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009224, allocations: 4 kB / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001514/0.009375, allocations: 16 kB / 0.6243 GB, free: 6.887 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.0005474/0.009923, allocations: 0.7607 MB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01022, allocations: 274.1 kB / 0.6253 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01022, allocations: 0 / 0.6253 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.01032, allocations: 60.02 kB / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01052, allocations: 24.05 kB / 0.6254 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.01212, allocations: 1.914 MB / 0.6273 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.01217, allocations: 79.31 kB / 0.6273 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.01222, allocations: 12.48 kB / 0.6273 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.01228, allocations: 24.48 kB / 0.6274 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.01228, allocations: 4 kB / 0.6274 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.03047, allocations: 3.589 MB / 0.6309 GB, free: 104 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.925, allocations: 20.55 kB / 0.6309 GB, free: 92 kB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.846416674554348] Failed to read output from testmodel.py, exit status != 0: 7.008588396944106 7.021574041 7.015062499 Calling exit ...