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.0008015/0.0008015, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008821/0.0008821, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.896/0.896, allocations: 177.2 MB / 203.6 MB, free: 5.781 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-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 0.7651/0.7651, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4916, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001435/0.4931, allocations: 0.6591 MB / 0.7198 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4943, allocations: 1.227 MB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.4944, allocations: 1.031 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.4944, allocations: 4.453 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.4945, allocations: 16.03 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.495, allocations: 230.9 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.4952, allocations: 179.6 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4953, allocations: 14.23 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.4955, allocations: 99.17 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4956, allocations: 58.03 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.4957, allocations: 15.03 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.4958, allocations: 25.55 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.4958, allocations: 16.7 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.4959, allocations: 53.61 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.4961, allocations: 190 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4961, allocations: 0.6094 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4961, allocations: 0 / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4961, allocations: 5.188 kB / 0.7218 GB, free: 21.94 MB / 0.6355 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.0004279/0.4966, allocations: 372.7 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4966, allocations: 8.812 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.4967, allocations: 16.72 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.4967, allocations: 111.1 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.4968, allocations: 6.609 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4968, allocations: 13.77 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4969, allocations: 55.69 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4969, allocations: 0 / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4969, allocations: 2.047 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4969, allocations: 4 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.497, allocations: 13.11 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.4974, allocations: 274 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.4975, allocations: 34.08 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.4975, allocations: 15.3 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.4975, allocations: 1.094 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.4977, allocations: 91.89 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4977, allocations: 0 / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002443/0.4979, allocations: 133.6 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4979, allocations: 58.48 kB / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.498, allocations: 125.7 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.498, allocations: 34.45 kB / 0.7231 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.498, allocations: 95.45 kB / 0.7232 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.4981, allocations: 20.95 kB / 0.7232 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.4981, allocations: 50.31 kB / 0.7233 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.4982, allocations: 324 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4983, allocations: 122.7 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4984, allocations: 172.8 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.4985, allocations: 187.7 kB / 0.7241 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4985, allocations: 2.094 kB / 0.7241 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003289/0.4989, allocations: 344.2 kB / 0.7244 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.4989, allocations: 70.38 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4989, allocations: 2.156 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4989, allocations: 2.312 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.499, allocations: 7.562 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.499, allocations: 10.59 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.4992, allocations: 48.28 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4992, allocations: 17.62 kB / 0.7245 GB, free: 19.62 MB / 0.6355 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 6.43e-05/0.4993, allocations: 129.8 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.4993, allocations: 8.016 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.4993, allocations: 14.14 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4993, allocations: 1.844 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4993, allocations: 0 / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.4993, allocations: 8.141 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4993, allocations: 1.969 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.4993, allocations: 9.625 kB / 0.7247 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4994, allocations: 5.297 kB / 0.7247 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001171/0.4995, allocations: 181.6 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001146/0.4996, allocations: 273.7 kB / 0.7251 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.7e-05/0.4996, allocations: 19.45 kB / 0.7252 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.4997, allocations: 94.47 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of Backend: time 3.4e-07/0.4997, allocations: 5.062 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.5001, allocations: 350 kB / 0.7256 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003674/0.5005, allocations: 0.6216 MB / 0.7262 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.004287/0.5048, allocations: 2.218 MB / 0.7284 GB, free: 17.86 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.33382615679875] Failed to read output from testmodel.py, exit status != 0: 0.5109522440470755 0.5194307459999999 0.021360848 Calling exit ...