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.0007501/0.0007501, allocations: 76.45 kB / 19.91 MB, free: 16 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.0008096/0.0008096, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8631/0.8631, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7096/0.7096, allocations: 155 MB / 414.9 MB, free: 0.4961 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: 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.0009002/0.0009002, allocations: 67.89 kB / 0.6199 GB, free: 12.72 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4491, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001453/0.4506, allocations: 0.6634 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4518, allocations: 1.226 MB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.4519, allocations: 1.094 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.4519, allocations: 4.594 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.452, allocations: 15.97 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.4525, allocations: 225 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.4527, allocations: 180.6 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.4528, allocations: 5.156 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.4529, allocations: 99.64 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.453, allocations: 57.53 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.4531, allocations: 16.5 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.4531, allocations: 31.72 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.4532, allocations: 5.828 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.4532, allocations: 56.53 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.4535, allocations: 199.7 kB / 0.7222 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4535, allocations: 4 kB / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4535, allocations: 0 / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4535, allocations: 3.938 kB / 0.7222 GB, free: 21.75 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.0004145/0.4539, allocations: 368.8 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4539, allocations: 11.28 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.454, allocations: 13.34 kB / 0.7226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.085e-05/0.454, allocations: 115.2 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4541, allocations: 4.938 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.4541, allocations: 18.98 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.4542, allocations: 51.92 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4542, allocations: 0 / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4542, allocations: 5.031 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4542, allocations: 1.281 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.4542, allocations: 16.5 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4546, allocations: 273.8 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.4547, allocations: 29.94 kB / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.4547, allocations: 15.58 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.4547, allocations: 1.688 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.4549, allocations: 104.2 kB / 0.7232 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4549, allocations: 0 / 0.7232 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002301/0.4551, allocations: 128.9 kB / 0.7233 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.4551, allocations: 54.3 kB / 0.7234 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.4552, allocations: 126.7 kB / 0.7235 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4552, allocations: 29.33 kB / 0.7235 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.4552, allocations: 91.83 kB / 0.7236 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.4553, allocations: 24.03 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.4553, allocations: 50.67 kB / 0.7237 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.074e-05/0.4553, allocations: 323.7 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4555, allocations: 122.8 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4556, allocations: 173.3 kB / 0.7243 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4557, allocations: 185.7 kB / 0.7244 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4557, allocations: 0 / 0.7244 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003092/0.456, allocations: 344.8 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4561, allocations: 68.28 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4561, allocations: 5.188 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4561, allocations: 7.625 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.4561, allocations: 5.734 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4561, allocations: 1.875 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4564, allocations: 56.41 kB / 0.7249 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4564, allocations: 13.17 kB / 0.7249 GB, free: 19.44 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.871e-05/0.4564, allocations: 138.8 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.4565, allocations: 12.36 kB / 0.7251 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.4565, allocations: 10.48 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4565, allocations: 1.156 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4565, allocations: 0 / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4565, allocations: 2.109 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.4567, allocations: 304.1 kB / 0.7254 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4567, allocations: 3.938 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-06/0.4567, allocations: 2.062 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4567, allocations: 1.031 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4567, allocations: 3.094 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4567, allocations: 5.094 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4567, allocations: 0 / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.4568, allocations: 204.4 kB / 0.7256 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.4568, allocations: 5.844 kB / 0.7256 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4568, allocations: 7.422 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.4569, allocations: 0.7031 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4569, allocations: 7.047 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4569, allocations: 8.219 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.802e-05/0.457, allocations: 99.44 kB / 0.7257 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.457, allocations: 0 / 0.7257 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001986/0.4571, allocations: 28.86 kB / 0.7257 GB, free: 18.76 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.0001148/0.4573, allocations: 106.8 kB / 0.7258 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.4575, allocations: 292.2 kB / 0.7261 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4575, allocations: 1.062 kB / 0.7261 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.4576, allocations: 29.23 kB / 0.7261 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.4578, allocations: 20.02 kB / 0.7261 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.4581, allocations: 196.4 kB / 0.7263 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.4581, allocations: 77.55 kB / 0.7264 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.4581, allocations: 12.66 kB / 0.7264 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4581, allocations: 0 / 0.7264 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.002726/0.4609, allocations: 1.517 MB / 0.7279 GB, free: 18.03 MB / 0.6355 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: 5.505687367171049] Failed to read output from testmodel.py, exit status != 0: 0.46660279389470816 0.474636643 0.019515078 Calling exit ...