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.001083/0.001083, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001184/0.001184, allocations: 181 kB / 23.36 MB, free: 1.133 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.9417/0.9417, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-545:108: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-545:116: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.7694/0.7694, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.6562 kB / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.528e-05, allocations: 8.703 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001176/0.001191, allocations: 0.6741 MB / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002356, allocations: 1.256 MB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.002395, allocations: 0.6875 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.00242, allocations: 4 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.002486, allocations: 10.61 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.002936, allocations: 223.3 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.003111, allocations: 178.2 kB / 482.3 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.003178, allocations: 13.92 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003295, allocations: 95.22 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.003439, allocations: 57.48 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.003474, allocations: 16 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.003534, allocations: 27.98 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003556, allocations: 18.3 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.003603, allocations: 51.94 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.003746, allocations: 135.6 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003747, allocations: 1.156 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.003747, allocations: 0 / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.00375, allocations: 0 / 482.8 MB, free: 4.168 MB / 442.7 MB 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.0003178/0.004068, allocations: 333.2 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.004101, allocations: 8.031 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.004138, allocations: 20.86 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.004213, allocations: 125.7 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.004229, allocations: 4.375 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.004249, allocations: 9.469 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.004355, allocations: 58.94 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.004364, allocations: 3.938 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.00437, allocations: 0.5312 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004376, allocations: 2.344 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.004391, allocations: 11.98 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.004655, allocations: 181.4 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.00472, allocations: 26.56 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.004733, allocations: 10.36 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.004737, allocations: 4.094 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.781e-05/0.004825, allocations: 87.28 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.004826, allocations: 2.094 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.00013/0.004956, allocations: 81.59 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.004987, allocations: 59.41 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.005051, allocations: 130.5 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.005073, allocations: 29.7 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.005114, allocations: 92.36 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.005126, allocations: 20.73 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.005187, allocations: 53.66 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.005263, allocations: 319.7 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.005333, allocations: 95.38 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.005416, allocations: 141.4 kB / 484.6 MB, free: 2.098 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.005521, allocations: 175.4 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005522, allocations: 0.625 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001916/0.005714, allocations: 269.5 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.005751, allocations: 67.39 kB / 485.1 MB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005757, allocations: 4.625 kB / 485.1 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.005769, allocations: 0.8125 kB / 485.1 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.005803, allocations: 11.94 kB / 485.1 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005806, allocations: 1.781 kB / 485.1 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.005936, allocations: 47.91 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.005953, allocations: 8 kB / 485.2 MB, free: 1.453 MB / 442.7 MB 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.857e-05/0.006022, allocations: 127.4 kB / 485.3 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.006033, allocations: 13.02 kB / 485.3 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.00605, allocations: 8.438 kB / 485.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006052, allocations: 0.625 kB / 485.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006055, allocations: 3.984 kB / 485.3 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006059, allocations: 2.188 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.006204, allocations: 218.7 kB / 485.6 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.006207, allocations: 7.922 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-06/0.006211, allocations: 0 / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006212, allocations: 0 / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006217, allocations: 1.469 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.00622, allocations: 8 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006221, allocations: 3.938 kB / 485.6 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.0063, allocations: 167.4 kB / 485.7 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.006309, allocations: 18.73 kB / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.00632, allocations: 0 / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.006347, allocations: 0 / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.006369, allocations: 11.98 kB / 485.8 MB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.006376, allocations: 0 / 485.8 MB, free: 0.832 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.006392, allocations: 16.84 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006392, allocations: 0.75 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.00654, allocations: 32 kB / 485.8 MB, free: 0.7812 MB / 442.7 MB 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 8.809e-05/0.006628, allocations: 90.39 kB / 485.9 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.006817, allocations: 270 kB / 486.2 MB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.00682, allocations: 0 / 486.2 MB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.006845, allocations: 28.78 kB / 486.2 MB, free: 364 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.006983, allocations: 22.89 kB / 486.2 MB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.007196, allocations: 154.8 kB / 486.4 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.007227, allocations: 59.34 kB / 486.4 MB, free: 84 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.69e-05/0.007244, allocations: 5.391 kB / 486.4 MB, free: 80 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.007333, allocations: 79.94 kB / 486.5 MB, free: 0 / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007333, allocations: 0 / 486.5 MB, free: 0 / 442.7 MB Notification: Performance of Templates: time 0.003754/0.01109, allocations: 2.291 MB / 488.8 MB, free: 13.88 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6046793409623206]