Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.0007778/0.0007778, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0008156/0.0008156, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8902/0.8902, allocations: 177.2 MB / 203.6 MB, free: 5.762 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7127/0.7127, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [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.0009656/0.0009656, allocations: 59.91 kB / 0.6198 GB, free: 11.72 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4409, allocations: 102 MB / 0.7194 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.00169/0.4426, allocations: 0.8274 MB / 0.7202 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.444, allocations: 1.336 MB / 0.7215 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.4441, allocations: 4 kB / 0.7215 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.4442, allocations: 19.8 kB / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.4443, allocations: 35.7 kB / 0.7216 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.4449, allocations: 269.8 kB / 0.7219 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.4452, allocations: 291.3 kB / 0.7221 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.4453, allocations: 33 kB / 0.7222 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.4458, allocations: 175.7 kB / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.446, allocations: 123.5 kB / 0.7224 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.4461, allocations: 24 kB / 0.7225 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.4461, allocations: 39.98 kB / 0.7225 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.4462, allocations: 39.89 kB / 0.7225 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.4463, allocations: 95.67 kB / 0.7226 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.4466, allocations: 315 kB / 0.7229 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4466, allocations: 0 / 0.7229 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4466, allocations: 7.875 kB / 0.7229 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4466, allocations: 0 / 0.7229 GB, free: 9.727 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007384/0.4473, allocations: 477.5 kB / 0.7234 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4474, allocations: 13.47 kB / 0.7234 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.4475, allocations: 32.83 kB / 0.7234 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4477, allocations: 170.2 kB / 0.7236 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.4477, allocations: 16.36 kB / 0.7236 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.4478, allocations: 16.38 kB / 0.7236 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.448, allocations: 187.5 kB / 0.7238 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.448, allocations: 192 / 0.7238 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4481, allocations: 7.938 kB / 0.7238 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4481, allocations: 4 kB / 0.7238 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.4482, allocations: 96.11 kB / 0.7239 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.4486, allocations: 360.6 kB / 0.7243 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4488, allocations: 118.5 kB / 0.7244 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.4489, allocations: 76.81 kB / 0.7244 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4489, allocations: 4 kB / 0.7245 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.4491, allocations: 211.7 kB / 0.7247 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.4491, allocations: 8 kB / 0.7247 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.0005927/0.4497, allocations: 463.4 kB / 0.7251 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.4497, allocations: 55.41 kB / 0.7252 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.4498, allocations: 143.8 kB / 0.7253 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4499, allocations: 37.7 kB / 0.7253 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.4499, allocations: 104.7 kB / 0.7254 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.45, allocations: 71.52 kB / 0.7255 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.4501, allocations: 86 kB / 0.7256 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.4501, allocations: 334.9 kB / 0.7259 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.4504, allocations: 212.1 kB / 0.7261 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.4506, allocations: 274 kB / 0.7264 GB, free: 6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.4509, allocations: 359.5 kB / 0.7267 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.451, allocations: 0 / 0.7267 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000572/0.4515, allocations: 0.5691 MB / 0.7273 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.4516, allocations: 67.39 kB / 0.7273 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4516, allocations: 0 / 0.7273 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4516, allocations: 4 kB / 0.7273 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4517, allocations: 51.91 kB / 0.7274 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4518, allocations: 4 kB / 0.7274 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4519, allocations: 83.64 kB / 0.7275 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.452, allocations: 27.98 kB / 0.7275 GB, free: 4.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * 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 0.0001347/0.4521, allocations: 169.7 kB / 0.7277 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4521, allocations: 19.89 kB / 0.7277 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.4522, allocations: 13.97 kB / 0.7277 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4522, allocations: 0 / 0.7277 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4522, allocations: 0 / 0.7277 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.4522, allocations: 11.91 kB / 0.7277 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.4522, allocations: 23.92 kB / 0.7277 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.4523, allocations: 11.98 kB / 0.7277 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.4523, allocations: 19.97 kB / 0.7277 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003882/0.4527, allocations: 432.8 kB / 0.7282 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004081/0.4531, allocations: 0.5381 MB / 0.7287 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001141/0.4532, allocations: 91.19 kB / 0.7288 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.4533, allocations: 108.9 kB / 0.7289 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of Backend: time 4.6e-07/0.4533, allocations: 0 / 0.7289 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.4542, allocations: 481.3 kB / 0.7293 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005988/0.4548, allocations: 0.7213 MB / 0.73 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of Templates: time 0.005532/0.4603, allocations: 4.183 MB / 0.7341 GB, free: 13.94 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.117499471874908] Failed to read output from testmodel.py, exit status != 0: 0.46657355898059905 0.47522293499999996 0.026906182 Calling exit ...