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.00185/0.00185, 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.002087/0.002087, 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.33/1.33, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.386e-06/3.386e-06, allocations: 0 / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.468e-05/4.807e-05, allocations: 5.281 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002124/0.002172, allocations: 0.6602 MB / 0.5203 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.004233, allocations: 1.222 MB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.004277, allocations: 5.219 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.004307, allocations: 3.938 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.004406, allocations: 15.86 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.005108, allocations: 213.9 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.005397, allocations: 175.7 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.005498, allocations: 17.5 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.005674, allocations: 91.88 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.005837, allocations: 59.83 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.005882, allocations: 16 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.00597, allocations: 33.2 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.006004, allocations: 11.98 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.00612, allocations: 55.89 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.006422, allocations: 179.6 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.006427, allocations: 4.609 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.006429, allocations: 0 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.006434, allocations: 0.6875 kB / 0.5223 GB, free: 15.77 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.0007201/0.007154, allocations: 464.9 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.007198, allocations: 16.02 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.714e-05/0.007275, allocations: 12.89 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.007698, allocations: 120.5 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.007732, allocations: 5.375 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.00777, allocations: 16.38 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.007902, allocations: 50.17 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.007915, allocations: 7.469 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007928, allocations: 4 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.007932, allocations: 0 / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.951e-05/0.007982, allocations: 15.98 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.008574, allocations: 323.8 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.008711, allocations: 46.98 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.008749, allocations: 23.62 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008767, allocations: 4.078 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.008952, allocations: 101.5 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.008953, allocations: 0.5625 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000354/0.009307, allocations: 133.6 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.009361, allocations: 55.95 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.009538, allocations: 190 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.009582, allocations: 33.7 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.009707, allocations: 143 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.009736, allocations: 25.3 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.009883, allocations: 63.34 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003281/0.01021, allocations: 0.4923 MB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.01043, allocations: 135.4 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.01072, allocations: 205.9 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.01103, allocations: 210.9 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.01104, allocations: 5.844 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006235/0.01166, allocations: 384.1 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.01174, allocations: 71.39 kB / 0.5255 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01174, allocations: 2.75 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.01177, allocations: 4 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.01183, allocations: 4 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.01184, allocations: 7.938 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.01212, allocations: 43.84 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.01216, allocations: 21.73 kB / 0.5256 GB, free: 12.05 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.00016/0.01232, allocations: 169.6 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.01235, allocations: 12 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.01237, allocations: 5.375 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01238, allocations: 0 / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01238, allocations: 0 / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.01239, allocations: 8.797 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.01281, allocations: 365.3 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01282, allocations: 4.656 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.01283, allocations: 8.531 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01283, allocations: 96 / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01284, allocations: 2.969 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.01285, allocations: 4 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01285, allocations: 3.984 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.01313, allocations: 259.8 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.01314, allocations: 3.953 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01316, allocations: 4 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.01321, allocations: 4 kB / 0.5264 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.01326, allocations: 7.984 kB / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01327, allocations: 3.125 kB / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.01337, allocations: 139.2 kB / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01337, allocations: 0 / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002793/0.01365, allocations: 35.94 kB / 0.5266 GB, free: 10.97 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.000188/0.01383, allocations: 103.2 kB / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.01435, allocations: 351.2 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01435, allocations: 7.938 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.01443, allocations: 39.61 kB / 0.5271 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.01474, allocations: 23.91 kB / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.01518, allocations: 182.4 kB / 0.5273 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.231e-05/0.01527, allocations: 75.11 kB / 0.5274 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.0153, allocations: 4.734 kB / 0.5274 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.01533, allocations: 12.5 kB / 0.5274 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01533, allocations: 0 / 0.5274 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.006185/0.02152, allocations: 2.124 MB / 0.5295 GB, free: 8.105 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: 6.111674595042132]