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.00104/0.00104, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001076/0.001076, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 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 0.9442/0.9442, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8049/0.8049, allocations: 154.9 MB / 415.9 MB, free: 268 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 1.874e-06/1.874e-06, allocations: 0 / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.453e-05, allocations: 4 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001427/0.001452, allocations: 0.6712 MB / 0.5226 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.002702, allocations: 1.241 MB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.002755, allocations: 0 / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.002789, allocations: 7.922 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.002872, allocations: 18.27 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.003406, allocations: 217.1 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.0036, allocations: 177.1 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.003678, allocations: 11.98 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003796, allocations: 99.86 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.003902, allocations: 52.38 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.003928, allocations: 16 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.003988, allocations: 28.73 kB / 0.5244 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.004013, allocations: 11.98 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.004068, allocations: 53.36 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004231, allocations: 143.7 kB / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004234, allocations: 0 / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004235, allocations: 0 / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004239, allocations: 1.344 kB / 0.5246 GB, free: 14.8 MB / 0.4948 GB 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.0004037/0.004643, allocations: 467.8 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.00468, allocations: 8.031 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.004723, allocations: 12.41 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.004803, allocations: 128.4 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.004822, allocations: 8.375 kB / 0.5252 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.004841, allocations: 12.36 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.00492, allocations: 58.94 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004928, allocations: 3.938 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.004934, allocations: 0 / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004939, allocations: 0 / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.004954, allocations: 8 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.005269, allocations: 300.9 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.005341, allocations: 47.53 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.005355, allocations: 15.77 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.00536, allocations: 4.438 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.00546, allocations: 93.83 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.005461, allocations: 0 / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001917/0.005653, allocations: 115.2 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.00569, allocations: 59.39 kB / 0.5259 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.00578, allocations: 177.5 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.005804, allocations: 33.7 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.005871, allocations: 143.9 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.005888, allocations: 19.84 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.005954, allocations: 56.27 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.00609, allocations: 0.4923 MB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.006186, allocations: 103.4 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.006297, allocations: 172.9 kB / 0.527 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.006428, allocations: 185.9 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00643, allocations: 5.25 kB / 0.5272 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002986/0.006729, allocations: 321.5 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.006771, allocations: 71.33 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006775, allocations: 0 / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.006784, allocations: 6.469 kB / 0.5276 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.006819, allocations: 7.938 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006824, allocations: 4 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.00697, allocations: 39.91 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.006991, allocations: 19.98 kB / 0.5276 GB, free: 11.33 MB / 0.4948 GB 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.408e-05/0.007075, allocations: 172.6 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.007087, allocations: 7.938 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.007108, allocations: 12.44 kB / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.00711, allocations: 0 / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007112, allocations: 0 / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.007116, allocations: 3.984 kB / 0.5278 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.00732, allocations: 327 kB / 0.5281 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007321, allocations: 0 / 0.5281 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.007328, allocations: 8 kB / 0.5281 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007329, allocations: 0.9375 kB / 0.5281 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.007335, allocations: 3.984 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007336, allocations: 0.9375 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007336, allocations: 4 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.00746, allocations: 239.8 kB / 0.5284 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-06/0.007467, allocations: 4.609 kB / 0.5284 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.00748, allocations: 5.156 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.007519, allocations: 7.984 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.007543, allocations: 8 kB / 0.5284 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.007556, allocations: 3.984 kB / 0.5284 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.007599, allocations: 133.6 kB / 0.5285 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007599, allocations: 0 / 0.5285 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001872/0.007786, allocations: 32 kB / 0.5286 GB, free: 10.32 MB / 0.4948 GB 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.0001106/0.007897, allocations: 103.2 kB / 0.5287 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.008114, allocations: 280.8 kB / 0.5289 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008115, allocations: 0 / 0.5289 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.008146, allocations: 35.55 kB / 0.529 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.008347, allocations: 23.92 kB / 0.529 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.008584, allocations: 160 kB / 0.5291 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.008619, allocations: 59.34 kB / 0.5292 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.00864, allocations: 8.734 kB / 0.5292 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.008744, allocations: 109.4 kB / 0.5293 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.008745, allocations: 0 / 0.5293 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of Templates: time 0.003934/0.01268, allocations: 2.365 MB / 0.5316 GB, free: 7.238 MB / 0.4948 GB " [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.9580795946530998]