Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.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.0008516/0.0008516, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00123/0.00123, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.897/0.897, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0366/0.0366, allocations: 12.2 MB / 324.6 MB, free: 6.102 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003919/0.0003919, allocations: 27.97 kB / 384.1 MB, free: 10.53 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.526/1.526, allocations: 353.9 MB / 0.7787 GB, free: 4.602 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001442/0.001442, allocations: 118.6 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.207, allocations: 134.9 MB / 1.192 GB, free: 7.473 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001641/0.2086, allocations: 1.01 MB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2096, allocations: 1.133 MB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.2097, allocations: 0 / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.2098, allocations: 23.67 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.2098, allocations: 39.59 kB / 1.194 GB, free: 5.254 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.2102, allocations: 151.7 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.2105, allocations: 335 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2106, allocations: 32.58 kB / 1.194 GB, free: 4.742 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.2108, allocations: 131.7 kB / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2109, allocations: 139.3 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.211, allocations: 32 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.211, allocations: 32 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.2111, allocations: 79.78 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.2111, allocations: 111.5 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2114, allocations: 319.1 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2114, allocations: 11.94 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2114, allocations: 0 / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2114, allocations: 3.938 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007338/0.2121, allocations: 0.552 MB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2121, allocations: 8.031 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.2122, allocations: 62.72 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2124, allocations: 56.72 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.2125, allocations: 147 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.2127, allocations: 499.6 kB / 1.196 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.2127, allocations: 28.38 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.213, allocations: 270 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.213, allocations: 0 / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2131, allocations: 15.97 kB / 1.197 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.2131, allocations: 4 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.2133, allocations: 171.8 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.214, allocations: 0.6949 MB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.2144, allocations: 203.7 kB / 1.198 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2146, allocations: 122.5 kB / 1.198 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.2146, allocations: 11.98 kB / 1.198 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.215, allocations: 311.4 kB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.215, allocations: 4 kB / 1.198 GB, free: 492 kB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.0006348/0.2156, allocations: 495.7 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.2157, allocations: 114.8 kB / 1.199 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2158, allocations: 183.4 kB / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.2158, allocations: 37.7 kB / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.2159, allocations: 117.3 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.2159, allocations: 158.8 kB / 1.199 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.216, allocations: 110.3 kB / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.2161, allocations: 338.8 kB / 1.2 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2163, allocations: 153.2 kB / 1.2 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2165, allocations: 256.8 kB / 1.2 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2169, allocations: 390 kB / 1.2 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2169, allocations: 0 / 1.2 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004861/0.2174, allocations: 497.2 kB / 1.201 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2174, allocations: 7.938 kB / 1.201 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2174, allocations: 4 kB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2174, allocations: 4 kB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.2176, allocations: 99.81 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2176, allocations: 4 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2177, allocations: 59.69 kB / 1.201 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.2178, allocations: 24 kB / 1.201 GB, free: 13.34 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001156/0.2179, allocations: 155.5 kB / 1.201 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2179, allocations: 35.73 kB / 1.201 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.218, allocations: 29.97 kB / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.218, allocations: 8 kB / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.218, allocations: 96 / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.218, allocations: 7.969 kB / 1.201 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.2182, allocations: 276.5 kB / 1.202 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2182, allocations: 0 / 1.202 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.2184, allocations: 79.89 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2184, allocations: 7.938 kB / 1.202 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2184, allocations: 20.05 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2184, allocations: 7.938 kB / 1.202 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2184, allocations: 0 / 1.202 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.2191, allocations: 0.5784 MB / 1.202 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.2191, allocations: 31.69 kB / 1.202 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.2191, allocations: 8 kB / 1.202 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2192, allocations: 39.95 kB / 1.202 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.2193, allocations: 59.94 kB / 1.202 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2193, allocations: 16 kB / 1.202 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.2194, allocations: 124.1 kB / 1.203 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2194, allocations: 0 / 1.203 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002116/0.2196, allocations: 80 kB / 1.203 GB, free: 11.71 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0008717/0.2205, allocations: 1.156 MB / 1.204 GB, free: 10.53 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.2209, allocations: 364 kB / 1.204 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2209, allocations: 192 / 1.204 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.2211, allocations: 188.4 kB / 1.204 GB, free: 9.992 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2214, allocations: 41.86 kB / 1.204 GB, free: 9.953 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.224, allocations: 3.163 MB / 1.207 GB, free: 6.629 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.2241, allocations: 160.2 kB / 1.208 GB, free: 6.457 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.2242, allocations: 34.97 kB / 1.208 GB, free: 6.422 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2243, allocations: 95.39 kB / 1.208 GB, free: 6.328 MB / 0.8387 GB Notification: Performance of SimCode: time 1.202e-06/0.2243, allocations: 0 / 1.208 GB, free: 6.328 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.243, allocations: 7.33 MB / 1.215 GB, free: 15.19 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.039/6.282, allocations: 5.812 kB / 1.215 GB, free: 15.18 MB / 0.8543 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.319507499225438] Failed to read output from testmodel.py, exit status != 0: 6.358699093572795 6.366686942 6.153403245 Calling exit ...