Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001033/0.001033, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002171, 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.0007763/0.0007763, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001796, 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.038/1.038, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/1.144, allocations: 53.66 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.8695/0.8695, allocations: 155.3 MB / 399.3 MB, free: 15.91 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.2982/1.168, allocations: 49.12 MB / 448.4 MB, free: 6.047 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 449.7 MB, free: 4.758 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.293e-05, allocations: 6.344 kB / 449.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002083/0.002106, allocations: 0.7098 MB / 450.4 MB, free: 4.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003724, allocations: 1.253 MB / 451.7 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.003769, allocations: 0 / 451.7 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.003799, allocations: 3.938 kB / 451.7 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.003857, allocations: 16.58 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.004422, allocations: 208.8 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.004705, allocations: 179.9 kB / 452.1 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.004787, allocations: 9.5 kB / 452.1 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.004962, allocations: 106.1 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.005102, allocations: 55.89 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.005138, allocations: 16 kB / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.005239, allocations: 29.08 kB / 452.3 MB, free: 2.234 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.005264, allocations: 15.88 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.005328, allocations: 32 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.00553, allocations: 112.7 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.005546, allocations: 0 / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005547, allocations: 4.875 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.005563, allocations: 0 / 452.4 MB, free: 2.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005353/0.006098, allocations: 349.9 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006135, allocations: 8.531 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.006187, allocations: 17.42 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.006283, allocations: 119 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.006307, allocations: 4.375 kB / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.006333, allocations: 8.375 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.006429, allocations: 62.92 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006437, allocations: 8.562 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.006445, allocations: 0 / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.00645, allocations: 1.969 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.006471, allocations: 8 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.006835, allocations: 181.7 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.006915, allocations: 30.56 kB / 453.2 MB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.00693, allocations: 9.422 kB / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.006938, allocations: 6.078 kB / 453.2 MB, free: 1.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.007075, allocations: 96.92 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.007078, allocations: 0 / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001759/0.007253, allocations: 81.59 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.007298, allocations: 63.39 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.007388, allocations: 118 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.007417, allocations: 30.55 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.007477, allocations: 100.3 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.007494, allocations: 16.55 kB / 453.7 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.007581, allocations: 49.67 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.007675, allocations: 323.7 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.007783, allocations: 99.38 kB / 454.2 MB, free: 160 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.00792, allocations: 142 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.008102, allocations: 180.8 kB / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.008106, allocations: 0 / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003016/0.008408, allocations: 276.2 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.008472, allocations: 67.39 kB / 454.8 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.008479, allocations: 0.9062 kB / 454.8 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.00849, allocations: 7.938 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.008544, allocations: 8.906 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.008548, allocations: 0 / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.008754, allocations: 53.03 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.008782, allocations: 12.56 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 9.515e-05/0.008877, allocations: 126.4 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.008896, allocations: 12.59 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.008924, allocations: 4.438 kB / 455.1 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.008928, allocations: 4.531 kB / 455.1 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.008932, allocations: 4.547 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.008936, allocations: 0 / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.009156, allocations: 224.3 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.009159, allocations: 4.75 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.00917, allocations: 0 / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.009181, allocations: 7.953 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009184, allocations: 1.219 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.009191, allocations: 0 / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.009193, allocations: 0 / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.009194, allocations: 0.7188 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.009321, allocations: 171.4 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.00934, allocations: 0.9062 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.009404, allocations: 4 kB / 455.5 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.009436, allocations: 12.98 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.009449, allocations: 0 / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.571e-05/0.009474, allocations: 20.83 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009474, allocations: 0.625 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.009752, allocations: 39.94 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001484/0.0099, allocations: 83.83 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.01018, allocations: 273.8 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01018, allocations: 0 / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.01022, allocations: 28.78 kB / 455.9 MB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01046, allocations: 28.98 kB / 455.9 MB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.01105, allocations: 156.7 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.0111, allocations: 72.05 kB / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.01113, allocations: 4.734 kB / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01126, allocations: 79.94 kB / 456.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01126, allocations: 0 / 456.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of Templates: time 0.004542/0.0158, allocations: 2.372 MB / 458.6 MB, free: 11.65 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6606931695714593]