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.001227/0.001227, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001702/0.001702, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9402/0.9402, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.743/0.743, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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 2.435e-06/2.435e-06, allocations: 0 / 0.5215 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.493e-05, allocations: 2.875 kB / 0.5215 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002093/0.002128, allocations: 0.6655 MB / 0.5222 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.003915, allocations: 1.236 MB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.003963, allocations: 5.188 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.003997, allocations: 7.922 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.004081, allocations: 16.52 kB / 0.5234 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.004765, allocations: 225.6 kB / 0.5236 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.005031, allocations: 175.7 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.005128, allocations: 17.64 kB / 0.5238 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.005298, allocations: 95.86 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005442, allocations: 55.91 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.005481, allocations: 12 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.005569, allocations: 27.98 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.005599, allocations: 16.48 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.00567, allocations: 48.89 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.005895, allocations: 143.6 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005899, allocations: 0 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.382e-06/0.0059, allocations: 1.125 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.005905, allocations: 0 / 0.5242 GB, free: 15.08 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.0008968/0.006802, allocations: 467.8 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.006851, allocations: 12.75 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.006921, allocations: 8.938 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.007036, allocations: 117.5 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.007068, allocations: 4.375 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.007099, allocations: 13.92 kB / 0.5248 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.007203, allocations: 62.89 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007213, allocations: 7.938 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007223, allocations: 3.984 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.007229, allocations: 1.062 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.007251, allocations: 4 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.00769, allocations: 308.4 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.007789, allocations: 39.67 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.007807, allocations: 12.97 kB / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.007813, allocations: 3.938 kB / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.007943, allocations: 101 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.007946, allocations: 1.188 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002314/0.008177, allocations: 105.6 kB / 0.5254 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.008223, allocations: 59.39 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008327, allocations: 185.9 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.00836, allocations: 33.7 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.008437, allocations: 143.9 kB / 0.5258 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.008458, allocations: 19.84 kB / 0.5258 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.008554, allocations: 61.95 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.008694, allocations: 0.4884 MB / 0.5264 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.008813, allocations: 103.4 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.008958, allocations: 165.2 kB / 0.5266 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.009142, allocations: 185.7 kB / 0.5268 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.009145, allocations: 1.5 kB / 0.5268 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00044/0.009585, allocations: 320.7 kB / 0.5271 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.009639, allocations: 67.39 kB / 0.5272 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.009645, allocations: 5.031 kB / 0.5272 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.009656, allocations: 0 / 0.5272 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.009706, allocations: 16.84 kB / 0.5272 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.00971, allocations: 0 / 0.5272 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.00993, allocations: 47.66 kB / 0.5273 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.009963, allocations: 12 kB / 0.5273 GB, free: 11.62 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.0001104/0.01007, allocations: 169.9 kB / 0.5274 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.0101, allocations: 11.94 kB / 0.5274 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.01013, allocations: 8.438 kB / 0.5274 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01013, allocations: 4 kB / 0.5274 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01013, allocations: 0 / 0.5274 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01014, allocations: 2.438 kB / 0.5275 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.01043, allocations: 333.8 kB / 0.5278 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01043, allocations: 3.938 kB / 0.5278 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.01044, allocations: 0 / 0.5278 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01045, allocations: 4 kB / 0.5278 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.01045, allocations: 0 / 0.5278 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01046, allocations: 7.922 kB / 0.5278 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01046, allocations: 1.188 kB / 0.5278 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01064, allocations: 239.8 kB / 0.528 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.01065, allocations: 7.953 kB / 0.528 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01067, allocations: 4.875 kB / 0.528 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.01073, allocations: 4.078 kB / 0.528 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.01076, allocations: 9.141 kB / 0.528 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.01077, allocations: 7.984 kB / 0.528 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.01083, allocations: 131.2 kB / 0.5282 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01083, allocations: 0.5625 kB / 0.5282 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00031/0.01114, allocations: 31.98 kB / 0.5282 GB, free: 10.6 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.0001462/0.01128, allocations: 102.1 kB / 0.5283 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.01159, allocations: 277.7 kB / 0.5286 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01159, allocations: 0 / 0.5286 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.01163, allocations: 38.62 kB / 0.5286 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01193, allocations: 23.91 kB / 0.5286 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.01226, allocations: 163.2 kB / 0.5288 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01231, allocations: 63.34 kB / 0.5288 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.01234, allocations: 4.734 kB / 0.5288 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.01248, allocations: 107.6 kB / 0.5289 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/0.01248, allocations: 0 / 0.5289 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of Templates: time 0.00555/0.01803, allocations: 2.36 MB / 0.5313 GB, free: 7.531 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.561086987145245]