Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0388/0.0388, allocations: 9.132 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008274/0.0008274, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 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.0009277/0.0009277, allocations: 164.7 kB / 38.73 MB, free: 2.516 MB / 24.77 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.9222/0.9222, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003779/0.003779, allocations: 0.8181 MB / 276.5 MB, free: 0.7578 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.587/1.587, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 4 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.661e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001139/0.001156, allocations: 0.6848 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002366, allocations: 1.267 MB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.0024, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.002424, allocations: 3.938 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.002491, allocations: 19.86 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.002946, allocations: 215.4 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.00312, allocations: 175.7 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.003189, allocations: 4 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003302, allocations: 107.8 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.003403, allocations: 47.91 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.003429, allocations: 16 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.003489, allocations: 39.92 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.003511, allocations: 7.938 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.003563, allocations: 51.94 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.003725, allocations: 139.6 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003727, allocations: 0 / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003727, allocations: 0 / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003731, allocations: 0 / 0.6405 GB, free: 11.35 MB / 0.6043 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.000357/0.004088, allocations: 335.8 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.004119, allocations: 11.98 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.004155, allocations: 12.92 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.004226, allocations: 121.7 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004243, allocations: 8.375 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.004264, allocations: 12.38 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.004335, allocations: 58.88 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.004342, allocations: 3.938 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004348, allocations: 0 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004353, allocations: 3.938 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.23e-05/0.004365, allocations: 7.984 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004625, allocations: 192.3 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.004681, allocations: 22.58 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.004692, allocations: 16.8 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.004695, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.266e-05/0.004788, allocations: 91.36 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.004788, allocations: 0 / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001235/0.004912, allocations: 85.81 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.004941, allocations: 51.41 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.005003, allocations: 126.7 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.005025, allocations: 33.7 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.005064, allocations: 88.33 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.005078, allocations: 19.89 kB / 0.6418 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.005135, allocations: 53.66 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.005204, allocations: 314.8 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.005274, allocations: 99.38 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.005357, allocations: 153.3 kB / 0.6424 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.005462, allocations: 161.3 kB / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005464, allocations: 0 / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000188/0.005652, allocations: 284.2 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.005686, allocations: 67.39 kB / 0.6429 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005692, allocations: 4 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005702, allocations: 0 / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.005736, allocations: 4 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005741, allocations: 7.938 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.005875, allocations: 47.84 kB / 0.6429 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.005893, allocations: 12.16 kB / 0.6429 GB, free: 8.602 MB / 0.6043 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.037e-05/0.005963, allocations: 125.8 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.005972, allocations: 11.88 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.005993, allocations: 8.438 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.005998, allocations: 4 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005999, allocations: 0 / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006004, allocations: 3.984 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.006144, allocations: 210.8 kB / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006146, allocations: 3.938 kB / 0.6433 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/0.006153, allocations: 15.98 kB / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006155, allocations: 0 / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.006158, allocations: 0 / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006159, allocations: 0 / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00616, allocations: 0 / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.376e-05/0.006234, allocations: 159.5 kB / 0.6435 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.006241, allocations: 11.88 kB / 0.6435 GB, free: 8.004 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.006255, allocations: 8 kB / 0.6435 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.006283, allocations: 0 / 0.6435 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.006304, allocations: 7.984 kB / 0.6435 GB, free: 7.988 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.006312, allocations: 4 kB / 0.6435 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.00633, allocations: 32.77 kB / 0.6435 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00633, allocations: 0 / 0.6435 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001515/0.006481, allocations: 31.94 kB / 0.6436 GB, free: 7.918 MB / 0.6043 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 8.89e-05/0.00657, allocations: 88.41 kB / 0.6436 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.006767, allocations: 259 kB / 0.6439 GB, free: 7.531 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006769, allocations: 0 / 0.6439 GB, free: 7.531 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.006797, allocations: 32.77 kB / 0.6439 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.006934, allocations: 24.38 kB / 0.6439 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.007153, allocations: 149 kB / 0.6441 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.007186, allocations: 63.36 kB / 0.6441 GB, free: 7.219 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.007204, allocations: 4.734 kB / 0.6442 GB, free: 7.215 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.007298, allocations: 87.34 kB / 0.6442 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.007299, allocations: 3.938 kB / 0.6442 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of Templates: time 0.003287/0.01059, allocations: 2.314 MB / 0.6465 GB, free: 4.809 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.371459931135178]