Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.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.04657/0.04657, allocations: 9.13 MB / 28.99 MB, free: 412 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.0008472/0.0008472, allocations: 98.64 kB / 35.33 MB, free: 0.9141 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.001059/0.001059, allocations: 163.2 kB / 38.73 MB, free: 2.391 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.9418/0.9418, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.01175/0.01175, allocations: 0.83 MB / 276.5 MB, free: 0.7539 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.767/1.767, allocations: 274.9 MB / 0.5419 GB, free: 0.5781 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.878e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.001389/0.001408, allocations: 0.8152 MB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.002319, allocations: 0.9169 MB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.002362, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.002394, allocations: 7.922 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.002478, allocations: 7.875 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.002618, allocations: 47.83 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.00274, allocations: 83.81 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.002958, allocations: 19.97 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.003054, allocations: 47.91 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.003117, allocations: 43.88 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.003138, allocations: 8 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.003149, allocations: 8 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.003172, allocations: 19.92 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.003198, allocations: 27.91 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.003294, allocations: 67.72 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003296, allocations: 0 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003297, allocations: 0 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.0033, allocations: 0 / 0.64 GB, free: 11.91 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.0003149/0.003615, allocations: 284.6 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.003653, allocations: 15.98 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.003683, allocations: 12.92 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.003763, allocations: 117.7 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.003782, allocations: 8.375 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.003792, allocations: 4.375 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.003931, allocations: 90.83 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.003938, allocations: 3.938 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.003947, allocations: 4 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.003951, allocations: 0 / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.003993, allocations: 23.98 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.004261, allocations: 204.1 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.004471, allocations: 62.47 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.004498, allocations: 20.84 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.004511, allocations: 0 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.004532, allocations: 34.56 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.004532, allocations: 4 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001441/0.004677, allocations: 69.59 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.004702, allocations: 55.41 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.004762, allocations: 122.6 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.004776, allocations: 29.7 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.004812, allocations: 100 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.004832, allocations: 19.8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004868, allocations: 29.69 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.004939, allocations: 318.8 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.004959, allocations: 8 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.004978, allocations: 11.98 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.005026, allocations: 28.84 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.005029, allocations: 3.938 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.388e-05/0.005103, allocations: 57.61 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.005113, allocations: 4 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005117, allocations: 4 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005128, allocations: 0 / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.005203, allocations: 23.97 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005206, allocations: 4 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.005239, allocations: 4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.005247, allocations: 8 kB / 0.6417 GB, free: 9.996 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,add1.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.186e-05/0.005309, allocations: 117.8 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.005329, allocations: 8 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.005351, allocations: 12.44 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005353, allocations: 0 / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.005356, allocations: 0 / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.005358, allocations: 0 / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.00545, allocations: 85.86 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005451, allocations: 4 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.005501, allocations: 23.92 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005504, allocations: 3.938 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.005515, allocations: 7.984 kB / 0.6419 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005515, allocations: 0 / 0.6419 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005516, allocations: 0 / 0.6419 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.005615, allocations: 148.1 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.005626, allocations: 15.83 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-06/0.005636, allocations: 0 / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.005686, allocations: 15.92 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.005738, allocations: 31.95 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.005742, allocations: 0 / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.601e-05/0.005758, allocations: 16.84 kB / 0.6421 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005758, allocations: 3.938 kB / 0.6421 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001264/0.005885, allocations: 19.95 kB / 0.6422 GB, free: 9.445 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 (add1.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 6.294e-05/0.005948, allocations: 72.42 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.687e-05/0.006025, allocations: 40.89 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.006027, allocations: 0 / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.006067, allocations: 36.78 kB / 0.6423 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.006201, allocations: 11.98 kB / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.006451, allocations: 165 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.006488, allocations: 59.34 kB / 0.6425 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.00653, allocations: 15.98 kB / 0.6426 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.006606, allocations: 67.36 kB / 0.6426 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of SimCode: time 5.91e-07/0.006606, allocations: 0 / 0.6426 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of Templates: time 0.00322/0.009826, allocations: 1.701 MB / 0.6443 GB, free: 7.223 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3517175992019475]