Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.001182/0.001182, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001739/0.00292, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.002215/0.002215, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.003689, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08176/1.124, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8342/0.8342, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2903/1.125, allocations: 49.12 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.564e-05, allocations: 2.312 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001529/0.001554, allocations: 0.7678 MB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.002942, allocations: 1.307 MB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.003001, allocations: 0 / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.003032, allocations: 8.516 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.003098, allocations: 23.7 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.003597, allocations: 241.3 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.003882, allocations: 253.1 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.003967, allocations: 12.22 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.004128, allocations: 156 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.004271, allocations: 73.09 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.004302, allocations: 20.69 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.0044, allocations: 31.98 kB / 452.6 MB, free: 1.898 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.004428, allocations: 21.91 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.004496, allocations: 51.92 kB / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.004708, allocations: 131.6 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.004724, allocations: 0 / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004725, allocations: 0 / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.004745, allocations: 0.5625 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006355/0.00538, allocations: 432 kB / 453.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005415, allocations: 13.62 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.005478, allocations: 36.89 kB / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005659, allocations: 133.7 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.005683, allocations: 16.36 kB / 453.4 MB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.005714, allocations: 23.62 kB / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005862, allocations: 126.4 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.00587, allocations: 4.125 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.005881, allocations: 4.375 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.005887, allocations: 384 / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.005943, allocations: 48.66 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.006358, allocations: 323.2 kB / 453.9 MB, free: 492 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.006511, allocations: 103.3 kB / 454 MB, free: 372 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.006553, allocations: 37.7 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.006565, allocations: 5.594 kB / 454.1 MB, free: 324 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.0068, allocations: 191 kB / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.006802, allocations: 0 / 454.2 MB, free: 116 kB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002463/0.007048, allocations: 185.5 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.007097, allocations: 89.09 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.007175, allocations: 138.4 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.007205, allocations: 37.64 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.007251, allocations: 97.62 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.007286, allocations: 55.56 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.007362, allocations: 73.64 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.007477, allocations: 327.7 kB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.00758, allocations: 111.6 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.0077, allocations: 181.4 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.007864, allocations: 217.3 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.007868, allocations: 4.75 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002614/0.00813, allocations: 325.4 kB / 456 MB, free: 14.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.008181, allocations: 72.11 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.008187, allocations: 0 / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.008201, allocations: 4.906 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.008284, allocations: 31.92 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00829, allocations: 4 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.008462, allocations: 53.47 kB / 456.2 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.008484, allocations: 21.3 kB / 456.2 MB, free: 13.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 0.0001095/0.008594, allocations: 144.8 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.008621, allocations: 28.47 kB / 456.4 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.008653, allocations: 17.81 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008656, allocations: 0 / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.008659, allocations: 3.938 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008664, allocations: 5.062 kB / 456.4 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.008952, allocations: 389.4 kB / 456.8 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.008954, allocations: 0 / 456.8 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.008986, allocations: 12.7 kB / 456.8 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.009, allocations: 11.91 kB / 456.8 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009003, allocations: 4.844 kB / 456.8 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.009015, allocations: 16.72 kB / 456.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.009017, allocations: 0.5938 kB / 456.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009019, allocations: 0 / 456.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.009199, allocations: 320.8 kB / 457.2 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.009222, allocations: 7.938 kB / 457.2 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.009299, allocations: 11.98 kB / 457.2 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.009355, allocations: 24.73 kB / 457.2 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.009366, allocations: 11.98 kB / 457.2 MB, free: 12.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.413e-05/0.00939, allocations: 30.2 kB / 457.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00939, allocations: 0 / 457.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.009617, allocations: 55.92 kB / 457.3 MB, free: 12.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001723/0.009789, allocations: 97.06 kB / 457.4 MB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.0101, allocations: 338.4 kB / 457.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01011, allocations: 0 / 457.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.01018, allocations: 72.69 kB / 457.8 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.01043, allocations: 54 kB / 457.8 MB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.01106, allocations: 255.8 kB / 458.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.01111, allocations: 71.86 kB / 458.2 MB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.01116, allocations: 17.98 kB / 458.2 MB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.01128, allocations: 96.06 kB / 458.3 MB, free: 11.76 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01128, allocations: 0 / 458.3 MB, free: 11.76 MB / 442.7 MB Notification: Performance of Templates: time 0.005269/0.01655, allocations: 3.119 MB / 461.4 MB, free: 8.871 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.745115206576884]