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/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.04092/0.04092, allocations: 9.13 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001318/0.001318, allocations: 101.9 kB / 35.34 MB, free: 1.074 MB / 24.77 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.001144/0.001144, allocations: 167.7 kB / 38.73 MB, free: 2.484 MB / 24.77 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.976/0.976, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006103/0.006103, allocations: 0.8254 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.644/1.644, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.731e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002075/0.002103, allocations: 0.7596 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.00388, allocations: 1.229 MB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.003936, allocations: 4 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.003973, allocations: 3.938 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.004073, allocations: 19.84 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.004595, allocations: 135.6 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.004795, allocations: 127.7 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004909, allocations: 16.17 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.005057, allocations: 71.88 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005165, allocations: 43.81 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.005197, allocations: 15.94 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.005283, allocations: 31.91 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.005312, allocations: 12 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.00537, allocations: 39.89 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005564, allocations: 107.7 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005568, allocations: 0 / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005569, allocations: 0 / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005574, allocations: 0 / 0.6404 GB, free: 11.55 MB / 0.6043 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.0004939/0.006068, allocations: 310 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.00611, allocations: 11.98 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.006247, allocations: 28.8 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.006353, allocations: 121.7 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.006371, allocations: 4.375 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.006394, allocations: 8.375 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.006542, allocations: 66.92 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006552, allocations: 4.188 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.006562, allocations: 8.312 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006569, allocations: 8.062 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.871e-05/0.006608, allocations: 12 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.006995, allocations: 188.2 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.007082, allocations: 34.59 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.007106, allocations: 12.98 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.007123, allocations: 4 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.007248, allocations: 79.28 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 2.295e-06/0.00725, allocations: 0 / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001744/0.007424, allocations: 77.59 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.007464, allocations: 51.41 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.00756, allocations: 118.7 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.007586, allocations: 29.7 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.007639, allocations: 100.1 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.007662, allocations: 15.84 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.007734, allocations: 37.69 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.00783, allocations: 322.8 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.007906, allocations: 53.69 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.007999, allocations: 94.81 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.008132, allocations: 106.7 kB / 0.6422 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.008136, allocations: 4 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002412/0.008378, allocations: 173 kB / 0.6424 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.008422, allocations: 33.73 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.008432, allocations: 7.984 kB / 0.6424 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.008449, allocations: 48 / 0.6424 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.008557, allocations: 19.98 kB / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.008566, allocations: 7.938 kB / 0.6424 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.008694, allocations: 31.92 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.008714, allocations: 7.938 kB / 0.6425 GB, free: 9.16 MB / 0.6043 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.891e-05/0.008813, allocations: 129.8 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.008831, allocations: 7.938 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.008967, allocations: 62.11 kB / 0.6427 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.00897, allocations: 0 / 0.6427 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.008972, allocations: 3.938 kB / 0.6427 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.008977, allocations: 0 / 0.6427 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.009207, allocations: 214.8 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.00921, allocations: 0 / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.009267, allocations: 11.92 kB / 0.6429 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.009271, allocations: 0 / 0.6429 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.00928, allocations: 4 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.009283, allocations: 4 kB / 0.6429 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009284, allocations: 0 / 0.6429 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.009415, allocations: 155.5 kB / 0.643 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.00943, allocations: 15.83 kB / 0.643 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.009445, allocations: 0 / 0.643 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.009518, allocations: 7.984 kB / 0.643 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.009556, allocations: 3.984 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.009566, allocations: 8 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.009592, allocations: 16.84 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1e-07/0.009592, allocations: 0 / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002699/0.009862, allocations: 23.98 kB / 0.6431 GB, free: 8.445 MB / 0.6043 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.0001786/0.01004, allocations: 84.55 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01026, allocations: 157.8 kB / 0.6433 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.01027, allocations: 7.938 kB / 0.6433 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.01031, allocations: 16.86 kB / 0.6434 GB, free: 8.152 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01055, allocations: 19.92 kB / 0.6434 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.01123, allocations: 181.8 kB / 0.6435 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.01129, allocations: 63.34 kB / 0.6436 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.01133, allocations: 7.938 kB / 0.6436 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.01144, allocations: 67.36 kB / 0.6437 GB, free: 7.773 MB / 0.6043 GB Notification: Performance of SimCode: time 7.42e-07/0.01144, allocations: 0 / 0.6437 GB, free: 7.773 MB / 0.6043 GB Notification: Performance of Templates: time 0.005483/0.01693, allocations: 1.651 MB / 0.6453 GB, free: 6.125 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.309780430048704]