Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.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.0007858/0.0007858, 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.0008332/0.0008332, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9918/0.9918, allocations: 230.6 MB / 256 MB, free: 9.809 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.8223/0.8223, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_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.0009818/0.0009818, allocations: 64.91 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.4999, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002207/0.5021, allocations: 1.618 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007589/0.5029, allocations: 0.578 MB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.503, allocations: 1.25 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.503, allocations: 4.969 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.5031, allocations: 11.05 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.5033, allocations: 61.17 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.5035, allocations: 101.9 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.5036, allocations: 13.75 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.5037, allocations: 41.17 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.5038, allocations: 46.84 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.5038, allocations: 7.875 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.5038, allocations: 10.19 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.5039, allocations: 17.91 kB / 0.8203 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.5039, allocations: 33.11 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.5041, allocations: 83.52 kB / 0.8204 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5041, allocations: 0 / 0.8204 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5041, allocations: 4.328 kB / 0.8204 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5041, allocations: 0 / 0.8204 GB, free: 15.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006071/0.5047, allocations: 407.1 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5047, allocations: 7.906 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.5048, allocations: 39.77 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.5048, allocations: 9.344 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.505, allocations: 137.4 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5051, allocations: 85.81 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.5052, allocations: 14.27 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5054, allocations: 104.2 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5054, allocations: 3.938 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5054, allocations: 4.703 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5054, allocations: 0 / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.5055, allocations: 67.58 kB / 0.8213 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.506, allocations: 323.6 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.5062, allocations: 83.45 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.5063, allocations: 50.94 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5063, allocations: 0.5625 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.5066, allocations: 123.3 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.5066, allocations: 0 / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003722/0.5069, allocations: 177 kB / 0.822 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.507, allocations: 60.06 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.5071, allocations: 121.9 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5071, allocations: 33.06 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.5071, allocations: 96.03 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.5071, allocations: 32.44 kB / 0.8223 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.5072, allocations: 37.08 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.5073, allocations: 322.1 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5074, allocations: 49.84 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.5075, allocations: 65.3 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.5077, allocations: 167.6 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5077, allocations: 0 / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002719/0.5079, allocations: 223.9 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.508, allocations: 63.14 kB / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.508, allocations: 4.969 kB / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.508, allocations: 0 / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.5081, allocations: 25.23 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5081, allocations: 1.719 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.5081, allocations: 35.86 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5081, allocations: 4.875 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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 7.354e-05/0.5082, allocations: 115 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.5082, allocations: 15.97 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.5083, allocations: 13.69 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5083, allocations: 0 / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5083, allocations: 1.375 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5083, allocations: 7.875 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5084, allocations: 159.4 kB / 0.8236 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5084, allocations: 5.344 kB / 0.8236 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.5085, allocations: 22.52 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5085, allocations: 1.641 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5085, allocations: 5.625 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5085, allocations: 5.188 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5085, allocations: 0 / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5088, allocations: 221 kB / 0.8238 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.5089, allocations: 18.38 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.5089, allocations: 1.125 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.5089, allocations: 14.02 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.509, allocations: 19.42 kB / 0.8239 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.509, allocations: 10.25 kB / 0.8239 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.509, allocations: 92.48 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.509, allocations: 1.031 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001394/0.5092, allocations: 22.03 kB / 0.824 GB, free: 12.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005073/0.5097, allocations: 0.7514 MB / 0.8247 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.51, allocations: 232 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.51, allocations: 0 / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.5101, allocations: 54.11 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.5103, allocations: 29.39 kB / 0.825 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5121, allocations: 1.723 MB / 0.8267 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.5123, allocations: 0.6924 MB / 0.8274 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.5123, allocations: 7.438 kB / 0.8274 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.5124, allocations: 27.91 kB / 0.8274 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5124, allocations: 1.219 kB / 0.8274 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.5295, allocations: 2.987 MB / 0.8303 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.292, allocations: 9.984 kB / 0.8303 GB, free: 9.336 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.296251439955086] Failed to read output from testmodel.py, exit status != 0: 7.370593283092603 7.383859076 6.875518961 Calling exit ...