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.001858/0.001858, allocations: 88.72 kB / 19.44 MB, free: 356 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.002273/0.002273, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.3/1.3, allocations: 154.6 MB / 414.1 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 2.946e-06/2.946e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.119e-05/4.413e-05, allocations: 6.031 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002433/0.002477, allocations: 0.659 MB / 0.5203 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.004676, allocations: 1.219 MB / 0.5215 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.004733, allocations: 0 / 0.5215 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.004777, allocations: 3.938 kB / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.004867, allocations: 20.48 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.005642, allocations: 209.2 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.005983, allocations: 183.6 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.006079, allocations: 9.359 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.006579, allocations: 95.92 kB / 0.522 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.006752, allocations: 55.84 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.0068, allocations: 16.62 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.006892, allocations: 31.92 kB / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.006919, allocations: 9.172 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.007015, allocations: 55.89 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.007367, allocations: 187.5 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.007371, allocations: 4.656 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.707e-06/0.007375, allocations: 3.984 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.007381, allocations: 0.5625 kB / 0.5223 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.0009073/0.008289, allocations: 358.1 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.008331, allocations: 12.02 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.008413, allocations: 14.11 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.008556, allocations: 117.6 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.00859, allocations: 8.375 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.008633, allocations: 9.219 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.008771, allocations: 54.23 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.008781, allocations: 4.531 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.008793, allocations: 0 / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.008797, allocations: 3.406 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.008845, allocations: 15.98 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.009428, allocations: 268.5 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.009534, allocations: 38.5 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.009578, allocations: 12.86 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.009588, allocations: 96 / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.009851, allocations: 103.2 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.009852, allocations: 0 / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003471/0.0102, allocations: 134.2 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.01026, allocations: 59.95 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01038, allocations: 113.8 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.01042, allocations: 34.64 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01053, allocations: 100.3 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.01055, allocations: 17.48 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01066, allocations: 53.69 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.01084, allocations: 318.8 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.01104, allocations: 127.3 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.01128, allocations: 170.6 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.01155, allocations: 188.1 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.01156, allocations: 3.938 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006006/0.01216, allocations: 358.6 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.01223, allocations: 63.39 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.01223, allocations: 4 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.01225, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.01231, allocations: 15.94 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01231, allocations: 2.75 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.01266, allocations: 55.92 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.0127, allocations: 19.98 kB / 0.525 GB, free: 12.73 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.0001375/0.01283, allocations: 132.5 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01286, allocations: 11.98 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.01289, allocations: 8.438 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01289, allocations: 0 / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01289, allocations: 0 / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0129, allocations: 4.938 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.01327, allocations: 302.1 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01327, allocations: 0.7188 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.01329, allocations: 8 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01329, allocations: 0.6562 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.0133, allocations: 0 / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0133, allocations: 3.125 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.01331, allocations: 7.984 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.01357, allocations: 199.4 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.01359, allocations: 3.953 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01361, allocations: 4 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.01366, allocations: 7.984 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.0137, allocations: 8 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01372, allocations: 7.984 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.01379, allocations: 96.75 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002978/0.01409, allocations: 39.92 kB / 0.5259 GB, free: 11.85 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.0001628/0.01425, allocations: 99.19 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.0147, allocations: 290.1 kB / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0147, allocations: 1.812 kB / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.01477, allocations: 27.92 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.01507, allocations: 30.84 kB / 0.5263 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.01548, allocations: 168.8 kB / 0.5264 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.01556, allocations: 67.34 kB / 0.5265 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.01559, allocations: 12.72 kB / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.01562, allocations: 12.5 kB / 0.5265 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01562, allocations: 3.938 kB / 0.5265 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.005591/0.02121, allocations: 2.117 MB / 0.5286 GB, free: 9.082 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.992966884979978]