Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.0007921/0.0007921, 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.0008615/0.0008615, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.003/1.003, 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.8399/0.8399, 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_nonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",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.001106/0.001106, allocations: 66.83 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5388, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002357/0.5412, allocations: 1.997 MB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.5421, allocations: 0.7465 MB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.5422, allocations: 1.938 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.5422, allocations: 22.45 kB / 0.8206 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.5423, allocations: 49.97 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.5427, allocations: 170.5 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.5431, allocations: 337.3 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.5432, allocations: 36.75 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.5434, allocations: 139.5 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.5436, allocations: 155.4 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.5436, allocations: 30.66 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.5437, allocations: 32.55 kB / 0.8215 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.5437, allocations: 76.23 kB / 0.8216 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.5439, allocations: 144.5 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.5442, allocations: 309.2 kB / 0.822 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5442, allocations: 5.281 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5442, allocations: 0 / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5442, allocations: 0 / 0.822 GB, free: 14.63 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.0008188/0.545, allocations: 0.5621 MB / 0.8226 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.545, allocations: 11.53 kB / 0.8226 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.5451, allocations: 58.02 kB / 0.8227 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.5453, allocations: 59.98 kB / 0.8227 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.5456, allocations: 198.3 kB / 0.8229 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.5458, allocations: 0.4921 MB / 0.8234 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.5459, allocations: 32.95 kB / 0.8234 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.5462, allocations: 264 kB / 0.8237 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5463, allocations: 5.031 kB / 0.8237 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.5463, allocations: 10.19 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5463, allocations: 7.312 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.5466, allocations: 172.1 kB / 0.8239 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.5474, allocations: 0.7482 MB / 0.8246 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.5478, allocations: 201.5 kB / 0.8248 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5479, allocations: 129 kB / 0.8249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.548, allocations: 11.59 kB / 0.8249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004072/0.5484, allocations: 318.3 kB / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.313e-06/0.5484, allocations: 7.938 kB / 0.8252 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0007495/0.5491, allocations: 484.7 kB / 0.8257 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.5492, allocations: 113.1 kB / 0.8258 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.5493, allocations: 181.3 kB / 0.826 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.5494, allocations: 43.03 kB / 0.826 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.5494, allocations: 122.7 kB / 0.8261 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5495, allocations: 157.6 kB / 0.8263 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5497, allocations: 106.7 kB / 0.8264 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5498, allocations: 340.2 kB / 0.8267 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.55, allocations: 151 kB / 0.8268 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.5503, allocations: 254.1 kB / 0.8271 GB, free: 11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.5508, allocations: 403.5 kB / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5508, allocations: 0 / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006032/0.5514, allocations: 494.7 kB / 0.8279 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5514, allocations: 5.75 kB / 0.8279 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5514, allocations: 3.719 kB / 0.828 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5514, allocations: 6.438 kB / 0.828 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.5518, allocations: 93.69 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.5518, allocations: 15.61 kB / 0.8281 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.552, allocations: 57 kB / 0.8281 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.552, allocations: 21.12 kB / 0.8281 GB, free: 10.5 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.0001251/0.5521, allocations: 158.1 kB / 0.8283 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.5522, allocations: 34.17 kB / 0.8283 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.5522, allocations: 36.48 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5522, allocations: 8.938 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5522, allocations: 1.406 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.5522, allocations: 3.812 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.5525, allocations: 323.7 kB / 0.8287 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5525, allocations: 5.406 kB / 0.8287 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.5528, allocations: 75.19 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5528, allocations: 2.406 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.5528, allocations: 11.5 kB / 0.8288 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5528, allocations: 10.44 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5528, allocations: 6.078 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.5536, allocations: 0.58 MB / 0.8293 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.5537, allocations: 29.12 kB / 0.8294 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.5537, allocations: 12.48 kB / 0.8294 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5539, allocations: 33.67 kB / 0.8294 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.554, allocations: 58.61 kB / 0.8295 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5541, allocations: 17.72 kB / 0.8295 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001199/0.5542, allocations: 133.7 kB / 0.8296 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5542, allocations: 0 / 0.8296 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003363/0.5545, allocations: 87.81 kB / 0.8297 GB, free: 9.602 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.00164/0.5562, allocations: 1.142 MB / 0.8308 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006513/0.5568, allocations: 361.8 kB / 0.8312 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5568, allocations: 0 / 0.8312 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.5571, allocations: 184 kB / 0.8313 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.5573, allocations: 40.95 kB / 0.8314 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.5607, allocations: 3.199 MB / 0.8345 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.5609, allocations: 0.7657 MB / 0.8353 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.561, allocations: 43.42 kB / 0.8353 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.5612, allocations: 96.97 kB / 0.8354 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5612, allocations: 0 / 0.8354 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.5834, allocations: 6.988 MB / 0.8422 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/7.398, allocations: 23.48 kB / 0.8422 GB, free: 3.484 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.519340011058375] Failed to read output from testmodel.py, exit status != 0: 7.479063208913431 7.492866127 6.94572664 Calling exit ...