Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.06535/0.06535, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.0009844/0.0009844, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001155/0.001155, allocations: 168.5 kB / 38.73 MB, free: 2.484 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.9771/0.9771, allocations: 177.2 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.004153/0.004153, allocations: 0.8179 MB / 276.5 MB, free: 0.7461 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.684/1.684, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.399e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001811/0.001835, allocations: 0.6313 MB / 0.6384 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.00302, allocations: 0.8702 MB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.003057, allocations: 0 / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.003089, allocations: 3.938 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.003159, allocations: 3.984 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.003303, allocations: 15.92 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.003381, allocations: 27.92 kB / 0.6393 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.003463, allocations: 11.94 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.003556, allocations: 15.98 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.003607, allocations: 11.98 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003629, allocations: 0 / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.003638, allocations: 7.938 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.003658, allocations: 3.984 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.003678, allocations: 8 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.985e-05/0.003758, allocations: 11.98 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00376, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003761, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003764, allocations: 0 / 0.6394 GB, free: 12.51 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003176/0.004082, allocations: 241 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.004123, allocations: 11.98 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.004158, allocations: 4.938 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.004251, allocations: 113.7 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.00427, allocations: 384 / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004281, allocations: 4.312 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004411, allocations: 58.88 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004418, allocations: 192 / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004427, allocations: 4.375 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004432, allocations: 4.375 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.00446, allocations: 15.91 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.004688, allocations: 148.3 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.004743, allocations: 18.58 kB / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.004761, allocations: 12.86 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.004772, allocations: 0 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.004796, allocations: 34.56 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.004797, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.004944, allocations: 41.69 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.004993, allocations: 59.47 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.005083, allocations: 102.7 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.005098, allocations: 25.7 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.005142, allocations: 88.12 kB / 0.6403 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.005168, allocations: 3.953 kB / 0.6403 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.005208, allocations: 17.72 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.005326, allocations: 314.8 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.005345, allocations: 3.984 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.005359, allocations: 8 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.005397, allocations: 12.92 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.0054, allocations: 4 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.664e-05/0.005476, allocations: 37.69 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.005493, allocations: 4 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005499, allocations: 0 / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.005518, allocations: 0 / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.005624, allocations: 11.92 kB / 0.6407 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.005629, allocations: 3.938 kB / 0.6407 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.005657, allocations: 4 kB / 0.6407 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.005663, allocations: 0 / 0.6407 GB, free: 10.96 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.473e-05/0.005747, allocations: 117.9 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.005768, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.005795, allocations: 7.312 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005798, allocations: 0 / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.005804, allocations: 11.86 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.005808, allocations: 4 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.005936, allocations: 61.91 kB / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005938, allocations: 0 / 0.6409 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.005989, allocations: 11.98 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.005993, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006, allocations: 4 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.006005, allocations: 3.984 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006006, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.006138, allocations: 135.4 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-06/0.006145, allocations: 4 kB / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006156, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.006213, allocations: 0 / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.006269, allocations: 11.98 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.006273, allocations: 0 / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.006291, allocations: 12.8 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.006291, allocations: 4.031 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002155/0.006506, allocations: 4 kB / 0.6411 GB, free: 10.53 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001176/0.006624, allocations: 76.41 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.00671, allocations: 16.84 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.006715, allocations: 4 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.006745, allocations: 16.8 kB / 0.6412 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.00696, allocations: 7.984 kB / 0.6412 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.007309, allocations: 108.8 kB / 0.6413 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.007356, allocations: 51.36 kB / 0.6414 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.007384, allocations: 4 kB / 0.6414 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.007456, allocations: 55.36 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of SimCode: time 1.473e-06/0.007457, allocations: 0 / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of Templates: time 0.0029/0.01036, allocations: 0.6307 MB / 0.6421 GB, free: 9.504 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.498527446296066]