Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.05448/0.05448, allocations: 9.128 MB / 28.99 MB, free: 0.8086 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.00113/0.00113, allocations: 90.72 kB / 35.33 MB, free: 1.07 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.00123/0.00123, allocations: 163.6 kB / 38.73 MB, free: 2.504 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 1.007/1.007, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.00399/0.00399, allocations: 0.8225 MB / 276.5 MB, free: 0.7422 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.647/1.647, allocations: 274.9 MB / 0.5419 GB, free: 0.6602 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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.087e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001378/0.001399, allocations: 0.7717 MB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.002692, allocations: 1.267 MB / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.002738, allocations: 0 / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.002765, allocations: 11.88 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.002838, allocations: 3.938 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.003212, allocations: 147.5 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003351, allocations: 111.8 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.003432, allocations: 15.97 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.003539, allocations: 63.89 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.00362, allocations: 35.88 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.00364, allocations: 12 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.003717, allocations: 39.86 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.003737, allocations: 15.97 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.003775, allocations: 31.92 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.003909, allocations: 99.78 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003912, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003912, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.003917, allocations: 0 / 0.6404 GB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003553/0.004272, allocations: 306.1 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004306, allocations: 15.98 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.004395, allocations: 16.86 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.004475, allocations: 113.7 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.004486, allocations: 8.375 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.0045, allocations: 8.359 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004603, allocations: 66.92 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004609, allocations: 192 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004616, allocations: 384 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004621, allocations: 4.375 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.004645, allocations: 7.938 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.004896, allocations: 188.1 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.004952, allocations: 30.56 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.004966, allocations: 12.86 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.004977, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/0.005054, allocations: 71.47 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005055, allocations: 0 / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001185/0.005173, allocations: 69.61 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.005201, allocations: 51.41 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.005259, allocations: 118.7 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.005275, allocations: 29.7 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.005311, allocations: 96.08 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.00533, allocations: 11.89 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.005376, allocations: 41.62 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.005447, allocations: 322.8 kB / 0.6419 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.005495, allocations: 53.69 kB / 0.642 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.005546, allocations: 73.44 kB / 0.6421 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.005622, allocations: 97.02 kB / 0.6422 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.005625, allocations: 0 / 0.6422 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001319/0.005757, allocations: 161 kB / 0.6423 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.005784, allocations: 45.62 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005788, allocations: 4.062 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.005798, allocations: 3.938 kB / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.005856, allocations: 15.94 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005859, allocations: 0 / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.005931, allocations: 23.97 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.005943, allocations: 4 kB / 0.6424 GB, free: 9.254 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.229e-05/0.006005, allocations: 125.8 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.006013, allocations: 4 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078e-05/0.006094, allocations: 73.98 kB / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006096, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.006097, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0061, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.006228, allocations: 210.8 kB / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006229, allocations: 0 / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.006255, allocations: 4 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.00626, allocations: 7.938 kB / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.006269, allocations: 0 / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00627, allocations: 0 / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006272, allocations: 3.984 kB / 0.6428 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.218e-05/0.006344, allocations: 152 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.006354, allocations: 16.02 kB / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.006367, allocations: 7.938 kB / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.006401, allocations: 0 / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.006427, allocations: 7.984 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006431, allocations: 0 / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.792e-05/0.006449, allocations: 28.86 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006449, allocations: 0 / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001376/0.006586, allocations: 20 kB / 0.643 GB, free: 8.547 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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 8.447e-05/0.006671, allocations: 80.42 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.006805, allocations: 149.9 kB / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.006807, allocations: 0 / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.006836, allocations: 28.84 kB / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.006973, allocations: 15.98 kB / 0.6433 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.00733, allocations: 160.5 kB / 0.6434 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.00736, allocations: 59.36 kB / 0.6435 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.007383, allocations: 11.92 kB / 0.6435 GB, free: 7.973 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.007454, allocations: 67.36 kB / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.007454, allocations: 0 / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of Templates: time 0.002849/0.0103, allocations: 1.6 MB / 0.6451 GB, free: 6.309 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.327815813943744]