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.001335/0.001335, allocations: 82.02 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001455/0.001455, allocations: 173.3 kB / 22.46 MB, free: 4.992 MB / 14.72 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.41/1.41, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 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-531:686: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-531:694: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.197/1.197, allocations: 154.7 MB / 413.9 MB, free: 5.152 MB / 382.1 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.866e-06/2.866e-06, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.321e-05, allocations: 5.672 kB / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001795/0.001828, allocations: 0.6631 MB / 0.6194 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.003704, allocations: 1.223 MB / 0.6206 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.003746, allocations: 0 / 0.6206 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.003773, allocations: 3.938 kB / 0.6206 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.003858, allocations: 19.86 kB / 0.6206 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.00452, allocations: 222.1 kB / 0.6208 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.004773, allocations: 183.6 kB / 0.621 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.00486, allocations: 4 kB / 0.621 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.00503, allocations: 99.91 kB / 0.6211 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.005164, allocations: 55.84 kB / 0.6211 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.005203, allocations: 16 kB / 0.6212 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.005281, allocations: 27.98 kB / 0.6212 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.005308, allocations: 11.98 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.005391, allocations: 51.89 kB / 0.6212 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.005655, allocations: 191.6 kB / 0.6214 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005658, allocations: 0 / 0.6214 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005659, allocations: 0 / 0.6214 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.005669, allocations: 0 / 0.6214 GB, free: 1.82 MB / 0.5294 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.0006291/0.006298, allocations: 365.5 kB / 0.6218 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.006339, allocations: 9.469 kB / 0.6218 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.006401, allocations: 16.83 kB / 0.6218 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.006526, allocations: 113.7 kB / 0.6219 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.006554, allocations: 12.36 kB / 0.6219 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.0066, allocations: 16.31 kB / 0.6219 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006729, allocations: 50.23 kB / 0.622 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006741, allocations: 7.938 kB / 0.622 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.006754, allocations: 4 kB / 0.622 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006761, allocations: 4 kB / 0.622 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.006804, allocations: 15.98 kB / 0.622 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.007336, allocations: 272.4 kB / 0.6223 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.007428, allocations: 38.52 kB / 0.6223 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.007458, allocations: 12.94 kB / 0.6223 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-06/0.007463, allocations: 0 / 0.6223 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.007667, allocations: 99.25 kB / 0.6224 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.007668, allocations: 4 kB / 0.6224 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002962/0.007964, allocations: 125.5 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.008019, allocations: 63.39 kB / 0.6226 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.008118, allocations: 117 kB / 0.6227 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.008151, allocations: 29.7 kB / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.008234, allocations: 96.36 kB / 0.6228 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.008254, allocations: 15.86 kB / 0.6229 GB, free: 204 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.008353, allocations: 57.69 kB / 0.6229 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.008532, allocations: 314.8 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.008715, allocations: 123.4 kB / 0.6233 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.00896, allocations: 173.4 kB / 0.6235 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.009225, allocations: 185.3 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.00923, allocations: 7.875 kB / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005582/0.009788, allocations: 340.2 kB / 0.624 GB, free: 14.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.009882, allocations: 67.55 kB / 0.6241 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.009892, allocations: 8 kB / 0.6241 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.009913, allocations: 0 / 0.6241 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.01, allocations: 12.31 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.01001, allocations: 4 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.01034, allocations: 55.86 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.01038, allocations: 16 kB / 0.6242 GB, free: 14.73 MB / 0.545 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.0001523/0.01053, allocations: 139.6 kB / 0.6243 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.01055, allocations: 7.953 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.01058, allocations: 8.438 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01058, allocations: 4 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01059, allocations: 0 / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01059, allocations: 0 / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.01094, allocations: 298.1 kB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01094, allocations: 3.938 kB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-06/0.01095, allocations: 4 kB / 0.6246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01095, allocations: 0 / 0.6246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01096, allocations: 7.984 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01097, allocations: 4 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01097, allocations: 0 / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.01119, allocations: 199.4 kB / 0.6248 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.0112, allocations: 7.953 kB / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01122, allocations: 4 kB / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.01127, allocations: 7.984 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01131, allocations: 0 / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01132, allocations: 7.984 kB / 0.6248 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.01139, allocations: 87.28 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01139, allocations: 0 / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002819/0.01167, allocations: 43.98 kB / 0.625 GB, free: 13.84 MB / 0.545 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.0001925/0.01187, allocations: 103.2 kB / 0.6251 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.01229, allocations: 294 kB / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01229, allocations: 0 / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.01236, allocations: 36.05 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01266, allocations: 20.23 kB / 0.6254 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.01304, allocations: 165.2 kB / 0.6255 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.01311, allocations: 79.27 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.01314, allocations: 8.719 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.01317, allocations: 12.5 kB / 0.6256 GB, free: 13.05 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01317, allocations: 0 / 0.6256 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Templates: time 0.005455/0.01862, allocations: 2.14 MB / 0.6277 GB, free: 10.99 MB / 0.545 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.680597096681595] Failed to read output from testmodel.py, exit status != 0: 0.027630364522337914 0.042269973 0.033651297000000004 Calling exit ...