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.03996/0.03996, allocations: 9.131 MB / 28.99 MB, free: 0.8242 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.001151/0.001151, allocations: 87.28 kB / 35.33 MB, free: 1.082 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.001432/0.001432, allocations: 164.3 kB / 38.73 MB, free: 2.512 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.9032/0.9032, 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.003756/0.003756, allocations: 0.8224 MB / 276.5 MB, free: 0.7305 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.553/1.553, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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 1.753e-06/1.753e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.325e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.001276/0.001289, allocations: 0.772 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.002125, allocations: 0.9092 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.002163, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.002191, allocations: 11.88 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.002272, allocations: 15.86 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002425, allocations: 39.89 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.00252, allocations: 87.77 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.002602, allocations: 19.91 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.002705, allocations: 55.89 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.002771, allocations: 39.88 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.002795, allocations: 8 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.002807, allocations: 8 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.002832, allocations: 19.97 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.002857, allocations: 23.92 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.745e-05/0.002954, allocations: 71.72 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002956, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002956, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00296, allocations: 0 / 0.6399 GB, free: 12.03 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.0003403/0.0033, allocations: 280.7 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.003334, allocations: 15.98 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.003363, allocations: 4.938 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.003454, allocations: 129.6 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.003475, allocations: 12.31 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.003489, allocations: 4.375 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.003625, allocations: 90.89 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.003633, allocations: 3.938 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.003642, allocations: 4 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003646, allocations: 0 / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.003687, allocations: 15.98 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.003951, allocations: 204.1 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.004159, allocations: 66.47 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.004184, allocations: 16.86 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004197, allocations: 0 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.004212, allocations: 30.56 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 6.62e-07/0.004213, allocations: 4 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001338/0.004347, allocations: 69.81 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.004375, allocations: 55.41 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.004435, allocations: 122.6 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004446, allocations: 29.7 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.004477, allocations: 96.06 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.004498, allocations: 19.8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.004532, allocations: 29.69 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.004608, allocations: 318.8 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.004627, allocations: 8 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.004645, allocations: 8.062 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.004691, allocations: 32.83 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.004694, allocations: 7.875 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.12e-05/0.004765, allocations: 69.59 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004776, allocations: 8 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.00478, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.004791, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.004856, allocations: 15.98 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004858, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.004891, allocations: 7.984 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.004898, allocations: 4 kB / 0.6416 GB, free: 10.12 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 5.55e-05/0.004953, allocations: 113.8 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.004972, allocations: 11.98 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.005066, allocations: 70.03 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005068, allocations: 0 / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005069, allocations: 4 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.005071, allocations: 0 / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.634e-05/0.005168, allocations: 97.75 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005169, allocations: 4 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.005215, allocations: 15.98 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005217, allocations: 3.938 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005222, allocations: 4 kB / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005223, allocations: 0 / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005223, allocations: 0 / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.005316, allocations: 163.5 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.005326, allocations: 11.91 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.005336, allocations: 0 / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.00538, allocations: 8 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.00543, allocations: 19.97 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.005438, allocations: 7.984 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.499e-05/0.005453, allocations: 16.84 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005453, allocations: 4 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001189/0.005571, allocations: 15.95 kB / 0.6421 GB, free: 9.512 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 7.115e-05/0.005643, allocations: 80.41 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.067e-05/0.005723, allocations: 36.78 kB / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.005725, allocations: 3.938 kB / 0.6423 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.005762, allocations: 29.39 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.005897, allocations: 19.98 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.006147, allocations: 165 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.006176, allocations: 67.28 kB / 0.6425 GB, free: 9.055 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.006215, allocations: 8 kB / 0.6425 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.006285, allocations: 67.36 kB / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of SimCode: time 5.01e-07/0.006285, allocations: 0 / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of Templates: time 0.002838/0.009123, allocations: 1.694 MB / 0.6442 GB, free: 7.285 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.269450829830021]