Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.05014/0.05014, allocations: 9.127 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.0008998/0.0008998, allocations: 87.28 kB / 35.32 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.001072/0.001072, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.012/1.012, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.006388/0.006388, allocations: 0.8221 MB / 276.5 MB, free: 0.7148 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.713/1.713, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.466e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.00184/0.001865, allocations: 0.819 MB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.007131/0.008996, allocations: 0.9014 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.009044, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.009082, allocations: 7.922 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.009169, allocations: 11.88 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.009334, allocations: 51.81 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.009441, allocations: 79.77 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.009532, allocations: 27.91 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.009638, allocations: 51.89 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.00971, allocations: 35.95 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.009733, allocations: 8 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.009746, allocations: 8 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.009774, allocations: 23.91 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.009803, allocations: 23.92 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.009915, allocations: 71.7 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.009919, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00992, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.009923, allocations: 0 / 0.64 GB, free: 11.92 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003762/0.0103, allocations: 280.7 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01033, allocations: 15.98 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.01037, allocations: 12.92 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.01046, allocations: 121.6 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.01048, allocations: 8.375 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.01049, allocations: 8.312 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.01066, allocations: 86.89 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.01066, allocations: 3.938 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.01067, allocations: 4 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.01068, allocations: 0 / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.01073, allocations: 31.92 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.01409, allocations: 200.1 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.01437, allocations: 62.48 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.0144, allocations: 16.84 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01442, allocations: 11.97 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.01444, allocations: 34.56 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.01445, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001665/0.01461, allocations: 73.59 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.01464, allocations: 51.41 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.01471, allocations: 126.7 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.01473, allocations: 25.7 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.01476, allocations: 92.09 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.01479, allocations: 23.78 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.01483, allocations: 21.7 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.01492, allocations: 322.8 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.01494, allocations: 4 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.01497, allocations: 15.98 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.01502, allocations: 28.83 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01503, allocations: 3.938 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.01513, allocations: 61.61 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01514, allocations: 7.906 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01515, allocations: 0 / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01516, allocations: 0 / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.01526, allocations: 23.97 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.01526, allocations: 4 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.01531, allocations: 12 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01531, allocations: 3.984 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.542e-05/0.01538, allocations: 113.8 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.01541, allocations: 11.94 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.01553, allocations: 74.02 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01553, allocations: 0 / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.01553, allocations: 0 / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.01553, allocations: 0 / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.01567, allocations: 93.77 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01567, allocations: 0 / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.743e-05/0.01574, allocations: 27.97 kB / 0.642 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01575, allocations: 3.938 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.01575, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01575, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01576, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.01588, allocations: 155.5 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.01589, allocations: 7.938 kB / 0.6421 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.0159, allocations: 3.984 kB / 0.6421 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.01597, allocations: 12 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.01603, allocations: 23.97 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.01604, allocations: 0 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.01606, allocations: 20.83 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01606, allocations: 0 / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001924/0.01625, allocations: 19.95 kB / 0.6422 GB, free: 9.391 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: 3 (max1.y,reaToInt.y,reaToInt1.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): 7 * 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 9.088e-05/0.01634, allocations: 80.41 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.01644, allocations: 33.48 kB / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01644, allocations: 4 kB / 0.6423 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/0.01649, allocations: 28.84 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01667, allocations: 16.3 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.02002, allocations: 172.9 kB / 0.6425 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.02006, allocations: 59.34 kB / 0.6426 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.02011, allocations: 15.94 kB / 0.6426 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.02021, allocations: 67.36 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of SimCode: time 6.41e-07/0.02021, allocations: 0 / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of Templates: time 0.006742/0.02695, allocations: 1.694 MB / 0.6443 GB, free: 7.164 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.447426932863891]