Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009508/0.0009508, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002372, 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.002375/0.002375, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002057/0.004433, 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09356/1.124, 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7623/0.7623, allocations: 154.6 MB / 398.8 MB, free: 376 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.3017/1.064, allocations: 49.05 MB / 447.8 MB, free: 6.594 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/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.186e-05, allocations: 3.078 kB / 449.2 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002253/0.002285, allocations: 0.7226 MB / 449.9 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003447, allocations: 1.252 MB / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.003488, allocations: 1.062 kB / 451.1 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.003515, allocations: 3.938 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.003566, allocations: 20.28 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.003976, allocations: 212 kB / 451.4 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004155, allocations: 174.7 kB / 451.5 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.004223, allocations: 12.64 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004339, allocations: 106.8 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004443, allocations: 48.41 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.004469, allocations: 16 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.004565, allocations: 31.97 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.004596, allocations: 10.52 kB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.004659, allocations: 34.41 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.004845, allocations: 110.2 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.004861, allocations: 0 / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.004863, allocations: 1.969 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.004877, allocations: 0 / 451.9 MB, free: 2.605 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.0005047/0.005381, allocations: 354.8 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.005424, allocations: 8.031 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.005476, allocations: 12.92 kB / 452.3 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.005578, allocations: 115.7 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.005609, allocations: 9.25 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.005635, allocations: 16.36 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.005743, allocations: 58.88 kB / 452.5 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005752, allocations: 3.938 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.00576, allocations: 0.6562 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005766, allocations: 0 / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.005782, allocations: 9.078 kB / 452.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.006133, allocations: 185.8 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.131e-05/0.006205, allocations: 35.67 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.184e-05/0.006217, allocations: 8.859 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.006221, allocations: 3.312 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.006327, allocations: 91.36 kB / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.006329, allocations: 0 / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001378/0.006466, allocations: 85.53 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.006495, allocations: 51.41 kB / 452.9 MB, free: 1.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.006564, allocations: 122.7 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.006587, allocations: 37.64 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.006631, allocations: 96.3 kB / 453.2 MB, free: 1.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.006646, allocations: 20.8 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.006704, allocations: 45.67 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.006781, allocations: 320.7 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.006856, allocations: 103.4 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.006948, allocations: 145.4 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.007055, allocations: 158.2 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.007058, allocations: 9 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001923/0.00725, allocations: 283.2 kB / 454.2 MB, free: 8 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.007305, allocations: 71.39 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00731, allocations: 0.6562 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007323, allocations: 4 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.007365, allocations: 9.156 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.007371, allocations: 7.984 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.007515, allocations: 48.91 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.007532, allocations: 8 kB / 454.4 MB, free: 15.85 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.29e-05/0.007605, allocations: 123 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.007615, allocations: 12.66 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.007641, allocations: 12.42 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007643, allocations: 1.5 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007645, allocations: 4 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007649, allocations: 0 / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.007807, allocations: 218.8 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007809, allocations: 5.438 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-06/0.007818, allocations: 7.938 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.007824, allocations: 7.891 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007826, allocations: 4 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.007831, allocations: 0.6875 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007832, allocations: 0 / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007833, allocations: 0.5625 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.007925, allocations: 163.9 kB / 454.9 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.007946, allocations: 13.72 kB / 454.9 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.007976, allocations: 0 / 454.9 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.008006, allocations: 7.984 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.008015, allocations: 0.75 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.058e-05/0.008036, allocations: 23.36 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008036, allocations: 0.5 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000158/0.008194, allocations: 32.62 kB / 455 MB, free: 15.18 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.000141/0.008335, allocations: 89.03 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.00858, allocations: 277.3 kB / 455.4 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.008584, allocations: 0.625 kB / 455.4 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.008614, allocations: 25.78 kB / 455.4 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.008828, allocations: 136.5 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.009235, allocations: 171.4 kB / 455.7 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.009268, allocations: 59.36 kB / 455.8 MB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.009291, allocations: 9.875 kB / 455.8 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.009389, allocations: 75.34 kB / 455.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00939, allocations: 0 / 455.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of Templates: time 0.003553/0.01294, allocations: 2.319 MB / 458.2 MB, free: 12.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.549089561216533]