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.0008902/0.0008902, allocations: 88.23 kB / 19.64 MB, free: 308 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.0009053/0.0009053, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.8864/0.8864, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7844/0.7844, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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 1.843e-06/1.843e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.221e-05, allocations: 3.297 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001617/0.001639, allocations: 0.6736 MB / 0.521 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003135, allocations: 1.239 MB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.003176, allocations: 5.281 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.00321, allocations: 3.938 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.003293, allocations: 16.62 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.003873, allocations: 217 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.00411, allocations: 188.2 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.004201, allocations: 8.844 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.004342, allocations: 99.84 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.004468, allocations: 54.06 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.004508, allocations: 16 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.004579, allocations: 24 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.004606, allocations: 15.92 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.004682, allocations: 55.94 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004883, allocations: 135.6 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004885, allocations: 1.062 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004886, allocations: 0 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00489, allocations: 0 / 0.523 GB, free: 15.46 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.0004942/0.005384, allocations: 469.2 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.005421, allocations: 8.031 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.005495, allocations: 12.94 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.302e-05/0.005588, allocations: 121.3 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.00561, allocations: 4.375 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.005638, allocations: 13.12 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.005749, allocations: 62.94 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005758, allocations: 3.938 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.00577, allocations: 5 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005778, allocations: 0 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.005806, allocations: 12.67 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.006253, allocations: 319.8 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.006348, allocations: 51.45 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.006371, allocations: 12.69 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.006376, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.006505, allocations: 97.73 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.006506, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002609/0.006767, allocations: 126.2 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.006804, allocations: 60.03 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006907, allocations: 184.9 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.006935, allocations: 30.83 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.007002, allocations: 139.1 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.007023, allocations: 23.83 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.007115, allocations: 61.16 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.007246, allocations: 0.4923 MB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.007389, allocations: 107.4 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.007557, allocations: 179.3 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.007748, allocations: 194.8 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.007753, allocations: 4.688 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004168/0.00817, allocations: 337.6 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.008214, allocations: 67.39 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.008221, allocations: 5.344 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.008235, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.008286, allocations: 11.94 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.008292, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.008492, allocations: 49.78 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.008521, allocations: 12 kB / 0.5261 GB, free: 11.91 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.0001054/0.008627, allocations: 178.5 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008644, allocations: 7.953 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.008667, allocations: 13.5 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.008671, allocations: 4 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008675, allocations: 0 / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008678, allocations: 3.25 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.008949, allocations: 349.3 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.008951, allocations: 0 / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-06/0.008958, allocations: 0 / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.008962, allocations: 7.984 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.008971, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008972, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.008973, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.009144, allocations: 251.7 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.009152, allocations: 7.016 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.009169, allocations: 8 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.00922, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.009257, allocations: 7.984 kB / 0.5269 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.00927, allocations: 4 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.009324, allocations: 135.2 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009324, allocations: 0 / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002978/0.009622, allocations: 32 kB / 0.5271 GB, free: 10.86 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.0001171/0.009739, allocations: 104.7 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.01007, allocations: 286.4 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01007, allocations: 0.625 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.01012, allocations: 35.61 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.01042, allocations: 27.19 kB / 0.5275 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.01074, allocations: 162.5 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01078, allocations: 63.34 kB / 0.5278 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.01081, allocations: 8.719 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.01083, allocations: 12.5 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01084, allocations: 2.438 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.005037/0.01587, allocations: 2.319 MB / 0.53 GB, free: 7.906 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: 3.5941985403187573]