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.001141/0.001141, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001523/0.001523, allocations: 165 kB / 23.02 MB, free: 1.555 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.07/1.07, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8556/0.8556, allocations: 154.8 MB / 414.7 MB, free: 476 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 5.019e-06/5.019e-06, allocations: 3.984 kB / 0.5206 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/3.235e-05, allocations: 2.312 kB / 0.5206 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001434/0.001466, allocations: 0.675 MB / 0.5212 GB, free: 188 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.002833, allocations: 1.249 MB / 0.5224 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.00288, allocations: 1.812 kB / 0.5224 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.002914, allocations: 3.938 kB / 0.5225 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.002988, allocations: 11.88 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.003554, allocations: 220.8 kB / 0.5227 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.003761, allocations: 179.6 kB / 0.5228 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.003859, allocations: 8.594 kB / 0.5229 GB, free: 14.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.00398, allocations: 101.1 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.0041, allocations: 55.78 kB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.004139, allocations: 16 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.004213, allocations: 28.72 kB / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.004238, allocations: 7.984 kB / 0.5231 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.004309, allocations: 56.47 kB / 0.5231 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.004524, allocations: 143.6 kB / 0.5232 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004526, allocations: 1.25 kB / 0.5232 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.004528, allocations: 3.938 kB / 0.5232 GB, free: 14.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004534, allocations: 0 / 0.5232 GB, free: 14.11 MB / 458.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.000501/0.005035, allocations: 460.8 kB / 0.5237 GB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.005073, allocations: 8.031 kB / 0.5237 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.005132, allocations: 17.45 kB / 0.5237 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.005219, allocations: 127.4 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.005238, allocations: 7.812 kB / 0.5238 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.005265, allocations: 12.38 kB / 0.5239 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.005365, allocations: 54.94 kB / 0.5239 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005375, allocations: 7.922 kB / 0.5239 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005386, allocations: 8 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005393, allocations: 0 / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.005416, allocations: 7.984 kB / 0.5239 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.005837, allocations: 323.7 kB / 0.5242 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.005918, allocations: 43.64 kB / 0.5243 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.005937, allocations: 11.69 kB / 0.5243 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.005944, allocations: 4.562 kB / 0.5243 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.006067, allocations: 101.5 kB / 0.5244 GB, free: 12.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.006068, allocations: 0.9375 kB / 0.5244 GB, free: 12.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002202/0.006288, allocations: 117.5 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.006319, allocations: 56.97 kB / 0.5246 GB, free: 12.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.006406, allocations: 177.9 kB / 0.5247 GB, free: 12.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.006428, allocations: 33.7 kB / 0.5248 GB, free: 12.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.006487, allocations: 135.1 kB / 0.5249 GB, free: 12.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.006506, allocations: 19.84 kB / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.006581, allocations: 60.19 kB / 0.525 GB, free: 12.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.006702, allocations: 0.4923 MB / 0.5254 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.006817, allocations: 111.8 kB / 0.5256 GB, free: 11.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.006956, allocations: 183.2 kB / 0.5257 GB, free: 11.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.007105, allocations: 193.6 kB / 0.5259 GB, free: 11.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.007109, allocations: 3.938 kB / 0.5259 GB, free: 11.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003351/0.007444, allocations: 337.5 kB / 0.5262 GB, free: 10.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.007488, allocations: 67.95 kB / 0.5263 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.007495, allocations: 5.438 kB / 0.5263 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.007509, allocations: 0 / 0.5263 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.007563, allocations: 11.94 kB / 0.5263 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.00757, allocations: 0 / 0.5263 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.00773, allocations: 50.45 kB / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.007751, allocations: 8 kB / 0.5264 GB, free: 10.57 MB / 458.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.39e-05/0.007845, allocations: 177 kB / 0.5265 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.00786, allocations: 14.7 kB / 0.5266 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.007891, allocations: 8.438 kB / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007894, allocations: 4 kB / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.007898, allocations: 0 / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007902, allocations: 0 / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.008144, allocations: 345.3 kB / 0.5269 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008145, allocations: 0 / 0.5269 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.008152, allocations: 3.984 kB / 0.5269 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008154, allocations: 1.875 kB / 0.5269 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.008163, allocations: 4 kB / 0.5269 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008165, allocations: 4 kB / 0.5269 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008165, allocations: 0 / 0.5269 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.008308, allocations: 251.8 kB / 0.5272 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.008316, allocations: 8.875 kB / 0.5272 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.008332, allocations: 4 kB / 0.5272 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.008365, allocations: 0.7188 kB / 0.5272 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.008399, allocations: 11.98 kB / 0.5272 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.008411, allocations: 0.9375 kB / 0.5272 GB, free: 9.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.008456, allocations: 135.1 kB / 0.5273 GB, free: 9.547 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008456, allocations: 0 / 0.5273 GB, free: 9.547 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.008653, allocations: 41.16 kB / 0.5273 GB, free: 9.508 MB / 458.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.000131/0.008784, allocations: 107.8 kB / 0.5274 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.009061, allocations: 286.7 kB / 0.5277 GB, free: 9.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009063, allocations: 0 / 0.5277 GB, free: 9.078 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.009102, allocations: 35.61 kB / 0.5278 GB, free: 9.039 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.009328, allocations: 24.67 kB / 0.5278 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.00962, allocations: 165.8 kB / 0.5279 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.009666, allocations: 67.34 kB / 0.528 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.00969, allocations: 8.719 kB / 0.528 GB, free: 8.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.009711, allocations: 12.5 kB / 0.528 GB, free: 8.723 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009712, allocations: 0 / 0.528 GB, free: 8.723 MB / 458.7 MB Notification: Performance of Templates: time 0.003964/0.01368, allocations: 2.125 MB / 0.5301 GB, free: 6.73 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.030378594063222]