Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.05724/0.05724, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.0008387/0.0008387, allocations: 98.3 kB / 35.33 MB, free: 1.066 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.001098/0.001098, allocations: 163.4 kB / 38.73 MB, free: 2.5 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.9554/0.9554, 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.004052/0.004052, allocations: 0.8217 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.607/1.607, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.976e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001943/0.001963, allocations: 0.7029 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.003307, allocations: 0.8508 MB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.003354, allocations: 0 / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.003388, allocations: 7.922 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.003467, allocations: 3.938 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.003539, allocations: 19.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.003631, allocations: 43.84 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.003723, allocations: 11.98 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.003829, allocations: 23.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.003876, allocations: 11.98 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.0039, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.003908, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.003931, allocations: 11.92 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.003955, allocations: 8 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.79e-05/0.004043, allocations: 35.83 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004047, allocations: 3.984 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004047, allocations: 4 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.00405, allocations: 0 / 0.6396 GB, free: 12.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003459/0.004396, allocations: 252.9 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.004435, allocations: 11.98 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.004463, allocations: 4.938 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.221e-05/0.004555, allocations: 109.8 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004566, allocations: 4.312 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.00458, allocations: 8.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004712, allocations: 58.94 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.004723, allocations: 8.172 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004731, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.004738, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.004767, allocations: 15.92 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.005001, allocations: 156.2 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.005064, allocations: 26.58 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.005089, allocations: 12.86 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.005097, allocations: 0 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.005121, allocations: 30.56 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005122, allocations: 0 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.005255, allocations: 53.66 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.00529, allocations: 51.41 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.005359, allocations: 118.7 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.00537, allocations: 25.7 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.005408, allocations: 92.11 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.005429, allocations: 11.91 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.005461, allocations: 9.719 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.005565, allocations: 318.8 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.005579, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.005594, allocations: 7.984 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.005627, allocations: 20.78 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005629, allocations: 4 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.622e-05/0.005695, allocations: 41.62 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.005709, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005713, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.005729, allocations: 3.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.005808, allocations: 11.98 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005811, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.005843, allocations: 15.98 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005848, allocations: 0 / 0.641 GB, free: 10.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.773e-05/0.005906, allocations: 109.8 kB / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.005928, allocations: 4 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.00595, allocations: 8 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.005953, allocations: 3.938 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005956, allocations: 4 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005959, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.00608, allocations: 70.22 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006081, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.006116, allocations: 11.98 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006117, allocations: 0 / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.006122, allocations: 0 / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.006125, allocations: 8 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006126, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.006229, allocations: 147.4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.006236, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.006245, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.006307, allocations: 11.98 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.006345, allocations: 7.984 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.006349, allocations: 3.938 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.502e-05/0.006364, allocations: 8.859 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.006365, allocations: 0 / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002113/0.006576, allocations: 15.95 kB / 0.6414 GB, free: 10.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.26e-05/0.006658, allocations: 76.42 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.00673, allocations: 20.78 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006731, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.006753, allocations: 12.86 kB / 0.6415 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.006935, allocations: 7.938 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.007191, allocations: 136.3 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.007228, allocations: 59.3 kB / 0.6417 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.007256, allocations: 7.984 kB / 0.6417 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.007312, allocations: 51.38 kB / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of SimCode: time 6.01e-07/0.007312, allocations: 0 / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of Templates: time 0.002533/0.009845, allocations: 0.6764 MB / 0.6425 GB, free: 9.117 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.31608120771125]