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.0008438/0.0008438, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0009323/0.0009323, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9803/0.9803, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.8008/0.8008, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS 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.0009928/0.0009928, allocations: 71.81 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5493, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001976/0.5513, allocations: 1.116 MB / 0.819 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.5523, allocations: 1.148 MB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.5524, allocations: 3.656 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.5524, allocations: 17.77 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.5525, allocations: 40.12 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.5529, allocations: 155.1 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.5532, allocations: 330.5 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.5533, allocations: 45.72 kB / 0.8207 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.5535, allocations: 134.6 kB / 0.8208 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.5537, allocations: 152.5 kB / 0.821 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.5538, allocations: 28 kB / 0.821 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.5538, allocations: 38.42 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.5539, allocations: 81.28 kB / 0.8211 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.554, allocations: 137.1 kB / 0.8212 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.5544, allocations: 315.8 kB / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5544, allocations: 0 / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5544, allocations: 0 / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5544, allocations: 0.5625 kB / 0.8215 GB, free: 14.98 MB / 0.6198 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.0008288/0.5552, allocations: 0.5695 MB / 0.8221 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5552, allocations: 9.938 kB / 0.8221 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.5553, allocations: 58.62 kB / 0.8222 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.5555, allocations: 56.47 kB / 0.8222 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5556, allocations: 141.5 kB / 0.8223 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.5558, allocations: 498.6 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.5559, allocations: 32.02 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.5562, allocations: 259.9 kB / 0.8231 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5562, allocations: 6.5 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.5563, allocations: 8.25 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5563, allocations: 8.688 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.5565, allocations: 176.5 kB / 0.8233 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.5573, allocations: 0.7396 MB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.5577, allocations: 200.1 kB / 0.8242 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5579, allocations: 129.2 kB / 0.8243 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.5579, allocations: 16.59 kB / 0.8243 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.5583, allocations: 318.5 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.5583, allocations: 0 / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0007645/0.5591, allocations: 490.3 kB / 0.8251 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5592, allocations: 124.9 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.5596, allocations: 176.7 kB / 0.8254 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5596, allocations: 38.31 kB / 0.8254 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.5597, allocations: 121.5 kB / 0.8256 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.5597, allocations: 151.2 kB / 0.8257 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5599, allocations: 108.7 kB / 0.8258 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.56, allocations: 343.4 kB / 0.8261 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.5602, allocations: 148.8 kB / 0.8263 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.5605, allocations: 254.3 kB / 0.8265 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.5609, allocations: 401.8 kB / 0.8269 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5609, allocations: 1.5 kB / 0.8269 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005641/0.5615, allocations: 494.9 kB / 0.8274 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5615, allocations: 10.25 kB / 0.8274 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5615, allocations: 5.5 kB / 0.8274 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5615, allocations: 7.344 kB / 0.8274 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.5617, allocations: 93.94 kB / 0.8275 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5618, allocations: 6.875 kB / 0.8275 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.5619, allocations: 58.06 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.5619, allocations: 20.23 kB / 0.8276 GB, free: 10.87 MB / 0.6198 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.0001411/0.5621, allocations: 166.3 kB / 0.8277 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.5621, allocations: 33.02 kB / 0.8277 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.5622, allocations: 33.42 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5622, allocations: 9.406 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5622, allocations: 1.25 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5622, allocations: 2.062 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.5625, allocations: 327.7 kB / 0.8281 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5625, allocations: 1.406 kB / 0.8281 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.5628, allocations: 74.19 kB / 0.8282 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.5628, allocations: 7.266 kB / 0.8282 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.5628, allocations: 12.34 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5628, allocations: 1.469 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5628, allocations: 1.188 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.5637, allocations: 0.5864 MB / 0.8288 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.5637, allocations: 32.69 kB / 0.8288 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.5637, allocations: 9.219 kB / 0.8288 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5638, allocations: 41.69 kB / 0.8289 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5639, allocations: 54.34 kB / 0.8289 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.564, allocations: 16.98 kB / 0.8289 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.564, allocations: 123.7 kB / 0.829 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.564, allocations: 0 / 0.829 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002261/0.5643, allocations: 79.17 kB / 0.8291 GB, free: 9.98 MB / 0.6198 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.001121/0.5654, allocations: 1.142 MB / 0.8302 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007218/0.5661, allocations: 359.4 kB / 0.8306 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5661, allocations: 0 / 0.8306 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.5664, allocations: 183 kB / 0.8307 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.5667, allocations: 52.16 kB / 0.8308 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.57, allocations: 3.173 MB / 0.8339 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.5703, allocations: 0.765 MB / 0.8346 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.5704, allocations: 37.38 kB / 0.8347 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.5706, allocations: 93.11 kB / 0.8348 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.5706, allocations: 0 / 0.8348 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5982, allocations: 6.916 MB / 0.8415 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.555, allocations: 5.344 kB / 0.8415 GB, free: 3.984 MB / 0.6198 GB " [Timeout remaining time 652] (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.676239341963083] Failed to read output from testmodel.py, exit status != 0: 7.634645300917327 7.6441467 7.087879032 Calling exit ...