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.0007522/0.0007522, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008279/0.0008279, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8872/0.8872, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7055/0.7055, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.49e-05, allocations: 9.047 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002269/0.002294, allocations: 1.025 MB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004014, allocations: 1.131 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004129, allocations: 4 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.004184, allocations: 19.73 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004321, allocations: 47.52 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.004883, allocations: 155.6 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.005257, allocations: 335 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.005399, allocations: 36.56 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.005675, allocations: 195.6 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005809, allocations: 115.6 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.005844, allocations: 36 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.005899, allocations: 32 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.005945, allocations: 79.7 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.006014, allocations: 99.77 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.006281, allocations: 346.9 kB / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.006286, allocations: 4 kB / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006287, allocations: 0 / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.006291, allocations: 0 / 0.6217 GB, free: 9.996 MB / 0.5886 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.0007729/0.007064, allocations: 0.5482 MB / 0.6222 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.007107, allocations: 13.47 kB / 0.6222 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.007157, allocations: 58.73 kB / 0.6223 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.007354, allocations: 64.7 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.007456, allocations: 146.2 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.007668, allocations: 0.4919 MB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.007712, allocations: 24.38 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.008044, allocations: 259.1 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.008061, allocations: 8.172 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.008079, allocations: 4.375 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008086, allocations: 7.938 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.008362, allocations: 183.8 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.009106, allocations: 0.6909 MB / 0.6241 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.009447, allocations: 187.7 kB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.009607, allocations: 134.5 kB / 0.6244 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.00964, allocations: 11.94 kB / 0.6244 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.01001, allocations: 308.4 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 2.033e-06/0.01001, allocations: 0 / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0006654/0.01067, allocations: 496.9 kB / 0.6252 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.01073, allocations: 118.8 kB / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.01084, allocations: 180.6 kB / 0.6255 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.01087, allocations: 41.7 kB / 0.6255 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.01092, allocations: 121.3 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.011, allocations: 154.7 kB / 0.6258 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.0111, allocations: 106.3 kB / 0.6259 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.01118, allocations: 342.8 kB / 0.6262 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.01138, allocations: 149.2 kB / 0.6263 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.0116, allocations: 252.7 kB / 0.6266 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.012, allocations: 398.1 kB / 0.627 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01201, allocations: 0 / 0.627 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005326/0.01254, allocations: 485.6 kB / 0.6274 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01256, allocations: 8 kB / 0.6274 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.01257, allocations: 8 kB / 0.6274 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01259, allocations: 7.938 kB / 0.6274 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.01279, allocations: 103.8 kB / 0.6275 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.0128, allocations: 11.94 kB / 0.6276 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01293, allocations: 51.75 kB / 0.6276 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.01295, allocations: 20 kB / 0.6276 GB, free: 3.453 MB / 0.5886 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.0001284/0.01308, allocations: 164.7 kB / 0.6278 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.01311, allocations: 27.81 kB / 0.6278 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.01316, allocations: 29.97 kB / 0.6278 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.01316, allocations: 15.97 kB / 0.6278 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.01317, allocations: 7.984 kB / 0.6279 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01317, allocations: 3.984 kB / 0.6279 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.01341, allocations: 276.5 kB / 0.6281 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01341, allocations: 0 / 0.6281 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.01362, allocations: 71.91 kB / 0.6282 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01362, allocations: 4 kB / 0.6282 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.01364, allocations: 11.98 kB / 0.6282 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01365, allocations: 3.938 kB / 0.6282 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01365, allocations: 4 kB / 0.6282 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.01433, allocations: 0.5917 MB / 0.6288 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.01435, allocations: 27.8 kB / 0.6288 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01438, allocations: 11.98 kB / 0.6288 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01448, allocations: 36.09 kB / 0.6289 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.01458, allocations: 51.91 kB / 0.6289 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.0146, allocations: 19.94 kB / 0.6289 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.01466, allocations: 128.1 kB / 0.6291 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01466, allocations: 4 kB / 0.6291 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002309/0.01489, allocations: 79.94 kB / 0.6291 GB, free: 1.828 MB / 0.5886 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.0008769/0.01577, allocations: 1.146 MB / 0.6303 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.01623, allocations: 367.1 kB / 0.6306 GB, free: 296 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01624, allocations: 0 / 0.6306 GB, free: 296 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.01646, allocations: 180.7 kB / 0.6308 GB, free: 116 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01669, allocations: 49.73 kB / 0.6308 GB, free: 68 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.0194, allocations: 3.135 MB / 0.6339 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.01949, allocations: 164.1 kB / 0.634 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.0196, allocations: 34.97 kB / 0.6341 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.01972, allocations: 96.41 kB / 0.6342 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.01972, allocations: 0 / 0.6342 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.04069, allocations: 7.458 MB / 0.6414 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.11, allocations: 4.062 kB / 0.6415 GB, free: 5.211 MB / 0.6042 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: 9.834127875976264] Failed to read output from testmodel.py, exit status != 0: 7.193957347422838 7.207284251 7.198533971 Calling exit ...