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/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.001103/0.001103, allocations: 100.4 kB / 19.7 MB, free: 452 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.001022/0.001022, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.9887/0.9887, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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.03613/0.03613, allocations: 12.18 MB / 325.4 MB, free: 6.086 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005465/0.0005465, allocations: 31.94 kB / 384.9 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.766/1.766, allocations: 353.9 MB / 0.7794 GB, free: 4.543 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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(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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001551/0.001551, allocations: 124 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3035, allocations: 134.9 MB / 1.193 GB, free: 6.977 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001862/0.3054, allocations: 0.6508 MB / 1.194 GB, free: 6.328 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3068, allocations: 1.239 MB / 1.195 GB, free: 5.078 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.3069, allocations: 4 kB / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.3069, allocations: 0 / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.307, allocations: 15.86 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.3076, allocations: 221.2 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3079, allocations: 179.6 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.308, allocations: 11.98 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3081, allocations: 75.89 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3082, allocations: 55.84 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.3083, allocations: 16 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.3083, allocations: 23.98 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.3084, allocations: 8 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.3084, allocations: 63.81 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3087, allocations: 155.5 kB / 1.196 GB, free: 4.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3087, allocations: 0 / 1.196 GB, free: 4.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.825e-06/0.3087, allocations: 0 / 1.196 GB, free: 4.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3087, allocations: 0 / 1.196 GB, free: 4.27 MB / 0.823 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.0005713/0.3093, allocations: 369.4 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3093, allocations: 16.03 kB / 1.196 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.3094, allocations: 12.92 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3095, allocations: 118.4 kB / 1.196 GB, free: 3.699 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3095, allocations: 4.375 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3095, allocations: 12.12 kB / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3097, allocations: 57.67 kB / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3097, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3097, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3097, allocations: 3.984 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.3097, allocations: 15.98 kB / 1.196 GB, free: 3.602 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3102, allocations: 276.4 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.3103, allocations: 38.56 kB / 1.196 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.3104, allocations: 12.86 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3104, allocations: 4 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3106, allocations: 95.33 kB / 1.197 GB, free: 3.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3106, allocations: 0 / 1.197 GB, free: 3.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002812/0.3108, allocations: 133.5 kB / 1.197 GB, free: 2.992 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3109, allocations: 51.41 kB / 1.197 GB, free: 2.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.311, allocations: 125.7 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.311, allocations: 33.7 kB / 1.197 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.311, allocations: 96.33 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3111, allocations: 15.89 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.3111, allocations: 53.69 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.3112, allocations: 323.2 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3114, allocations: 123.4 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3115, allocations: 169.3 kB / 1.198 GB, free: 1.926 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3117, allocations: 185.3 kB / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3117, allocations: 3.938 kB / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003309/0.312, allocations: 348.2 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.312, allocations: 67.39 kB / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3121, allocations: 0 / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3121, allocations: 4 kB / 1.198 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.3121, allocations: 11.92 kB / 1.198 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3121, allocations: 0 / 1.198 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3123, allocations: 63.98 kB / 1.198 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3124, allocations: 19.98 kB / 1.198 GB, free: 1.16 MB / 0.823 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 9.551e-05/0.3125, allocations: 122.5 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.3125, allocations: 4 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.3125, allocations: 12.38 kB / 1.198 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3125, allocations: 0 / 1.198 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3125, allocations: 3.938 kB / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3125, allocations: 7.984 kB / 1.198 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.3129, allocations: 302.1 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3129, allocations: 0 / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-06/0.3129, allocations: 7.984 kB / 1.199 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3129, allocations: 4 kB / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3129, allocations: 0 / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3129, allocations: 0 / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3129, allocations: 0 / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.313, allocations: 199.4 kB / 1.199 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.313, allocations: 7.938 kB / 1.199 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3131, allocations: 4 kB / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.3131, allocations: 4 kB / 1.199 GB, free: 440 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3131, allocations: 11.98 kB / 1.199 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3132, allocations: 7.938 kB / 1.199 GB, free: 420 kB / 0.823 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.3132, allocations: 91.45 kB / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3132, allocations: 0 / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001912/0.3134, allocations: 35.94 kB / 1.199 GB, free: 292 kB / 0.823 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.0001591/0.3135, allocations: 107.1 kB / 1.199 GB, free: 176 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.3139, allocations: 298.3 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3139, allocations: 0 / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.3139, allocations: 27.94 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3141, allocations: 17.7 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.3145, allocations: 196.2 kB / 1.2 GB, free: 15.58 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.3146, allocations: 75.31 kB / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.3146, allocations: 15.5 kB / 1.2 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of SimCode: time 1.112e-06/0.3146, allocations: 4 kB / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of Templates: time 0.002603/0.3172, allocations: 1.508 MB / 1.201 GB, free: 13.98 MB / 0.8387 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.372953773476183] Failed to read output from testmodel.py, exit status != 0: 0.3243133220821619 0.3321325 0.021694846 Calling exit ...