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.00107/0.00107, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001051/0.001051, allocations: 173 kB / 23.49 MB, free: 1.051 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.998/0.998, allocations: 177.1 MB / 203.8 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.853/0.853, allocations: 154.8 MB / 415.1 MB, free: 488 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 2.555e-06/2.555e-06, allocations: 0 / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.16e-05, allocations: 4 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.004749/0.004781, allocations: 0.671 MB / 0.5212 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.006612, allocations: 1.247 MB / 0.5225 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.006666, allocations: 0 / 0.5225 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.006697, allocations: 3.938 kB / 0.5225 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.006772, allocations: 16.77 kB / 0.5225 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.01039, allocations: 217.1 kB / 0.5227 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.01067, allocations: 175.8 kB / 0.5229 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.01078, allocations: 12.56 kB / 0.5229 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.01093, allocations: 101 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.01105, allocations: 59.84 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.01108, allocations: 12 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.01115, allocations: 28.48 kB / 0.5231 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.01118, allocations: 15.92 kB / 0.5231 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.01125, allocations: 52.86 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.01147, allocations: 135.6 kB / 0.5233 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01148, allocations: 0.7188 kB / 0.5233 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01148, allocations: 0 / 0.5233 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.01149, allocations: 0.5 kB / 0.5233 GB, free: 15.57 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.0005102/0.012, allocations: 464.5 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.01205, allocations: 12.03 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.01211, allocations: 17.86 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.01221, allocations: 116.5 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.01223, allocations: 5.25 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.01226, allocations: 8.375 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.01237, allocations: 66.88 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01238, allocations: 9.625 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.01239, allocations: 0 / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.0124, allocations: 0 / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.381e-05/0.01242, allocations: 7.984 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.01286, allocations: 329.5 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.01295, allocations: 50.92 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.01297, allocations: 15.77 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.01297, allocations: 0 / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.01309, allocations: 89.72 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.01309, allocations: 0 / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000235/0.01332, allocations: 122.9 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.01336, allocations: 59.34 kB / 0.5246 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.01345, allocations: 173.9 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01347, allocations: 30.95 kB / 0.5248 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.01353, allocations: 143 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.01355, allocations: 19.84 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.01361, allocations: 55.34 kB / 0.525 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01373, allocations: 0.4944 MB / 0.5255 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01384, allocations: 111.4 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01397, allocations: 183.3 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01411, allocations: 194.9 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01412, allocations: 3.938 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000321/0.01444, allocations: 337.7 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.01448, allocations: 67.39 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01449, allocations: 4 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.0145, allocations: 0.9375 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.01455, allocations: 11.94 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01456, allocations: 4.922 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01472, allocations: 40.95 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.01474, allocations: 20.02 kB / 0.5264 GB, free: 12.02 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.0001024/0.01484, allocations: 176.3 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.01486, allocations: 7.984 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.01489, allocations: 8.438 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01489, allocations: 7.984 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01489, allocations: 0 / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.0149, allocations: 3.938 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.01517, allocations: 353.2 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01517, allocations: 3.031 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-06/0.01518, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.01518, allocations: 4 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.01519, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01519, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01519, allocations: 4 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.01535, allocations: 247.8 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01536, allocations: 7.953 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01537, allocations: 5.5 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.01541, allocations: 0 / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.01545, allocations: 7.984 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.01547, allocations: 4 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.01552, allocations: 137.5 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01552, allocations: 3.031 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001965/0.01572, allocations: 32 kB / 0.5274 GB, free: 10.96 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.0001679/0.01589, allocations: 103.2 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01618, allocations: 289.7 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01618, allocations: 0 / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.01622, allocations: 38.05 kB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01644, allocations: 20.67 kB / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.01677, allocations: 170.5 kB / 0.528 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.01681, allocations: 60.75 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.01684, allocations: 4.734 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.01685, allocations: 16.44 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/0.01686, allocations: 0.9688 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.004012/0.02087, allocations: 2.13 MB / 0.5301 GB, free: 8.176 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: 4.123660885961726]