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.00103/0.00103, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00126/0.00126, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.108/1.108, allocations: 177.2 MB / 203.8 MB, free: 5.484 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-535:34: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-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 master/package.mo): time 0.8743/0.8743, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 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.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.284e-06/2.284e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.501e-05, allocations: 6.172 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001636/0.001661, allocations: 0.708 MB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003096, allocations: 1.267 MB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.003138, allocations: 0.6562 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.003166, allocations: 3.938 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.003241, allocations: 13.7 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.003776, allocations: 218.7 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.003987, allocations: 182 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.00406, allocations: 4.875 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.00418, allocations: 99.08 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004286, allocations: 59.73 kB / 483 MB, free: 4 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.004311, allocations: 12 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.004392, allocations: 28.8 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.004412, allocations: 15.92 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.004463, allocations: 56.89 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.004619, allocations: 131.7 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004621, allocations: 0.5312 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004622, allocations: 4 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004626, allocations: 1.312 kB / 483.2 MB, free: 3.758 MB / 442.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.0003464/0.004972, allocations: 335.2 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.005004, allocations: 12.03 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.005042, allocations: 17.56 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.005124, allocations: 113.7 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005141, allocations: 9.594 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.00516, allocations: 12.38 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.706e-05/0.005237, allocations: 54.94 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.005245, allocations: 4.75 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005252, allocations: 0 / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005258, allocations: 5.719 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.005277, allocations: 7.984 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.005565, allocations: 188.2 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.005628, allocations: 28.17 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.005644, allocations: 14.78 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-06/0.005647, allocations: 0 / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.871e-05/0.005746, allocations: 91.16 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.005747, allocations: 0 / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001314/0.005878, allocations: 82.91 kB / 484.2 MB, free: 2.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.005905, allocations: 55.41 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.005974, allocations: 126.6 kB / 484.3 MB, free: 2.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.005997, allocations: 33.7 kB / 484.4 MB, free: 2.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.006037, allocations: 93.7 kB / 484.5 MB, free: 2.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.006052, allocations: 23.81 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.006111, allocations: 49.61 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.006186, allocations: 319.9 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.006285, allocations: 95.38 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.006374, allocations: 147.7 kB / 485.1 MB, free: 1.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.006488, allocations: 167.5 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00649, allocations: 0 / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002047/0.006695, allocations: 277.5 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.006735, allocations: 72.02 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00674, allocations: 3.938 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006753, allocations: 4.625 kB / 485.6 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.006792, allocations: 5.234 kB / 485.6 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.006796, allocations: 4 kB / 485.6 MB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.006937, allocations: 41.31 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.006956, allocations: 13.78 kB / 485.7 MB, free: 1.039 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 7.259e-05/0.007029, allocations: 125.8 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.007042, allocations: 11.94 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.007066, allocations: 12.42 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007068, allocations: 0.5312 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.00707, allocations: 1.109 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.007074, allocations: 4 kB / 485.8 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.007276, allocations: 220.2 kB / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.007279, allocations: 3.938 kB / 486 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.007287, allocations: 4 kB / 486 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00729, allocations: 1.75 kB / 486 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007297, allocations: 4 kB / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007298, allocations: 0 / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007299, allocations: 0 / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.007389, allocations: 169.1 kB / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.007397, allocations: 8.672 kB / 486.2 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007409, allocations: 4 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.007442, allocations: 4.656 kB / 486.2 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.007466, allocations: 3.984 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.007476, allocations: 9.094 kB / 486.2 MB, free: 432 kB / 442.7 MB Notification: Performance of sorting global known variables: time 1.656e-05/0.007493, allocations: 16.84 kB / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007493, allocations: 0 / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.007662, allocations: 33.91 kB / 486.3 MB, free: 380 kB / 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.0001052/0.007767, allocations: 80.41 kB / 486.4 MB, free: 292 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.007986, allocations: 280.4 kB / 486.6 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.007989, allocations: 0 / 486.6 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.008019, allocations: 28.78 kB / 486.7 MB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.008188, allocations: 21.86 kB / 486.7 MB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.008429, allocations: 150.8 kB / 486.8 MB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.008467, allocations: 63.34 kB / 486.9 MB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.008489, allocations: 5.297 kB / 486.9 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.008593, allocations: 79.34 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.008594, allocations: 0.5938 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of Templates: time 0.003822/0.01242, allocations: 2.304 MB / 489.3 MB, free: 13.44 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.818629216402769]