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.0008797/0.0008797, allocations: 109.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.001047/0.001047, allocations: 217.7 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.9916/0.9916, allocations: 230.6 MB / 256 MB, free: 9.801 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.8343/0.8343, 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.001077/0.001077, allocations: 69.42 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5624, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001669/0.5641, allocations: 1.099 MB / 0.819 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.5652, allocations: 1.159 MB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.5653, allocations: 3.469 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.5653, allocations: 18.56 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.5654, allocations: 40.61 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.5658, allocations: 150.4 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.5661, allocations: 329.7 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.5663, allocations: 41.36 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.5665, allocations: 143.1 kB / 0.8208 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.5667, allocations: 148 kB / 0.821 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.5667, allocations: 30.69 kB / 0.821 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.5668, allocations: 38.58 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.5668, allocations: 75.97 kB / 0.8211 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.5669, allocations: 138 kB / 0.8212 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.5673, allocations: 322.1 kB / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5673, allocations: 0 / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5673, allocations: 0 / 0.8215 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.5673, allocations: 0 / 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.0008389/0.5682, allocations: 0.5652 MB / 0.8221 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5682, allocations: 8.906 kB / 0.8221 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.5683, allocations: 56.52 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.5685, allocations: 57.28 kB / 0.8222 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5686, allocations: 140 kB / 0.8223 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.5688, allocations: 0.491 MB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.5688, allocations: 32.03 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.5692, allocations: 269.7 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5692, allocations: 1.312 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5692, allocations: 10.69 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5692, allocations: 5.312 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.5695, allocations: 181.1 kB / 0.8233 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.5704, allocations: 0.7391 MB / 0.824 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.5708, allocations: 192 kB / 0.8242 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.571, allocations: 129.3 kB / 0.8243 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.571, allocations: 13.09 kB / 0.8243 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.5715, allocations: 334.3 kB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.5715, allocations: 0 / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0007661/0.5722, allocations: 489.1 kB / 0.8251 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.5723, allocations: 121.5 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5724, allocations: 173.2 kB / 0.8254 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5725, allocations: 42.06 kB / 0.8254 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.5725, allocations: 121.2 kB / 0.8256 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.5726, allocations: 151.3 kB / 0.8257 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5727, allocations: 111.9 kB / 0.8258 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5728, allocations: 340.3 kB / 0.8261 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.5731, allocations: 144.9 kB / 0.8263 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.5733, allocations: 254.2 kB / 0.8265 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.5738, allocations: 398.1 kB / 0.8269 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5738, allocations: 1.125 kB / 0.8269 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006048/0.5744, allocations: 486.2 kB / 0.8274 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5744, allocations: 13.44 kB / 0.8274 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5744, allocations: 2.75 kB / 0.8274 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5744, allocations: 4.844 kB / 0.8274 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.5747, allocations: 96.27 kB / 0.8275 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5747, allocations: 5.969 kB / 0.8275 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.5748, allocations: 66.33 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5748, allocations: 25.66 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.0001314/0.575, allocations: 160.1 kB / 0.8277 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.575, allocations: 33.2 kB / 0.8277 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.5751, allocations: 41 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5751, allocations: 5.062 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5751, allocations: 5.312 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.5751, allocations: 4 kB / 0.8278 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.5756, allocations: 323.8 kB / 0.8281 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5757, allocations: 0 / 0.8281 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.5759, allocations: 74.61 kB / 0.8282 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.5759, allocations: 7.094 kB / 0.8282 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.5759, allocations: 19.38 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5759, allocations: 2.688 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5759, allocations: 1.891 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.5767, allocations: 0.5777 MB / 0.8288 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.5767, allocations: 32.64 kB / 0.8288 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.5768, allocations: 13.19 kB / 0.8288 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5769, allocations: 34.08 kB / 0.8288 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.577, allocations: 61.22 kB / 0.8289 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.577, allocations: 22.53 kB / 0.8289 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.5771, allocations: 121.7 kB / 0.829 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5771, allocations: 0 / 0.829 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002497/0.5773, allocations: 79.77 kB / 0.8291 GB, free: 9.973 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.001051/0.5784, allocations: 1.137 MB / 0.8302 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007137/0.5791, allocations: 366.1 kB / 0.8306 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5791, allocations: 0 / 0.8306 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.5794, allocations: 180 kB / 0.8308 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.5797, allocations: 43.16 kB / 0.8308 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.583, allocations: 3.178 MB / 0.8339 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5832, allocations: 0.7636 MB / 0.8346 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.5834, allocations: 38.77 kB / 0.8347 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5835, allocations: 93.22 kB / 0.8348 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.5835, allocations: 0 / 0.8348 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.6131, allocations: 6.908 MB / 0.8415 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.404, allocations: 15.58 kB / 0.8415 GB, free: 3.965 MB / 0.6198 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 & /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.45983684901148] Failed to read output from testmodel.py, exit status != 0: 7.4856810758356005 7.495938303 6.926666558 Calling exit ...