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.0008689/0.0008689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002018, allocations: 440 kB / 10.41 MB, free: 284 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.0006867/0.0006867, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001595, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8012/0.8012, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2744/1.076, allocations: 49.14 MB / 448.6 MB, free: 5.926 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 1.743e-06/1.743e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.657e-05, allocations: 7.578 kB / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002103/0.00213, allocations: 0.7195 MB / 450.7 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00361, allocations: 1.256 MB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.003649, allocations: 0.6562 kB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.003674, allocations: 4.844 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.003724, allocations: 20.3 kB / 452 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.004199, allocations: 206.3 kB / 452.2 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.004444, allocations: 182.5 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.004532, allocations: 9.359 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.004699, allocations: 107.4 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.004853, allocations: 53.33 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.00489, allocations: 16.88 kB / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.005, allocations: 24.53 kB / 452.5 MB, free: 2.082 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.005034, allocations: 11.12 kB / 452.6 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.0051, allocations: 33.86 kB / 452.6 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.005299, allocations: 115.7 kB / 452.7 MB, free: 1.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.005311, allocations: 0 / 452.7 MB, free: 1.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005312, allocations: 1 kB / 452.7 MB, free: 1.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.005321, allocations: 0 / 452.7 MB, free: 1.934 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.0004817/0.005803, allocations: 349.9 kB / 453 MB, free: 1.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.00584, allocations: 14 kB / 453.1 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.005895, allocations: 16.86 kB / 453.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.005993, allocations: 116.1 kB / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.006014, allocations: 8.375 kB / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.006044, allocations: 16.36 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.215e-05/0.006137, allocations: 55.5 kB / 453.3 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.006145, allocations: 4.562 kB / 453.3 MB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006154, allocations: 4 kB / 453.3 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.00616, allocations: 0.9062 kB / 453.3 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.006176, allocations: 7.938 kB / 453.3 MB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.006496, allocations: 182.7 kB / 453.5 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.006572, allocations: 31.64 kB / 453.5 MB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.006585, allocations: 10.3 kB / 453.5 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.00659, allocations: 0 / 453.5 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.006711, allocations: 95.33 kB / 453.6 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006712, allocations: 0.5 kB / 453.6 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001673/0.00688, allocations: 83.16 kB / 453.7 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.006932, allocations: 55.39 kB / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.007008, allocations: 126.7 kB / 453.9 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.007037, allocations: 29.7 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.007093, allocations: 93 kB / 454 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.007115, allocations: 19.89 kB / 454 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.007198, allocations: 50.73 kB / 454 MB, free: 460 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.007284, allocations: 318.8 kB / 454.4 MB, free: 132 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.007383, allocations: 99.38 kB / 454.4 MB, free: 20 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.007549, allocations: 148 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.007695, allocations: 171.5 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.007698, allocations: 7.938 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002854/0.007984, allocations: 281.6 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.008039, allocations: 71.39 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008044, allocations: 1.281 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.008058, allocations: 4 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.008103, allocations: 4 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.008108, allocations: 4.688 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.008296, allocations: 49.97 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.008322, allocations: 8 kB / 455.2 MB, free: 15.18 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 8.491e-05/0.008407, allocations: 127 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.008423, allocations: 11.94 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.008449, allocations: 9.062 kB / 455.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.008453, allocations: 4.609 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.008455, allocations: 0 / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008458, allocations: 4.938 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.008657, allocations: 218.8 kB / 455.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.00866, allocations: 5.656 kB / 455.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.008671, allocations: 4 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-06/0.008681, allocations: 5.078 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.008684, allocations: 4 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.00869, allocations: 0 / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.008692, allocations: 0.9062 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.008695, allocations: 0 / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.01187, allocations: 167.4 kB / 455.7 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.0119, allocations: 5 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.01194, allocations: 0 / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.01196, allocations: 4.516 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.01198, allocations: 8 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.66e-05/0.01201, allocations: 23.56 kB / 455.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01201, allocations: 0 / 455.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.0122, allocations: 31.94 kB / 455.8 MB, free: 14.52 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.0001433/0.01234, allocations: 94.22 kB / 455.9 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01256, allocations: 268 kB / 456.2 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.01256, allocations: 4 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.01259, allocations: 37.33 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01289, allocations: 136.2 kB / 456.3 MB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.01348, allocations: 163.9 kB / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.01353, allocations: 63.84 kB / 456.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.547e-05/0.01356, allocations: 12.33 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.01371, allocations: 79.33 kB / 456.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01371, allocations: 0 / 456.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of Templates: time 0.005069/0.01878, allocations: 2.323 MB / 459 MB, free: 11.41 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.616234845481813]