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.001883/0.001883, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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.002473/0.002473, allocations: 216.9 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.714/1.714, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.06464/0.06464, allocations: 12.19 MB / 324.6 MB, free: 7.078 MB / 254.1 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.0008109/0.0008109, allocations: 29.53 kB / 384.1 MB, free: 47.58 MB / 302.1 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 2.533/2.533, allocations: 353.9 MB / 0.7787 GB, free: 1.652 MB / 0.5138 GB " [Timeout remaining time 177] 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.003677/0.003677, allocations: 119.5 kB / 1.06 GB, free: 12.6 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2993, allocations: 134.9 MB / 1.192 GB, free: 5.809 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001852/0.3011, allocations: 0.6609 MB / 1.193 GB, free: 5.152 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3028, allocations: 1.235 MB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.3029, allocations: 3.938 kB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.3029, allocations: 3.938 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.303, allocations: 23.84 kB / 1.194 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.3036, allocations: 213.5 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.3038, allocations: 171.8 kB / 1.194 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.422e-05/0.3039, allocations: 8 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3041, allocations: 75.81 kB / 1.195 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3042, allocations: 59.84 kB / 1.195 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.3042, allocations: 16 kB / 1.195 GB, free: 3.348 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.3043, allocations: 27.98 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3043, allocations: 15.92 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.3044, allocations: 51.89 kB / 1.195 GB, free: 3.254 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3046, allocations: 159.5 kB / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3046, allocations: 0 / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3047, allocations: 0 / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3047, allocations: 0 / 1.195 GB, free: 3.098 MB / 0.8263 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.000589/0.3052, allocations: 373.5 kB / 1.195 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3053, allocations: 11.98 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.3053, allocations: 8.938 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3055, allocations: 110.5 kB / 1.195 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3055, allocations: 4.375 kB / 1.195 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3055, allocations: 12.38 kB / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3057, allocations: 57.55 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3057, allocations: 0 / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3057, allocations: 7.984 kB / 1.195 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3057, allocations: 0 / 1.195 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.3057, allocations: 15.98 kB / 1.195 GB, free: 2.438 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.3063, allocations: 280.4 kB / 1.196 GB, free: 2.133 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.3064, allocations: 38.5 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.3064, allocations: 16.94 kB / 1.196 GB, free: 2.066 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3064, allocations: 0 / 1.196 GB, free: 2.066 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3066, allocations: 91.31 kB / 1.196 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3066, allocations: 0 / 1.196 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of matching and sorting (n=9): time 0.0003063/0.307, allocations: 125.6 kB / 1.196 GB, free: 1.836 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.307, allocations: 63.33 kB / 1.196 GB, free: 1.762 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3071, allocations: 117.7 kB / 1.196 GB, free: 1.637 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3072, allocations: 37.7 kB / 1.196 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.3073, allocations: 108.2 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3073, allocations: 15.91 kB / 1.196 GB, free: 1.465 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3074, allocations: 49.69 kB / 1.196 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3076, allocations: 322.8 kB / 1.197 GB, free: 1.086 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3077, allocations: 123.4 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.308, allocations: 169.4 kB / 1.197 GB, free: 0.7539 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.3082, allocations: 185.3 kB / 1.197 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3082, allocations: 0 / 1.197 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005633/0.3088, allocations: 348.2 kB / 1.197 GB, free: 172 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.3088, allocations: 67.39 kB / 1.197 GB, free: 92 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3089, allocations: 4 kB / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3089, allocations: 0 / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.3089, allocations: 4 kB / 1.197 GB, free: 84 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3089, allocations: 7.938 kB / 1.197 GB, free: 76 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3093, allocations: 63.98 kB / 1.198 GB, free: 12 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3093, allocations: 16.03 kB / 1.198 GB, free: 15.99 MB / 0.8419 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 0.0001299/0.3094, allocations: 122.9 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.3095, allocations: 7.953 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.3095, allocations: 12.69 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3095, allocations: 4 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3095, allocations: 4 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3095, allocations: 0 / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3098, allocations: 310 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3098, allocations: 0 / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.3099, allocations: 0 / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3099, allocations: 0 / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3099, allocations: 7.938 kB / 1.198 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3099, allocations: 3.938 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3099, allocations: 0 / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3101, allocations: 203.3 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3101, allocations: 4 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3101, allocations: 8 kB / 1.198 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.3102, allocations: 8 kB / 1.198 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3102, allocations: 3.984 kB / 1.198 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3102, allocations: 4 kB / 1.198 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.206e-05/0.3103, allocations: 97.61 kB / 1.198 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3103, allocations: 0 / 1.198 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002829/0.3106, allocations: 36 kB / 1.198 GB, free: 15.11 MB / 0.8419 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.0001684/0.3108, allocations: 103.2 kB / 1.198 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.3112, allocations: 298 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3112, allocations: 0 / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.3112, allocations: 27.98 kB / 1.199 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3115, allocations: 16.3 kB / 1.199 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3119, allocations: 170.5 kB / 1.199 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.312, allocations: 79.62 kB / 1.199 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.312, allocations: 8.672 kB / 1.199 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.312, allocations: 11.44 kB / 1.199 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.312, allocations: 0 / 1.199 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.005364/0.3174, allocations: 2.148 MB / 1.201 GB, free: 12.23 MB / 0.8419 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.681341357529163] Failed to read output from testmodel.py, exit status != 0: 0.3255245313048363 0.340638947 0.032849203 Calling exit ...