Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000777/0.000777, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008398/0.0008398, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9062/0.9062, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6975/0.6975, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.088e-05, allocations: 9.172 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001613/0.001634, allocations: 1.014 MB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.002742, allocations: 1.131 MB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.002809, allocations: 4 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.002849, allocations: 19.69 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.002934, allocations: 47.5 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.003327, allocations: 166 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.003556, allocations: 331 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003674, allocations: 32.56 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.00391, allocations: 199.7 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.004031, allocations: 115.6 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.004065, allocations: 31.98 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.004124, allocations: 36 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.004167, allocations: 75.77 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.004233, allocations: 99.73 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.004489, allocations: 342.9 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004492, allocations: 0 / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004493, allocations: 3.938 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.004498, allocations: 0 / 0.6216 GB, free: 9.98 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007476/0.005246, allocations: 0.556 MB / 0.6222 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005283, allocations: 13.45 kB / 0.6222 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.005329, allocations: 58.73 kB / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.00551, allocations: 60.72 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.005601, allocations: 146.3 kB / 0.6225 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.0058, allocations: 499.7 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.005845, allocations: 32.38 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.006169, allocations: 259.1 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.006182, allocations: 192 / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.006203, allocations: 16.36 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.006211, allocations: 15.92 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.006469, allocations: 167.8 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.007201, allocations: 0.6948 MB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.007517, allocations: 199.7 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.00767, allocations: 130.5 kB / 0.6244 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.007702, allocations: 8 kB / 0.6244 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.008065, allocations: 304.1 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.008066, allocations: 4 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0006345/0.008701, allocations: 491.8 kB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.008761, allocations: 126.7 kB / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008873, allocations: 180.6 kB / 0.6255 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.008901, allocations: 41.7 kB / 0.6255 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.008957, allocations: 117.3 kB / 0.6256 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/0.009049, allocations: 158.7 kB / 0.6258 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.009146, allocations: 110.3 kB / 0.6259 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.009234, allocations: 334.8 kB / 0.6262 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.009417, allocations: 145.2 kB / 0.6263 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.009642, allocations: 256.8 kB / 0.6266 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.01005, allocations: 398 kB / 0.627 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01006, allocations: 0 / 0.627 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005106/0.01057, allocations: 485.6 kB / 0.6274 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01058, allocations: 4 kB / 0.6274 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.01059, allocations: 4 kB / 0.6274 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.0106, allocations: 11.94 kB / 0.6274 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.01079, allocations: 95.83 kB / 0.6275 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.0108, allocations: 8.141 kB / 0.6275 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01093, allocations: 63.73 kB / 0.6276 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.01095, allocations: 24.06 kB / 0.6276 GB, free: 3.426 MB / 0.5886 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.0001191/0.01107, allocations: 156.7 kB / 0.6278 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.0111, allocations: 35.75 kB / 0.6278 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.01114, allocations: 33.95 kB / 0.6278 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01114, allocations: 11.94 kB / 0.6278 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.01115, allocations: 0 / 0.6278 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01116, allocations: 4.078 kB / 0.6278 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.01136, allocations: 276.5 kB / 0.6281 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01136, allocations: 3.984 kB / 0.6281 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01156, allocations: 71.89 kB / 0.6282 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01156, allocations: 4 kB / 0.6282 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.01159, allocations: 15.98 kB / 0.6282 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01159, allocations: 11.94 kB / 0.6282 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01159, allocations: 0 / 0.6282 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.01227, allocations: 0.5878 MB / 0.6288 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.0123, allocations: 27.98 kB / 0.6288 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01232, allocations: 8 kB / 0.6288 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.01242, allocations: 39.83 kB / 0.6289 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.01252, allocations: 59.92 kB / 0.6289 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.01254, allocations: 19.98 kB / 0.6289 GB, free: 2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.0126, allocations: 120.1 kB / 0.6291 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 0 / 0.6291 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002201/0.01282, allocations: 87.92 kB / 0.6291 GB, free: 1.797 MB / 0.5886 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.0008506/0.01367, allocations: 1.146 MB / 0.6303 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.01412, allocations: 359.1 kB / 0.6306 GB, free: 276 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01412, allocations: 0 / 0.6306 GB, free: 276 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.01433, allocations: 188.1 kB / 0.6308 GB, free: 92 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01455, allocations: 50 kB / 0.6308 GB, free: 44 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.01708, allocations: 3.138 MB / 0.6339 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.01717, allocations: 152.1 kB / 0.634 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.01728, allocations: 42.95 kB / 0.6341 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.0174, allocations: 92.47 kB / 0.6342 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.0174, allocations: 4 kB / 0.6342 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.03763, allocations: 7.467 MB / 0.6415 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.389, allocations: 2.188 kB / 0.6415 GB, free: 5.18 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.105171563103795] Failed to read output from testmodel.py, exit status != 0: 7.47382995672524 7.483206497 7.476866798 Calling exit ...