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.001238/0.001238, allocations: 80.45 kB / 19.9 MB, free: 12 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.001436/0.001436, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9333/0.9333, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7437/0.7437, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.001467/0.001467, allocations: 73.92 kB / 0.6196 GB, free: 13.12 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.4909/0.4923, allocations: 102 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.001682/0.494, allocations: 0.6626 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4953, allocations: 1.224 MB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.4953, allocations: 0 / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.4954, allocations: 5.25 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.4955, allocations: 14.92 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.4961, allocations: 227.4 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.4964, allocations: 180.5 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.4965, allocations: 13.38 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4966, allocations: 99.78 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.4967, allocations: 58.2 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.4968, allocations: 15.72 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.4968, allocations: 27.86 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.4969, allocations: 13.98 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.4969, allocations: 56.7 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.4972, allocations: 154.9 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4972, allocations: 3.938 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4972, allocations: 1.188 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4972, allocations: 0 / 0.7218 GB, free: 21.95 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.0004574/0.4976, allocations: 365 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4977, allocations: 10.5 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.4977, allocations: 15.33 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.4978, allocations: 116 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4978, allocations: 13.86 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4979, allocations: 13.69 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.498, allocations: 48.12 kB / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.498, allocations: 0 / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.498, allocations: 1.188 kB / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.498, allocations: 1.844 kB / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.498, allocations: 12.67 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.4985, allocations: 272.6 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.4986, allocations: 34.61 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.4986, allocations: 16.66 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4986, allocations: 5.094 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.4988, allocations: 103.5 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.4989, allocations: 0 / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003167/0.4992, allocations: 126 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4992, allocations: 54.56 kB / 0.7229 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.4993, allocations: 125.4 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.4993, allocations: 30.45 kB / 0.7231 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.4994, allocations: 91.19 kB / 0.7232 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.4994, allocations: 20.22 kB / 0.7232 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.4995, allocations: 50.47 kB / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.4995, allocations: 328.1 kB / 0.7236 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4997, allocations: 126.5 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4998, allocations: 172.3 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5, allocations: 188.4 kB / 0.724 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5, allocations: 1.219 kB / 0.724 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003641/0.5003, allocations: 344 kB / 0.7244 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.5004, allocations: 69.67 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5004, allocations: 1.344 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5004, allocations: 2.75 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.5005, allocations: 9 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5005, allocations: 7.109 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.5007, allocations: 56.84 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.5007, allocations: 12.64 kB / 0.7245 GB, free: 19.63 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 7.107e-05/0.5008, allocations: 134 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.5008, allocations: 7.703 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.5008, allocations: 10.73 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5008, allocations: 1.156 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5009, allocations: 1.078 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5009, allocations: 1.156 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5011, allocations: 300.4 kB / 0.7249 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5011, allocations: 4 kB / 0.7249 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.5011, allocations: 6.328 kB / 0.725 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5011, allocations: 1.312 kB / 0.725 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5011, allocations: 6.609 kB / 0.725 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5011, allocations: 0 / 0.725 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5011, allocations: 1.031 kB / 0.725 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5012, allocations: 203.3 kB / 0.7252 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.5012, allocations: 10.92 kB / 0.7252 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.5012, allocations: 7.781 kB / 0.7252 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.5013, allocations: 1 kB / 0.7252 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.5013, allocations: 5.453 kB / 0.7252 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5013, allocations: 16.12 kB / 0.7252 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.5014, allocations: 98.17 kB / 0.7253 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5014, allocations: 0 / 0.7253 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002123/0.5016, allocations: 29.64 kB / 0.7253 GB, free: 18.95 MB / 0.6355 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.0001252/0.5017, allocations: 103.3 kB / 0.7254 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.502, allocations: 292.2 kB / 0.7257 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.502, allocations: 3.938 kB / 0.7257 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.502, allocations: 25.45 kB / 0.7257 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.5023, allocations: 25.41 kB / 0.7257 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.5026, allocations: 165.6 kB / 0.7259 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.5026, allocations: 77.47 kB / 0.726 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.5027, allocations: 5.656 kB / 0.726 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.5027, allocations: 13.42 kB / 0.726 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.5027, allocations: 4 kB / 0.726 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.004611/0.5073, allocations: 2.141 MB / 0.7281 GB, free: 18.13 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.351665509981103] Failed to read output from testmodel.py, exit status != 0: 0.5160867270315066 0.523921768 0.024637758000000003 Calling exit ...