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.0007451/0.0007451, 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.0008631/0.0008631, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9828/0.9828, allocations: 230.6 MB / 256 MB, free: 9.594 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.784/0.784, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.001027/0.001027, allocations: 62.22 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.498, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001983/0.5, allocations: 1.588 MB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.5008, allocations: 0.5261 MB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.5008, allocations: 3 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.5009, allocations: 8.438 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.5009, allocations: 17.64 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.5012, allocations: 50.72 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.5014, allocations: 104.5 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5015, allocations: 8.75 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.5016, allocations: 49.88 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.5016, allocations: 35.77 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.5017, allocations: 7.25 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.5017, allocations: 7.25 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.5017, allocations: 24.33 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.5018, allocations: 36.09 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.5019, allocations: 78.09 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5019, allocations: 0 / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5019, allocations: 0 / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5019, allocations: 0.875 kB / 0.8203 GB, free: 15.39 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.0006019/0.5025, allocations: 412.5 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5025, allocations: 8.688 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.5026, allocations: 39.14 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.5026, allocations: 10.7 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.5028, allocations: 131.3 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.5029, allocations: 89.39 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.5029, allocations: 14.12 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.5031, allocations: 103 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.5031, allocations: 0 / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5031, allocations: 0.5625 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.5031, allocations: 2.125 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.5033, allocations: 73.3 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.5037, allocations: 294.2 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.504, allocations: 90.14 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.5041, allocations: 50.81 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5041, allocations: 0 / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.5043, allocations: 127.8 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5043, allocations: 0 / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000369/0.5047, allocations: 176.4 kB / 0.8218 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5047, allocations: 62.78 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.5048, allocations: 125.9 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5048, allocations: 32.89 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.5048, allocations: 98.34 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.5049, allocations: 29.05 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.5049, allocations: 29.47 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.505, allocations: 327.5 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.5051, allocations: 105.2 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5052, allocations: 124.8 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.5054, allocations: 160.7 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5054, allocations: 0 / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002869/0.5057, allocations: 285.6 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.5057, allocations: 59 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5057, allocations: 1.688 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5058, allocations: 4.031 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.5058, allocations: 26.73 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.5058, allocations: 1.219 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.5059, allocations: 27.41 kB / 0.8233 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.5059, allocations: 3.875 kB / 0.8233 GB, free: 12.96 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 6.759e-05/0.506, allocations: 120.2 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.506, allocations: 8.266 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.506, allocations: 14.84 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.506, allocations: 5.781 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.506, allocations: 0 / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.506, allocations: 5.812 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.5061, allocations: 148.9 kB / 0.8236 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5062, allocations: 4.688 kB / 0.8236 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.5062, allocations: 24.27 kB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5062, allocations: 3.938 kB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5062, allocations: 3.094 kB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5062, allocations: 3.938 kB / 0.8236 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5062, allocations: 5.344 kB / 0.8236 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.5066, allocations: 226.2 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.5066, allocations: 11.95 kB / 0.8238 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.5066, allocations: 8.5 kB / 0.8238 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.5067, allocations: 14.75 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.5067, allocations: 18.47 kB / 0.8239 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5068, allocations: 11.86 kB / 0.8239 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.5068, allocations: 96.62 kB / 0.824 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5068, allocations: 0 / 0.824 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001364/0.5069, allocations: 22.28 kB / 0.824 GB, free: 12.41 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.0005536/0.5075, allocations: 0.7573 MB / 0.8247 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.5078, allocations: 281.2 kB / 0.825 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5078, allocations: 0 / 0.825 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5079, allocations: 53.58 kB / 0.825 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5081, allocations: 23.03 kB / 0.8251 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.5098, allocations: 1.931 MB / 0.827 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.5099, allocations: 85.03 kB / 0.827 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.5099, allocations: 6.5 kB / 0.827 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.51, allocations: 31.7 kB / 0.8271 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.51, allocations: 0 / 0.8271 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.5304, allocations: 3.459 MB / 0.8304 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.092, allocations: 9.312 kB / 0.8305 GB, free: 8.84 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: 9.997513961046934] Failed to read output from testmodel.py, exit status != 0: 7.173908405005932 7.189291786 6.684192283 Calling exit ...