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.0007548/0.0007548, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008696/0.0008696, allocations: 209.2 kB / 22.24 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.96/0.96, allocations: 230.6 MB / 256 MB, free: 9.598 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.8016/0.8016, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001341/0.001341, allocations: 68.39 kB / 0.7182 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5566, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001662/0.5582, allocations: 1.022 MB / 0.8188 GB, free: 376 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.5593, allocations: 1.128 MB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.5594, allocations: 0.8438 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.5594, allocations: 22.72 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.5595, allocations: 42.08 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.5599, allocations: 146.5 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.5602, allocations: 326.2 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5603, allocations: 37.42 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.5605, allocations: 142.5 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.5607, allocations: 135.2 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.5607, allocations: 35.38 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.5608, allocations: 36.25 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.5608, allocations: 78.66 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.5609, allocations: 117.1 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.5612, allocations: 317.5 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5612, allocations: 0 / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5612, allocations: 0.8125 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5612, allocations: 0 / 0.8213 GB, free: 14.9 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.0007926/0.562, allocations: 0.5647 MB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5621, allocations: 9.594 kB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.5621, allocations: 60.88 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.5623, allocations: 59.98 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.5624, allocations: 142.1 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5626, allocations: 499.2 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.5627, allocations: 30.8 kB / 0.8226 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.5631, allocations: 268.5 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5631, allocations: 6.672 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.5631, allocations: 11.75 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5631, allocations: 5.031 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.5634, allocations: 178 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.5642, allocations: 0.6862 MB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.5646, allocations: 195.1 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.5648, allocations: 133.3 kB / 0.8241 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.5648, allocations: 8.953 kB / 0.8241 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.5652, allocations: 324.5 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.5652, allocations: 0 / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0007068/0.566, allocations: 488.2 kB / 0.8249 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.566, allocations: 120.3 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5661, allocations: 177.8 kB / 0.8251 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.5662, allocations: 42.52 kB / 0.8252 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.5662, allocations: 121.7 kB / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.5663, allocations: 151.1 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5664, allocations: 108.1 kB / 0.8255 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.5665, allocations: 340.4 kB / 0.8259 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.5667, allocations: 145 kB / 0.826 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.567, allocations: 251.9 kB / 0.8262 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.5676, allocations: 400.8 kB / 0.8266 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5676, allocations: 0.5625 kB / 0.8266 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000602/0.5682, allocations: 494.5 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5683, allocations: 10.78 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5683, allocations: 2.688 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5683, allocations: 5.188 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.5685, allocations: 103.8 kB / 0.8272 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5686, allocations: 6.5 kB / 0.8272 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.5687, allocations: 58.25 kB / 0.8273 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5687, allocations: 20.11 kB / 0.8273 GB, free: 10.81 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.0001498/0.5689, allocations: 163.2 kB / 0.8275 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.5689, allocations: 32.77 kB / 0.8275 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.569, allocations: 35.95 kB / 0.8275 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.569, allocations: 13.69 kB / 0.8275 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.569, allocations: 1.031 kB / 0.8275 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.569, allocations: 3.625 kB / 0.8275 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.5693, allocations: 279.1 kB / 0.8278 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5693, allocations: 0 / 0.8278 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.5695, allocations: 71.47 kB / 0.8279 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.5695, allocations: 6.062 kB / 0.8279 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.5696, allocations: 15.31 kB / 0.8279 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5696, allocations: 3.375 kB / 0.8279 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5696, allocations: 1.344 kB / 0.8279 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.5704, allocations: 0.5885 MB / 0.8285 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.5704, allocations: 34.02 kB / 0.8285 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.5704, allocations: 13.39 kB / 0.8285 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5705, allocations: 33.23 kB / 0.8285 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5706, allocations: 58.19 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.5707, allocations: 13.92 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.5707, allocations: 126.4 kB / 0.8287 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5707, allocations: 0 / 0.8287 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002479/0.571, allocations: 80.23 kB / 0.8288 GB, free: 9.93 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.001134/0.5721, allocations: 1.141 MB / 0.8299 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006813/0.5728, allocations: 363.7 kB / 0.8303 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5728, allocations: 1.125 kB / 0.8303 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.5731, allocations: 187 kB / 0.8305 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.5734, allocations: 45.67 kB / 0.8305 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.5765, allocations: 3.167 MB / 0.8336 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.5767, allocations: 156.3 kB / 0.8337 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.5768, allocations: 37.98 kB / 0.8338 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.5769, allocations: 93.25 kB / 0.8339 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5769, allocations: 0 / 0.8339 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.6019, allocations: 7.326 MB / 0.841 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.49, allocations: 9.766 kB / 0.841 GB, free: 4.145 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 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.472876003012061] Failed to read output from testmodel.py, exit status != 0: 7.571870086714625 7.586882465 7.023029247 Calling exit ...