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.04273/0.04273, allocations: 9.132 MB / 28.99 MB, free: 0.8086 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.0007468/0.0007468, allocations: 94.64 kB / 35.33 MB, free: 1.066 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.0009904/0.0009904, allocations: 169 kB / 38.73 MB, free: 2.48 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.9733/0.9733, 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.003845/0.003845, allocations: 0.8251 MB / 276.5 MB, free: 0.75 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.617/1.617, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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 1.563e-06/1.563e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.665e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001344/0.001361, allocations: 0.728 MB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002564, allocations: 1.268 MB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.002601, allocations: 8 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.002626, allocations: 3.938 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.00269, allocations: 7.875 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.003095, allocations: 211.4 kB / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.003276, allocations: 187.6 kB / 0.6403 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.003356, allocations: 4 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.003467, allocations: 99.91 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.003574, allocations: 55.84 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.0036, allocations: 16 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.003675, allocations: 31.92 kB / 0.6405 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.003698, allocations: 11.98 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.003751, allocations: 55.89 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.003904, allocations: 131.7 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003906, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003907, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.00391, allocations: 0 / 0.6406 GB, free: 11.27 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.000318/0.004228, allocations: 339.8 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004262, allocations: 15.98 kB / 0.641 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.004295, allocations: 12.92 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.008e-05/0.004365, allocations: 129.6 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.00438, allocations: 4.375 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.0044, allocations: 16.36 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.512e-05/0.004465, allocations: 54.94 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.004472, allocations: 3.938 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-06/0.004478, allocations: 0 / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.004482, allocations: 0 / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.286e-05/0.004495, allocations: 8 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.004752, allocations: 180.2 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.00481, allocations: 34.56 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-06/0.00482, allocations: 8.859 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-06/0.004823, allocations: 4 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.542e-05/0.004908, allocations: 87.3 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.00491, allocations: 0 / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001165/0.005026, allocations: 81.94 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.005056, allocations: 59.34 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.005115, allocations: 118.7 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.005142, allocations: 37.69 kB / 0.6418 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.005182, allocations: 100.3 kB / 0.6419 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.005196, allocations: 15.89 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.005254, allocations: 45.67 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.005327, allocations: 322.8 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.005398, allocations: 95.38 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.005484, allocations: 149.3 kB / 0.6425 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.005593, allocations: 165.2 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.005596, allocations: 4 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001949/0.005791, allocations: 268.2 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.005827, allocations: 67.39 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.005835, allocations: 7.984 kB / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.005844, allocations: 0 / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.005879, allocations: 11.94 kB / 0.643 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005883, allocations: 4 kB / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.006014, allocations: 44.02 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.006034, allocations: 15.98 kB / 0.643 GB, free: 8.52 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.018e-05/0.006104, allocations: 121.8 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.006116, allocations: 11.92 kB / 0.6432 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.006136, allocations: 12.44 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006138, allocations: 3.938 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006139, allocations: 0 / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.006143, allocations: 3.984 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006282, allocations: 214.9 kB / 0.6434 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006284, allocations: 7.875 kB / 0.6434 GB, free: 8.113 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.006291, allocations: 3.984 kB / 0.6434 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006293, allocations: 4 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006298, allocations: 4 kB / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.006299, allocations: 0 / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0063, allocations: 0 / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.905e-05/0.006379, allocations: 159.5 kB / 0.6436 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.006387, allocations: 15.88 kB / 0.6436 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006397, allocations: 0 / 0.6436 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.00643, allocations: 8 kB / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.006449, allocations: 7.984 kB / 0.6436 GB, free: 7.898 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.006459, allocations: 4 kB / 0.6436 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.57e-05/0.006475, allocations: 16.84 kB / 0.6436 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006475, allocations: 0 / 0.6436 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000154/0.006629, allocations: 35.94 kB / 0.6437 GB, free: 7.84 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.564e-05/0.006714, allocations: 88.34 kB / 0.6437 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.007102, allocations: 267.1 kB / 0.644 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.007106, allocations: 8.062 kB / 0.644 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.00713, allocations: 20.84 kB / 0.644 GB, free: 7.414 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.007273, allocations: 27.92 kB / 0.644 GB, free: 7.387 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.007493, allocations: 156.9 kB / 0.6442 GB, free: 7.207 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.969e-05/0.007522, allocations: 63.36 kB / 0.6443 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.00754, allocations: 5.016 kB / 0.6443 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.007632, allocations: 83.34 kB / 0.6443 GB, free: 7.039 MB / 0.6043 GB Notification: Performance of SimCode: time 4.71e-07/0.007632, allocations: 4 kB / 0.6443 GB, free: 7.035 MB / 0.6043 GB Notification: Performance of Templates: time 0.003275/0.01091, allocations: 2.302 MB / 0.6466 GB, free: 4.727 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2642573192715645]