Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.002183/0.002183, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002547/0.002547, allocations: 220.1 kB / 22.24 MB, free: 5.109 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.805 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.0616/0.0616, allocations: 12.19 MB / 324.6 MB, free: 7.086 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.0008038/0.0008038, allocations: 27.34 kB / 384.1 MB, free: 47.54 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.915/2.915, allocations: 353.9 MB / 0.7787 GB, free: 1.812 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.003598/0.003598, allocations: 126 kB / 1.06 GB, free: 12.63 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2929, allocations: 134.9 MB / 1.192 GB, free: 5.828 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002583/0.2955, allocations: 0.7147 MB / 1.193 GB, free: 5.117 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2974, allocations: 1.203 MB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.2975, allocations: 4 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.2975, allocations: 3.938 kB / 1.194 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.2976, allocations: 11.88 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.2982, allocations: 142.7 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.2985, allocations: 127.7 kB / 1.194 GB, free: 3.621 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2986, allocations: 12.19 kB / 1.194 GB, free: 3.605 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2988, allocations: 55.83 kB / 1.194 GB, free: 3.551 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2989, allocations: 43.81 kB / 1.194 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.2989, allocations: 12 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.299, allocations: 31.98 kB / 1.194 GB, free: 3.465 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.299, allocations: 15.98 kB / 1.194 GB, free: 3.449 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.2991, allocations: 39.84 kB / 1.195 GB, free: 3.41 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2993, allocations: 127.5 kB / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2994, allocations: 0 / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2994, allocations: 0 / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2994, allocations: 0 / 1.195 GB, free: 3.285 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007522/0.3001, allocations: 351.6 kB / 1.195 GB, free: 2.906 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3002, allocations: 11.98 kB / 1.195 GB, free: 2.895 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3003, allocations: 16.89 kB / 1.195 GB, free: 2.879 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3004, allocations: 122.4 kB / 1.195 GB, free: 2.734 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3004, allocations: 4.375 kB / 1.195 GB, free: 2.73 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.3005, allocations: 12.36 kB / 1.195 GB, free: 2.719 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3007, allocations: 74.22 kB / 1.195 GB, free: 2.641 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3007, allocations: 7.875 kB / 1.195 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3008, allocations: 0 / 1.195 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3008, allocations: 0 / 1.195 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.301, allocations: 51.95 kB / 1.195 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.3015, allocations: 264.4 kB / 1.196 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3017, allocations: 58.58 kB / 1.196 GB, free: 2.227 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3018, allocations: 24.97 kB / 1.196 GB, free: 2.199 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3019, allocations: 0 / 1.196 GB, free: 2.199 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.3021, allocations: 87.36 kB / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3021, allocations: 4 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.000492/0.3026, allocations: 157.5 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.3027, allocations: 51.41 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3028, allocations: 121.3 kB / 1.196 GB, free: 1.75 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.3028, allocations: 33.69 kB / 1.196 GB, free: 1.711 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3029, allocations: 96.09 kB / 1.196 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3029, allocations: 15.84 kB / 1.196 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.303, allocations: 45.69 kB / 1.196 GB, free: 1.547 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3032, allocations: 326.8 kB / 1.196 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.3034, allocations: 85.66 kB / 1.197 GB, free: 1.129 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.3036, allocations: 126.7 kB / 1.197 GB, free: 0.9805 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.3039, allocations: 158.7 kB / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3039, allocations: 0 / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005141/0.3044, allocations: 240.8 kB / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.3045, allocations: 41.69 kB / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3045, allocations: 320 / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3045, allocations: 0 / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3046, allocations: 16.14 kB / 1.197 GB, free: 496 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3046, allocations: 8 kB / 1.197 GB, free: 488 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3048, allocations: 31.92 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3048, allocations: 11.97 kB / 1.197 GB, free: 444 kB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001232/0.305, allocations: 129.7 kB / 1.197 GB, free: 304 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.305, allocations: 7.953 kB / 1.197 GB, free: 296 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.3053, allocations: 133.9 kB / 1.197 GB, free: 152 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3053, allocations: 0 / 1.197 GB, free: 152 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3053, allocations: 0 / 1.197 GB, free: 152 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3053, allocations: 0 / 1.197 GB, free: 152 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.3058, allocations: 322.1 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3058, allocations: 48 / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.3059, allocations: 15.97 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3059, allocations: 0 / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3059, allocations: 0 / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3059, allocations: 8 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3059, allocations: 0 / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3062, allocations: 223.3 kB / 1.198 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.3063, allocations: 3.953 kB / 1.198 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3063, allocations: 8 kB / 1.198 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.3064, allocations: 7.984 kB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3064, allocations: 7.984 kB / 1.198 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3064, allocations: 4 kB / 1.198 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.3065, allocations: 95.2 kB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3065, allocations: 4 kB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002825/0.3068, allocations: 23.94 kB / 1.198 GB, free: 15.39 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0001578/0.307, allocations: 107.2 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3074, allocations: 185 kB / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3074, allocations: 0 / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3075, allocations: 48.22 kB / 1.198 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3078, allocations: 13.81 kB / 1.198 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.3083, allocations: 179.1 kB / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.3084, allocations: 83.02 kB / 1.199 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.3084, allocations: 4 kB / 1.199 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.3084, allocations: 15.44 kB / 1.199 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3084, allocations: 0 / 1.199 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.005025/0.3135, allocations: 1.603 MB / 1.2 GB, free: 13.13 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.117520071566105] Failed to read output from testmodel.py, exit status != 0: 0.3219316489994526 0.33788902899999995 0.035282637000000006 Calling exit ...