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.002117/0.002117, allocations: 85.48 kB / 19.44 MB, free: 344 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.002311/0.002311, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.324/1.324, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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.515e-06/2.515e-06, allocations: 0 / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.244e-05, allocations: 3.297 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002254/0.002286, allocations: 0.6644 MB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.004215, allocations: 1.232 MB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.004258, allocations: 3.938 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.004284, allocations: 0 / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.004369, allocations: 15.86 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.005019, allocations: 211.4 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.005282, allocations: 180.5 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.005376, allocations: 15.98 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.005579, allocations: 92.58 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.005719, allocations: 55.75 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.005763, allocations: 16.94 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.005849, allocations: 31.92 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.005874, allocations: 9.578 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.005967, allocations: 55.89 kB / 0.5224 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.006261, allocations: 195.5 kB / 0.5226 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006263, allocations: 0 / 0.5226 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.61e-07/0.006264, allocations: 4.906 kB / 0.5226 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.006268, allocations: 0 / 0.5226 GB, free: 15.56 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.0006492/0.006917, allocations: 459.5 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.006958, allocations: 10.03 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.00703, allocations: 12.89 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.007158, allocations: 120.5 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.007188, allocations: 12.38 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.007218, allocations: 8.375 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.007343, allocations: 50.98 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.007353, allocations: 3.938 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.007363, allocations: 0.7188 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007369, allocations: 3.984 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.007416, allocations: 12.59 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.007983, allocations: 332.4 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.0081, allocations: 46.98 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.008138, allocations: 25.2 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.008147, allocations: 0 / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.00832, allocations: 100.9 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.008321, allocations: 0.7812 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003493/0.008671, allocations: 133.5 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.008726, allocations: 56.22 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.008892, allocations: 185.6 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.008934, allocations: 36.8 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.009053, allocations: 147 kB / 0.5243 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.009078, allocations: 19.89 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.009196, allocations: 59.34 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002826/0.009479, allocations: 0.4923 MB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.009702, allocations: 147.3 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.009966, allocations: 201.2 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.01026, allocations: 218.6 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01026, allocations: 4.5 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006087/0.01087, allocations: 377.2 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.01094, allocations: 68.36 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01095, allocations: 7.938 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01097, allocations: 0.9375 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.01103, allocations: 8 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01103, allocations: 3.984 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.01132, allocations: 49.61 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.01135, allocations: 11.98 kB / 0.5259 GB, free: 11.86 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 0.0001533/0.01151, allocations: 182.2 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.01152, allocations: 4 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.01155, allocations: 13.06 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01156, allocations: 4.078 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01156, allocations: 5.641 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01157, allocations: 0 / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.01196, allocations: 365.3 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01196, allocations: 0 / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.01198, allocations: 5.219 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.01198, allocations: 4 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01199, allocations: 0 / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01199, allocations: 0 / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01199, allocations: 0.7812 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.01226, allocations: 256.2 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.01228, allocations: 13.77 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.0123, allocations: 0 / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.01235, allocations: 0 / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.01239, allocations: 11.98 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.01241, allocations: 8 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001009/0.01251, allocations: 140.7 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01251, allocations: 0 / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000276/0.01279, allocations: 39.94 kB / 0.5269 GB, free: 10.77 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.0001763/0.01296, allocations: 107.9 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.01387, allocations: 341.8 kB / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01387, allocations: 0 / 0.5273 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.01395, allocations: 47.64 kB / 0.5273 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.01428, allocations: 30 kB / 0.5274 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.01468, allocations: 174.5 kB / 0.5275 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.716e-05/0.01477, allocations: 77.73 kB / 0.5276 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.0148, allocations: 4.734 kB / 0.5276 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.01482, allocations: 12.5 kB / 0.5276 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.01482, allocations: 0 / 0.5276 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of Templates: time 0.005738/0.02056, allocations: 2.114 MB / 0.5297 GB, free: 7.914 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: 6.191976179019548]