Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008828/0.0008828, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008993/0.0008993, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8301/0.8301, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.689/0.689, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.399e-05/4.712e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002047/0.002094, allocations: 0.6679 MB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.003984, allocations: 1.229 MB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.00404, allocations: 4 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.00408, allocations: 3.938 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.004168, allocations: 7.938 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.004985, allocations: 213.8 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.005249, allocations: 191.6 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005353, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005508, allocations: 103.9 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.005647, allocations: 55.84 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.005682, allocations: 16 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.005763, allocations: 31.94 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.005791, allocations: 11.97 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.00587, allocations: 55.83 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.006133, allocations: 191.5 kB / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.006138, allocations: 0 / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.006139, allocations: 0 / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.006144, allocations: 0 / 0.622 GB, free: 10.48 MB / 0.5886 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.0005315/0.006676, allocations: 361.6 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.006717, allocations: 13.47 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.006783, allocations: 12.89 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.006881, allocations: 113.7 kB / 0.6225 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.00691, allocations: 4.375 kB / 0.6225 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.00694, allocations: 8.375 kB / 0.6225 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.007065, allocations: 58.23 kB / 0.6225 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007075, allocations: 3.938 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.007086, allocations: 0 / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007092, allocations: 4 kB / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.007133, allocations: 15.92 kB / 0.6225 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.007637, allocations: 272.5 kB / 0.6228 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.007731, allocations: 34.5 kB / 0.6228 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.007762, allocations: 20.94 kB / 0.6229 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.007771, allocations: 0 / 0.6229 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.00798, allocations: 103.2 kB / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.007982, allocations: 0 / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002907/0.008272, allocations: 125.6 kB / 0.6231 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.008315, allocations: 59.39 kB / 0.6231 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.008409, allocations: 117.2 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.008441, allocations: 33.7 kB / 0.6233 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.008509, allocations: 108.3 kB / 0.6234 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.008527, allocations: 11.91 kB / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.008627, allocations: 53.62 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.008721, allocations: 322.8 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.008899, allocations: 123.4 kB / 0.6239 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.009084, allocations: 169.3 kB / 0.624 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.009292, allocations: 181.3 kB / 0.6242 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.009296, allocations: 7.938 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004813/0.009777, allocations: 348.2 kB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.009834, allocations: 67.39 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.009841, allocations: 4 kB / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.009857, allocations: 0 / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.009913, allocations: 8 kB / 0.6246 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.009921, allocations: 4 kB / 0.6246 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.0102, allocations: 59.98 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.01023, allocations: 15.98 kB / 0.6247 GB, free: 7.391 MB / 0.5886 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.0001033/0.01034, allocations: 130.7 kB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.01035, allocations: 4 kB / 0.6248 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.01038, allocations: 16.5 kB / 0.6248 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01039, allocations: 0 / 0.6248 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.01039, allocations: 4 kB / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.0104, allocations: 4 kB / 0.6248 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.0107, allocations: 310.4 kB / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0107, allocations: 0 / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.01071, allocations: 4 kB / 0.6251 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01071, allocations: 0 / 0.6251 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01072, allocations: 0 / 0.6251 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01072, allocations: 0 / 0.6251 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01073, allocations: 4 kB / 0.6251 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01091, allocations: 199.4 kB / 0.6253 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.01092, allocations: 7.953 kB / 0.6253 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01094, allocations: 0 / 0.6253 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.011, allocations: 4 kB / 0.6253 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01103, allocations: 11.98 kB / 0.6254 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.01105, allocations: 4 kB / 0.6254 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.0111, allocations: 95.2 kB / 0.6255 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.0111, allocations: 3.938 kB / 0.6255 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003097/0.01141, allocations: 35.94 kB / 0.6255 GB, free: 6.504 MB / 0.5886 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.0001601/0.01157, allocations: 103.2 kB / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.01193, allocations: 290.3 kB / 0.6259 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01193, allocations: 4 kB / 0.6259 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.01199, allocations: 27.92 kB / 0.6259 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01229, allocations: 20.3 kB / 0.6259 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.01266, allocations: 187 kB / 0.6261 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.01272, allocations: 76.25 kB / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.01275, allocations: 16.56 kB / 0.6262 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01275, allocations: 4 kB / 0.6262 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of Templates: time 0.003014/0.01576, allocations: 1.508 MB / 0.6277 GB, free: 4.207 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.947197985835373] Failed to read output from testmodel.py, exit status != 0: 0.023466987535357475 0.030747324000000003 0.022825331 Calling exit ...