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.001145/0.001145, allocations: 76.45 kB / 19.9 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.001187/0.001187, allocations: 169.8 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.9256/0.9256, allocations: 177.2 MB / 203.6 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7493/0.7493, allocations: 154.9 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.0009888/0.0009888, allocations: 63.91 kB / 0.6199 GB, free: 12.74 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.4451/0.4461, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001439/0.4475, allocations: 0.6564 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.4487, allocations: 1.226 MB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4488, allocations: 1.125 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.4488, allocations: 4.688 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.4489, allocations: 15.61 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.4495, allocations: 225 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.4497, allocations: 173.1 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4499, allocations: 17.25 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.45, allocations: 95.64 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4502, allocations: 61.38 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.4502, allocations: 16.34 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.4503, allocations: 27.73 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.4503, allocations: 13.58 kB / 0.7219 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.4504, allocations: 61.44 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.4507, allocations: 154.8 kB / 0.7221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4507, allocations: 0 / 0.7221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4507, allocations: 1.344 kB / 0.7221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4508, allocations: 0 / 0.7221 GB, free: 21.8 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.0006053/0.4514, allocations: 368 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4514, allocations: 12.28 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.4515, allocations: 12.61 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.958e-05/0.4516, allocations: 110.8 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4516, allocations: 10.91 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.4516, allocations: 13.84 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4518, allocations: 51.11 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4518, allocations: 5.219 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4518, allocations: 3.938 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4518, allocations: 1.031 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.4519, allocations: 18.62 kB / 0.7227 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.4524, allocations: 267.6 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.4524, allocations: 34.78 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.4525, allocations: 15.98 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.4525, allocations: 1.125 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4527, allocations: 99.56 kB / 0.7231 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.4527, allocations: 0 / 0.7231 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002645/0.4529, allocations: 126.1 kB / 0.7232 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.453, allocations: 58.56 kB / 0.7233 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.453, allocations: 124.8 kB / 0.7234 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4531, allocations: 31.53 kB / 0.7234 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.4531, allocations: 90.52 kB / 0.7235 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.4531, allocations: 21.27 kB / 0.7235 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.4532, allocations: 54.56 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.4532, allocations: 323.7 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4534, allocations: 126.3 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4535, allocations: 165.3 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4536, allocations: 196.5 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4536, allocations: 1.219 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000323/0.4539, allocations: 348.8 kB / 0.7247 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.454, allocations: 68.05 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.454, allocations: 1.688 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.454, allocations: 2.625 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.822e-05/0.454, allocations: 5.312 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4541, allocations: 6.281 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4543, allocations: 48.69 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4543, allocations: 16.97 kB / 0.7248 GB, free: 19.49 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.487e-05/0.4544, allocations: 137.9 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.4544, allocations: 7.828 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.4544, allocations: 11.44 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4544, allocations: 5.094 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4544, allocations: 3.984 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4544, allocations: 1.891 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.4546, allocations: 296.4 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4546, allocations: 0.6562 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.4546, allocations: 1.938 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4546, allocations: 1.344 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4546, allocations: 5.938 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4546, allocations: 0.6562 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4546, allocations: 1.031 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4548, allocations: 207 kB / 0.7255 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.4548, allocations: 7.234 kB / 0.7255 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4548, allocations: 6.469 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.4548, allocations: 1.781 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.4549, allocations: 13.17 kB / 0.7255 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4549, allocations: 8.781 kB / 0.7255 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.4549, allocations: 96.52 kB / 0.7256 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4549, allocations: 3.938 kB / 0.7256 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001999/0.4551, allocations: 28.66 kB / 0.7256 GB, free: 18.81 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.0001123/0.4552, allocations: 106.5 kB / 0.7257 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4555, allocations: 288.8 kB / 0.726 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4555, allocations: 4.688 kB / 0.726 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.4555, allocations: 27.33 kB / 0.726 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.4557, allocations: 24.33 kB / 0.7261 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.456, allocations: 169.3 kB / 0.7262 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.4561, allocations: 84.88 kB / 0.7263 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.4561, allocations: 6.547 kB / 0.7263 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.4561, allocations: 13.38 kB / 0.7263 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4561, allocations: 3.938 kB / 0.7263 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.003985/0.4601, allocations: 2.135 MB / 0.7284 GB, free: 17.98 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.234040851006284] Failed to read output from testmodel.py, exit status != 0: 0.4656739329220727 0.47409915299999994 0.021519396 Calling exit ...