Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.03958/0.03958, allocations: 9.127 MB / 28.99 MB, free: 332 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.0008602/0.0008602, allocations: 98.36 kB / 35.33 MB, free: 0.9219 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.0009745/0.0009745, allocations: 168.7 kB / 38.73 MB, free: 2.398 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.9194/0.9194, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.003857/0.003857, allocations: 0.8217 MB / 276.5 MB, free: 0.7578 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.549/1.549, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 4 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.392e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00137/0.001383, allocations: 1.014 MB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.002367, allocations: 1.061 MB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.002455, allocations: 7.938 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.00256, allocations: 19.73 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.002609, allocations: 27.73 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.002844, allocations: 79.77 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.002979, allocations: 172.1 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003084, allocations: 57.83 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003188, allocations: 107.8 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.003258, allocations: 55.78 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00328, allocations: 16 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.003322, allocations: 24 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.003352, allocations: 39.83 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.003387, allocations: 47.91 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003526, allocations: 131.4 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003528, allocations: 0 / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003529, allocations: 0 / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.003531, allocations: 0 / 0.6407 GB, free: 11.16 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004109/0.003942, allocations: 384 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.00397, allocations: 11.98 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.004052, allocations: 28.86 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004189, allocations: 154 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.004206, allocations: 16.38 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.00423, allocations: 20.36 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004372, allocations: 148.4 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004378, allocations: 192 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.00439, allocations: 8.125 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004395, allocations: 4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.004444, allocations: 39.97 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.004879, allocations: 327.6 kB / 0.6418 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.00503, allocations: 82.44 kB / 0.6419 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.005067, allocations: 40.83 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.005085, allocations: 11.88 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.337e-05/0.005168, allocations: 109 kB / 0.642 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=19): time 1.002e-06/0.005169, allocations: 0 / 0.642 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19): time 0.0001443/0.005314, allocations: 112.7 kB / 0.6421 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005339, allocations: 63.34 kB / 0.6422 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.005406, allocations: 150.6 kB / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.005423, allocations: 29.7 kB / 0.6424 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.005464, allocations: 120.3 kB / 0.6425 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.0055, allocations: 63.42 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.005541, allocations: 37.69 kB / 0.6426 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.005612, allocations: 326.8 kB / 0.6429 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.005662, allocations: 27.98 kB / 0.6429 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.005701, allocations: 45.67 kB / 0.643 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.005769, allocations: 73.56 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.005772, allocations: 7.938 kB / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000103/0.005875, allocations: 106.3 kB / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.005884, allocations: 4 kB / 0.6431 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005887, allocations: 0 / 0.6431 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005898, allocations: 7.938 kB / 0.6432 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.005985, allocations: 39.91 kB / 0.6432 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.005988, allocations: 0 / 0.6432 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.006033, allocations: 19.89 kB / 0.6432 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006039, allocations: 0 / 0.6432 GB, free: 8.414 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 6.257e-05/0.006102, allocations: 125.9 kB / 0.6433 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.006115, allocations: 8 kB / 0.6433 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.006226, allocations: 114.7 kB / 0.6434 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.006229, allocations: 7.938 kB / 0.6435 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.00623, allocations: 0 / 0.6435 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006233, allocations: 0 / 0.6435 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.006532, allocations: 379.5 kB / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006533, allocations: 0 / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.006609, allocations: 31.92 kB / 0.6438 GB, free: 7.703 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.006615, allocations: 4 kB / 0.6439 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.006627, allocations: 8 kB / 0.6439 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.00663, allocations: 3.984 kB / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.006632, allocations: 7.938 kB / 0.6439 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.006805, allocations: 264.5 kB / 0.6441 GB, free: 7.387 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.006819, allocations: 19.84 kB / 0.6441 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006834, allocations: 8.094 kB / 0.6441 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.00689, allocations: 11.98 kB / 0.6442 GB, free: 7.348 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.006927, allocations: 19.97 kB / 0.6442 GB, free: 7.328 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.006935, allocations: 11.98 kB / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.006962, allocations: 40.89 kB / 0.6442 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006962, allocations: 0 / 0.6442 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001473/0.007109, allocations: 31.95 kB / 0.6443 GB, free: 7.242 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 7.473e-05/0.007184, allocations: 88.3 kB / 0.6443 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.0073, allocations: 92.69 kB / 0.6444 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.007303, allocations: 0 / 0.6444 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.007351, allocations: 53.8 kB / 0.6445 GB, free: 7 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.007508, allocations: 19.98 kB / 0.6445 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.008045, allocations: 362.6 kB / 0.6448 GB, free: 6.582 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.008102, allocations: 76.36 kB / 0.6449 GB, free: 6.48 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.876e-05/0.008161, allocations: 13.48 kB / 0.6449 GB, free: 6.469 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.008237, allocations: 83.3 kB / 0.645 GB, free: 6.387 MB / 0.6043 GB Notification: Performance of SimCode: time 4.51e-07/0.008238, allocations: 0 / 0.645 GB, free: 6.387 MB / 0.6043 GB Notification: Performance of Templates: time 0.003181/0.01142, allocations: 1.851 MB / 0.6468 GB, free: 4.543 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.181387200020254]