Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.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.04095/0.04095, allocations: 9.13 MB / 28.99 MB, free: 424 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.0007831/0.0007831, allocations: 94.53 kB / 35.33 MB, free: 0.9297 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.001031/0.001031, allocations: 162.9 kB / 38.73 MB, free: 2.398 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.09 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.004093/0.004093, allocations: 0.8267 MB / 276.5 MB, free: 0.7188 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.626/1.626, 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.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.261e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Round): time 0.001129/0.001141, allocations: 0.7612 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.001873, allocations: 0.882 MB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.001905, allocations: 4 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.001926, allocations: 7.875 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.00199, allocations: 11.86 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.002093, allocations: 31.89 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.002165, allocations: 67.84 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.002235, allocations: 23.83 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.00231, allocations: 39.91 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.002357, allocations: 35.88 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.002377, allocations: 12 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.002386, allocations: 4 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002404, allocations: 15.98 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.002429, allocations: 19.92 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.002503, allocations: 59.73 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-06/0.002504, allocations: 0 / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002504, allocations: 0 / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.002508, allocations: 0 / 0.6398 GB, free: 12.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002723/0.00278, allocations: 260.8 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.002807, allocations: 15.98 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.002832, allocations: 16.92 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.882e-05/0.002901, allocations: 121.6 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.002917, allocations: 4.375 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.002928, allocations: 12.31 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003033, allocations: 78.84 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.003038, allocations: 192 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.003045, allocations: 384 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003049, allocations: 384 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.003082, allocations: 19.92 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.003292, allocations: 188.2 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.003364, allocations: 46.48 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.003391, allocations: 12.86 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.003402, allocations: 0 / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.00342, allocations: 34.56 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.003421, allocations: 0 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001152/0.003536, allocations: 61.61 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.003564, allocations: 59.34 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.003622, allocations: 122.7 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.003633, allocations: 29.7 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.003665, allocations: 100.2 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.003685, allocations: 19.78 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.003711, allocations: 21.7 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.003785, allocations: 318.8 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.003801, allocations: 7.984 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.003815, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.003857, allocations: 21.22 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00386, allocations: 8 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.899e-05/0.003919, allocations: 53.67 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.003928, allocations: 11.88 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.003931, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.00394, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.004004, allocations: 15.98 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004007, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.004033, allocations: 7.953 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.004038, allocations: 0 / 0.6414 GB, free: 10.27 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 (6): * Single equations (assignments): 6 * 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.155e-05/0.00409, allocations: 109.8 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.004107, allocations: 11.98 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.004125, allocations: 16.38 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004128, allocations: 3.984 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.00413, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004132, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.004223, allocations: 89.84 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004223, allocations: 0 / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.004256, allocations: 8 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.004258, allocations: 4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004263, allocations: 3.984 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004265, allocations: 3.938 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.004267, allocations: 7.938 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.004348, allocations: 147.5 kB / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.004357, allocations: 7.953 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.004365, allocations: 0 / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.004404, allocations: 0 / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.004442, allocations: 23.91 kB / 0.6419 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.004446, allocations: 4.125 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.591e-05/0.004462, allocations: 24.78 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004462, allocations: 0 / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001131/0.004575, allocations: 8 kB / 0.6419 GB, free: 9.754 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 (6): * Single equations (assignments): 6 * 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.019e-05/0.004636, allocations: 88.36 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.0047, allocations: 32.77 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.004702, allocations: 0 / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.004732, allocations: 20.84 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.004849, allocations: 12 kB / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.005082, allocations: 160.2 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.00511, allocations: 67.34 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.00514, allocations: 7.984 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.005196, allocations: 59.38 kB / 0.6423 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of SimCode: time 4.91e-07/0.005197, allocations: 0 / 0.6423 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of Templates: time 0.00237/0.007567, allocations: 1.397 MB / 0.6437 GB, free: 7.859 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.230748048052192]