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.0009643/0.0009643, allocations: 100.4 kB / 19.7 MB, free: 448 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.0009651/0.0009651, allocations: 210.4 kB / 22.99 MB, free: 2.977 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.9965/0.9965, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.03716/0.03716, allocations: 12.2 MB / 325.4 MB, free: 6.105 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.0005797/0.0005797, allocations: 31.94 kB / 384.8 MB, free: 10.53 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.819/1.819, allocations: 353.9 MB / 0.7794 GB, free: 4.613 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.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.001515/0.001515, allocations: 123.4 kB / 1.061 GB, free: 24.54 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3061, allocations: 134.9 MB / 1.193 GB, free: 7.062 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002209/0.3083, allocations: 0.713 MB / 1.194 GB, free: 6.352 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3098, allocations: 1.203 MB / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.3099, allocations: 4 kB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.31, allocations: 3.938 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3101, allocations: 15.88 kB / 1.195 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.3107, allocations: 134.1 kB / 1.195 GB, free: 4.984 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3109, allocations: 131.7 kB / 1.195 GB, free: 4.855 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.311, allocations: 16.19 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3112, allocations: 43.91 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3113, allocations: 47.8 kB / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3113, allocations: 16 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.3114, allocations: 31.98 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.3114, allocations: 15.98 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.3115, allocations: 39.84 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3117, allocations: 131.5 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3117, allocations: 0 / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3117, allocations: 0 / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3117, allocations: 4 kB / 1.195 GB, free: 4.512 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006917/0.3124, allocations: 339.7 kB / 1.196 GB, free: 4.145 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.3125, allocations: 12.03 kB / 1.196 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3126, allocations: 20.83 kB / 1.196 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3128, allocations: 118.4 kB / 1.196 GB, free: 3.973 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3128, allocations: 8.359 kB / 1.196 GB, free: 3.965 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3128, allocations: 4.375 kB / 1.196 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.313, allocations: 74.22 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.313, allocations: 3.938 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.313, allocations: 0 / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.313, allocations: 4 kB / 1.196 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3132, allocations: 51.89 kB / 1.196 GB, free: 3.824 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.3137, allocations: 268.4 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3139, allocations: 58.58 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.3139, allocations: 28.97 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.314, allocations: 3.984 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.3142, allocations: 83.38 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.3142, allocations: 4 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003551/0.3145, allocations: 153.5 kB / 1.197 GB, free: 3.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3146, allocations: 55.41 kB / 1.197 GB, free: 3.109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.3147, allocations: 125.8 kB / 1.197 GB, free: 2.977 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3147, allocations: 29.7 kB / 1.197 GB, free: 2.941 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3148, allocations: 96.08 kB / 1.197 GB, free: 2.844 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3148, allocations: 23.83 kB / 1.197 GB, free: 2.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.3149, allocations: 37.7 kB / 1.197 GB, free: 2.777 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.315, allocations: 326.8 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3151, allocations: 85.66 kB / 1.197 GB, free: 2.359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3152, allocations: 120.8 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3154, allocations: 158.7 kB / 1.198 GB, free: 2.039 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3154, allocations: 4 kB / 1.198 GB, free: 2.035 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000313/0.3158, allocations: 236.8 kB / 1.198 GB, free: 1.785 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.3158, allocations: 43.72 kB / 1.198 GB, free: 1.738 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3158, allocations: 0 / 1.198 GB, free: 1.738 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3158, allocations: 7.938 kB / 1.198 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.3159, allocations: 16.14 kB / 1.198 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3159, allocations: 4 kB / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.316, allocations: 31.92 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3161, allocations: 12.3 kB / 1.198 GB, free: 1.668 MB / 0.823 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 9.99e-05/0.3162, allocations: 131.3 kB / 1.198 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.3162, allocations: 3.953 kB / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.3164, allocations: 130 kB / 1.198 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3164, allocations: 4 kB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3164, allocations: 48 / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3164, allocations: 3.984 kB / 1.198 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3167, allocations: 326 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3167, allocations: 0 / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.3168, allocations: 7.984 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3168, allocations: 4 kB / 1.198 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3168, allocations: 0 / 1.198 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3168, allocations: 4 kB / 1.198 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3168, allocations: 4 kB / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.317, allocations: 227.3 kB / 1.199 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.317, allocations: 7.953 kB / 1.199 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.317, allocations: 0 / 1.199 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.3171, allocations: 7.984 kB / 1.199 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.3171, allocations: 11.98 kB / 1.199 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3171, allocations: 0 / 1.199 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.3172, allocations: 99.2 kB / 1.199 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.3172, allocations: 4 kB / 1.199 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00019/0.3174, allocations: 20 kB / 1.199 GB, free: 0.6211 MB / 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: 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.000173/0.3175, allocations: 107.2 kB / 1.199 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.3179, allocations: 189 kB / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3179, allocations: 0 / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.3179, allocations: 44.22 kB / 1.199 GB, free: 268 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3182, allocations: 15.98 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3186, allocations: 196.8 kB / 1.199 GB, free: 24 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.3187, allocations: 87.2 kB / 1.199 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3188, allocations: 11.44 kB / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of SimCode: time 7.82e-07/0.3188, allocations: 0 / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of Templates: time 0.003027/0.3218, allocations: 1.321 MB / 1.201 GB, free: 14.6 MB / 0.8387 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: 8.371419483795762] Failed to read output from testmodel.py, exit status != 0: 0.32918338384479284 0.33903455599999993 0.025304682000000002 Calling exit ...