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.048/0.048, allocations: 9.135 MB / 28.99 MB, free: 392 kB / 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.0008839/0.0008839, allocations: 98.64 kB / 35.33 MB, free: 0.9023 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.001074/0.001074, allocations: 160.3 kB / 38.73 MB, free: 2.387 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.9733/0.9733, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.01176/0.01176, allocations: 0.8303 MB / 276.5 MB, free: 0.7188 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.706/1.706, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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 1.923e-06/1.923e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.492e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001657/0.001682, allocations: 0.8068 MB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003048, allocations: 1.232 MB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.003098, allocations: 4 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.003129, allocations: 7.875 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.003203, allocations: 7.938 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.003615, allocations: 139.5 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.003775, allocations: 131.7 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.003869, allocations: 20.16 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003982, allocations: 67.89 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.004065, allocations: 39.92 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004087, allocations: 12 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.00417, allocations: 23.94 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.004194, allocations: 23.91 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.004233, allocations: 35.91 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.004385, allocations: 111.7 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004387, allocations: 0 / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004389, allocations: 0 / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004393, allocations: 4 kB / 0.6405 GB, free: 11.44 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.0003925/0.004785, allocations: 314 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004819, allocations: 11.98 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.00491, allocations: 28.86 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.466e-05/0.004995, allocations: 113.7 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005007, allocations: 4.375 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.005023, allocations: 12.36 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.005126, allocations: 66.88 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.005132, allocations: 192 / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.005142, allocations: 8.375 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.005148, allocations: 8.125 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.005177, allocations: 15.97 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.005467, allocations: 192.1 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.005536, allocations: 38.55 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.005551, allocations: 8.859 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.005564, allocations: 4 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.374e-05/0.005658, allocations: 71.3 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.005659, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.000124/0.005783, allocations: 77.83 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.005813, allocations: 51.41 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.005879, allocations: 126.6 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.005901, allocations: 33.7 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.005938, allocations: 88.09 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.005958, allocations: 19.88 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.006007, allocations: 37.69 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.006085, allocations: 322.8 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.006138, allocations: 49.69 kB / 0.6421 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.006201, allocations: 94.77 kB / 0.6422 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.006287, allocations: 110.8 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.00629, allocations: 4 kB / 0.6423 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.006441, allocations: 172.8 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.00647, allocations: 33.7 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.006477, allocations: 8 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.006486, allocations: 4.156 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.006557, allocations: 19.92 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006562, allocations: 4 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.006645, allocations: 31.86 kB / 0.6426 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.006659, allocations: 4 kB / 0.6426 GB, free: 9.059 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 6.89e-05/0.006728, allocations: 117.8 kB / 0.6427 GB, free: 8.934 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.006741, allocations: 15.92 kB / 0.6427 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.006829, allocations: 66.05 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006831, allocations: 4 kB / 0.6427 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006833, allocations: 0 / 0.6427 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006836, allocations: 0 / 0.6427 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.006977, allocations: 210.8 kB / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.006979, allocations: 0 / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.007012, allocations: 11.94 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.007015, allocations: 0 / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.00702, allocations: 3.938 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.007022, allocations: 3.984 kB / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007023, allocations: 3.938 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.089e-05/0.007104, allocations: 163.5 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.007112, allocations: 7.891 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.007123, allocations: 4 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.007157, allocations: 0 / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.007186, allocations: 11.98 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.00719, allocations: 0 / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.007208, allocations: 20.83 kB / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007208, allocations: 0 / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001586/0.007367, allocations: 23.94 kB / 0.6432 GB, free: 8.344 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 9.725e-05/0.007464, allocations: 96.34 kB / 0.6433 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.007609, allocations: 145.9 kB / 0.6434 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.007612, allocations: 0 / 0.6434 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.007642, allocations: 24.83 kB / 0.6434 GB, free: 8.051 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.007789, allocations: 20.62 kB / 0.6435 GB, free: 8.031 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.008192, allocations: 185 kB / 0.6436 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.008226, allocations: 55.36 kB / 0.6437 GB, free: 7.75 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.008252, allocations: 7.984 kB / 0.6437 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.008332, allocations: 71.34 kB / 0.6438 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of SimCode: time 9.21e-07/0.008333, allocations: 0 / 0.6438 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of Templates: time 0.003173/0.01151, allocations: 1.651 MB / 0.6454 GB, free: 6.023 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.27686556102708]