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.04339/0.04339, allocations: 9.133 MB / 28.99 MB, free: 6.105 MB / 24.77 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.0009728/0.0009728, allocations: 90.66 kB / 35.33 MB, free: 0.7695 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.001359/0.001359, allocations: 166.8 kB / 38.73 MB, free: 2.125 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.063/1.063, 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.004001/0.004001, allocations: 0.83 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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 3.076e-06/3.076e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.585e-05, allocations: 6.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Add): time 0.001494/0.00152, allocations: 0.7539 MB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.002411, allocations: 0.847 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.002449, allocations: 0 / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.002479, allocations: 3.938 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.002561, allocations: 7.875 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 6.661e-05/0.002627, allocations: 15.98 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.002701, allocations: 47.84 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.002782, allocations: 8 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.002868, allocations: 23.97 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.002909, allocations: 15.97 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.002925, allocations: 4 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.002932, allocations: 7.938 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.002948, allocations: 7.984 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.002967, allocations: 8 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.797e-05/0.003045, allocations: 31.84 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003047, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003048, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003052, allocations: 4 kB / 0.6397 GB, free: 12.22 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.0002731/0.003325, allocations: 252.9 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003361, allocations: 11.98 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.003385, allocations: 8.922 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.00346, allocations: 113.7 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.003469, allocations: 4.375 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.003481, allocations: 4.375 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.003595, allocations: 58.94 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003602, allocations: 192 / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003611, allocations: 8.375 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.003615, allocations: 384 / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.003637, allocations: 15.92 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.003838, allocations: 152.2 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.003895, allocations: 30.62 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.003914, allocations: 8.859 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.003921, allocations: 0 / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.003944, allocations: 34.56 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.003945, allocations: 0 / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.004065, allocations: 45.66 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.004096, allocations: 55.41 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.004157, allocations: 122.7 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.004169, allocations: 25.7 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.004203, allocations: 88.08 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.004224, allocations: 11.91 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.004251, allocations: 17.7 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.004336, allocations: 318.8 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.004348, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.004359, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.004387, allocations: 16.84 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004389, allocations: 4 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.066e-05/0.00445, allocations: 41.95 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004462, allocations: 4 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.004468, allocations: 3.984 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.004482, allocations: 7.938 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.004555, allocations: 19.98 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004557, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.004579, allocations: 4 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.004584, allocations: 0 / 0.6411 GB, free: 10.6 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.135e-05/0.004636, allocations: 105.8 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.004653, allocations: 11.98 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.004672, allocations: 8 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.004676, allocations: 3.938 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.004679, allocations: 4 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004681, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.004765, allocations: 69.88 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004766, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.004792, allocations: 8 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004793, allocations: 7.938 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.004799, allocations: 3.984 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004799, allocations: 4 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0048, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.006e-05/0.00489, allocations: 135.5 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.004896, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.004905, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.004941, allocations: 11.98 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.004973, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.004976, allocations: 3.938 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.004993, allocations: 24.77 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004993, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001154/0.005108, allocations: 7.953 kB / 0.6415 GB, free: 10.15 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.525e-05/0.005194, allocations: 80.42 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.005259, allocations: 20.78 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.005265, allocations: 4 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.005282, allocations: 8.859 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.00544, allocations: 4 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.005692, allocations: 136.3 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.005728, allocations: 59.3 kB / 0.6418 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.005749, allocations: 0 / 0.6418 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.005804, allocations: 59.36 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of SimCode: time 1.373e-06/0.005805, allocations: 0 / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of Templates: time 0.002208/0.008014, allocations: 0.6876 MB / 0.6426 GB, free: 9.035 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4117322457022965]