Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001024/0.001024, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009818/0.0009818, allocations: 173 kB / 23.49 MB, free: 1.059 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9012/0.9012, allocations: 154.6 MB / 414.9 MB, free: 0.707 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.57e-05/3.871e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002607/0.002645, allocations: 0.6651 MB / 0.521 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.004589, allocations: 1.253 MB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.004662, allocations: 0 / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.004701, allocations: 8.562 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.0048, allocations: 12.89 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.005604, allocations: 216.6 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.0059, allocations: 181.7 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.006012, allocations: 15.98 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.006188, allocations: 91.92 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.006336, allocations: 55.84 kB / 0.5228 GB, free: 76 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.006377, allocations: 19.94 kB / 0.5228 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.006461, allocations: 27.98 kB / 0.5228 GB, free: 28 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.006489, allocations: 13.11 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.006596, allocations: 51.97 kB / 0.5229 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.006857, allocations: 139.5 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.006863, allocations: 5.453 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006864, allocations: 0 / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5e-06/0.006869, allocations: 0 / 0.523 GB, free: 15.82 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.0006145/0.007484, allocations: 459.9 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.007546, allocations: 12.83 kB / 0.5235 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.00765, allocations: 12.94 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.007816, allocations: 121.5 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.007861, allocations: 4.375 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.007903, allocations: 9.375 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.008097, allocations: 58.94 kB / 0.5237 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.00811, allocations: 3.938 kB / 0.5237 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.008126, allocations: 4.531 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.008141, allocations: 0.5 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.008193, allocations: 15.92 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.00898, allocations: 328.8 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.009127, allocations: 42.98 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.009158, allocations: 16.67 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.009166, allocations: 4 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.009366, allocations: 93.53 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.009369, allocations: 0.6562 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004145/0.009783, allocations: 125.5 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.009855, allocations: 60.69 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01001, allocations: 175.7 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.01005, allocations: 29.7 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.01014, allocations: 144.9 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.01017, allocations: 23.78 kB / 0.5247 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.01027, allocations: 55.34 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.01047, allocations: 0.4923 MB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.01065, allocations: 111.4 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.01086, allocations: 186.8 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.0111, allocations: 185.9 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.01111, allocations: 5.344 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005379/0.01165, allocations: 340.2 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.01172, allocations: 68.42 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.01173, allocations: 4 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.01175, allocations: 0.9688 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.01183, allocations: 8 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01184, allocations: 3.984 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.01209, allocations: 47.17 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.01213, allocations: 15.98 kB / 0.5261 GB, free: 12.27 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.0001311/0.01226, allocations: 172.5 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.01228, allocations: 8 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.01232, allocations: 12.42 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01233, allocations: 7.031 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01233, allocations: 0 / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01234, allocations: 0 / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.01269, allocations: 353.2 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01269, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.0127, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.0127, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01271, allocations: 4 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01272, allocations: 1.5 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01272, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01295, allocations: 247.8 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01296, allocations: 3.953 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.01299, allocations: 5.406 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.01305, allocations: 7.938 kB / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.0131, allocations: 11.92 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.01312, allocations: 0 / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.01319, allocations: 136.5 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01319, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003463/0.01353, allocations: 36 kB / 0.5271 GB, free: 11.22 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.0002097/0.01374, allocations: 102.8 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.01415, allocations: 296.8 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01416, allocations: 0 / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.01421, allocations: 27.67 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.01458, allocations: 29.33 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.015, allocations: 168.9 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.01537, allocations: 63.34 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.01541, allocations: 4.734 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.01544, allocations: 12.5 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01544, allocations: 0 / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.005743/0.02118, allocations: 2.127 MB / 0.5299 GB, free: 8.449 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044014406856149]