Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001306/0.001306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001661/0.001661, allocations: 212.5 kB / 22.24 MB, free: 4.859 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.777 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.06236/0.06236, allocations: 12.19 MB / 324.6 MB, free: 7.066 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.0007702/0.0007702, allocations: 28.02 kB / 384.1 MB, free: 47.61 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.608/2.608, allocations: 353.9 MB / 0.7787 GB, free: 1.594 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.003555/0.003555, allocations: 124 kB / 1.06 GB, free: 12.55 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2978, allocations: 134.9 MB / 1.192 GB, free: 5.758 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002272/0.3, allocations: 0.7209 MB / 1.193 GB, free: 5.043 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3017, allocations: 1.114 MB / 1.194 GB, free: 3.918 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.3018, allocations: 0 / 1.194 GB, free: 3.918 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.3018, allocations: 7.875 kB / 1.194 GB, free: 3.91 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.3019, allocations: 11.92 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.3023, allocations: 54.83 kB / 1.194 GB, free: 3.848 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3024, allocations: 71.77 kB / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3026, allocations: 16.17 kB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.3026, allocations: 35.8 kB / 1.194 GB, free: 3.723 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.3027, allocations: 23.91 kB / 1.194 GB, free: 3.699 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3027, allocations: 4 kB / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.3028, allocations: 27.97 kB / 1.194 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.3028, allocations: 19.92 kB / 1.194 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3029, allocations: 19.88 kB / 1.194 GB, free: 3.629 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3031, allocations: 79.69 kB / 1.194 GB, free: 3.551 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3031, allocations: 3.984 kB / 1.194 GB, free: 3.547 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3031, allocations: 0 / 1.194 GB, free: 3.547 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3031, allocations: 0 / 1.194 GB, free: 3.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006352/0.3037, allocations: 306 kB / 1.195 GB, free: 3.219 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3038, allocations: 11.98 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3038, allocations: 8.891 kB / 1.195 GB, free: 3.199 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.304, allocations: 118.4 kB / 1.195 GB, free: 3.059 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.304, allocations: 4.375 kB / 1.195 GB, free: 3.055 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.304, allocations: 12.36 kB / 1.195 GB, free: 3.043 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3042, allocations: 62.23 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3043, allocations: 3.938 kB / 1.195 GB, free: 2.973 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3043, allocations: 0 / 1.195 GB, free: 2.973 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3043, allocations: 0 / 1.195 GB, free: 2.973 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.3045, allocations: 47.89 kB / 1.195 GB, free: 2.926 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.3051, allocations: 268.3 kB / 1.195 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3053, allocations: 54.53 kB / 1.195 GB, free: 2.57 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3054, allocations: 29 kB / 1.195 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3055, allocations: 7.984 kB / 1.195 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3057, allocations: 71.33 kB / 1.195 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.3057, allocations: 4 kB / 1.195 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.000456/0.3061, allocations: 129.6 kB / 1.195 GB, free: 2.312 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3062, allocations: 55.41 kB / 1.195 GB, free: 2.246 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3063, allocations: 121.8 kB / 1.196 GB, free: 2.117 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3063, allocations: 33.64 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3064, allocations: 96.08 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3064, allocations: 15.89 kB / 1.196 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3065, allocations: 33.64 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3066, allocations: 322.8 kB / 1.196 GB, free: 1.602 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3068, allocations: 31.97 kB / 1.196 GB, free: 1.57 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3069, allocations: 77.38 kB / 1.196 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3072, allocations: 105.9 kB / 1.196 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3072, allocations: 0 / 1.196 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003214/0.3075, allocations: 129.4 kB / 1.196 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3075, allocations: 8 kB / 1.196 GB, free: 1.211 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3075, allocations: 224 / 1.196 GB, free: 1.211 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3075, allocations: 8 kB / 1.196 GB, free: 1.203 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3077, allocations: 19.97 kB / 1.196 GB, free: 1.184 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3077, allocations: 7.938 kB / 1.196 GB, free: 1.176 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.3078, allocations: 11.94 kB / 1.196 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3078, allocations: 4 kB / 1.196 GB, free: 1.16 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001221/0.3079, allocations: 125.8 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.3079, allocations: 3.953 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.3079, allocations: 12.38 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.308, allocations: 4 kB / 1.197 GB, free: 1.004 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.308, allocations: 7.938 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.308, allocations: 0 / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.3084, allocations: 322 kB / 1.197 GB, free: 0.6445 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3084, allocations: 0 / 1.197 GB, free: 0.6445 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.3085, allocations: 7.984 kB / 1.197 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3085, allocations: 0 / 1.197 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3085, allocations: 4 kB / 1.197 GB, free: 0.6328 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3085, allocations: 0 / 1.197 GB, free: 0.6328 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3085, allocations: 0 / 1.197 GB, free: 0.6328 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.3088, allocations: 207.4 kB / 1.197 GB, free: 424 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3089, allocations: 3.953 kB / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3089, allocations: 8 kB / 1.197 GB, free: 412 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.309, allocations: 7.984 kB / 1.197 GB, free: 404 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.309, allocations: 3.984 kB / 1.197 GB, free: 400 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.309, allocations: 7.938 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.564e-05/0.3091, allocations: 91.27 kB / 1.197 GB, free: 300 kB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 0 / 1.197 GB, free: 300 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002774/0.3094, allocations: 23.94 kB / 1.197 GB, free: 276 kB / 0.8263 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001673/0.3095, allocations: 99.25 kB / 1.197 GB, free: 168 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.3098, allocations: 76.28 kB / 1.197 GB, free: 92 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3098, allocations: 4 kB / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.31, allocations: 36.39 kB / 1.197 GB, free: 52 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3102, allocations: 21.8 kB / 1.197 GB, free: 32 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.3107, allocations: 158.1 kB / 1.198 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.3108, allocations: 83.02 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3108, allocations: 4 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3108, allocations: 15.42 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3108, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.0042/0.315, allocations: 1.056 MB / 1.199 GB, free: 14.7 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.458390928804874] Failed to read output from testmodel.py, exit status != 0: 0.32425884902477264 0.338772536 0.032616797 Calling exit ...