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.0009024/0.0009024, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001365/0.001365, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.8936/0.8936, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7651/0.7651, allocations: 154.9 MB / 415.1 MB, free: 264 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.704e-06/1.704e-06, allocations: 0 / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.688e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001125/0.001142, allocations: 0.6636 MB / 0.5218 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.0023, allocations: 1.246 MB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.002338, allocations: 0 / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.002364, allocations: 4.719 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.002433, allocations: 19.86 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.002887, allocations: 217.2 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.003073, allocations: 177.8 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.003157, allocations: 11.97 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.003272, allocations: 91.88 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.003374, allocations: 59.83 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.003403, allocations: 16 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/0.003462, allocations: 29.45 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.003484, allocations: 11.98 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.003531, allocations: 51.89 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.003685, allocations: 135.7 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003687, allocations: 0.9688 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003687, allocations: 0 / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003691, allocations: 0 / 0.5238 GB, free: 14.79 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.00038/0.004071, allocations: 472.8 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004105, allocations: 8.031 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.004142, allocations: 13.94 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.004214, allocations: 127.7 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.004231, allocations: 12.36 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.004248, allocations: 9.344 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.135e-05/0.004319, allocations: 62.88 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004327, allocations: 3.938 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.004335, allocations: 4.5 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.004339, allocations: 0.8438 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.004353, allocations: 7.984 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.004654, allocations: 305.6 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.004714, allocations: 38.98 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.004727, allocations: 15.77 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.004734, allocations: 8.438 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.655e-05/0.00483, allocations: 94.73 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.004831, allocations: 0 / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001661/0.004997, allocations: 109.5 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.005024, allocations: 55.34 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.005095, allocations: 175.6 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.005114, allocations: 33.7 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.005168, allocations: 147 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.005182, allocations: 19.83 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.005241, allocations: 59.33 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005348, allocations: 0.4898 MB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.005423, allocations: 107.4 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.005518, allocations: 165.2 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.005636, allocations: 183.3 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005639, allocations: 0 / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002642/0.005903, allocations: 321.5 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.005941, allocations: 72.17 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.005948, allocations: 8 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.00596, allocations: 0 / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.775e-05/0.005998, allocations: 13.06 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.006002, allocations: 0 / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.00614, allocations: 50.75 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.006159, allocations: 11.98 kB / 0.5269 GB, free: 11.32 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 7.692e-05/0.006236, allocations: 165.1 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.006248, allocations: 11.94 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.006273, allocations: 8.438 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006276, allocations: 6.75 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.006279, allocations: 3.984 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006282, allocations: 0 / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.006482, allocations: 334.2 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006483, allocations: 0 / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.006488, allocations: 0 / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006489, allocations: 0 / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006497, allocations: 12.8 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006498, allocations: 0 / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006499, allocations: 1.031 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.006617, allocations: 239.8 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.006625, allocations: 7.953 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.00664, allocations: 4.828 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.00667, allocations: 0 / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.006694, allocations: 13.36 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.006703, allocations: 4 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.006739, allocations: 131.2 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006739, allocations: 4 kB / 0.5278 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001688/0.006908, allocations: 33.47 kB / 0.5278 GB, free: 10.3 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 9.55e-05/0.007004, allocations: 104.2 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.007201, allocations: 278.8 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007202, allocations: 0.7188 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.007232, allocations: 35.55 kB / 0.5282 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.007419, allocations: 21.45 kB / 0.5282 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.007641, allocations: 164.9 kB / 0.5284 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.007673, allocations: 63.34 kB / 0.5284 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.007693, allocations: 8.719 kB / 0.5284 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.007787, allocations: 106.2 kB / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.007788, allocations: 0 / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of Templates: time 0.003272/0.01106, allocations: 2.31 MB / 0.5308 GB, free: 7.266 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.391179288737476]