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.04289/0.04289, allocations: 9.132 MB / 28.99 MB, free: 408 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.0008836/0.0008836, allocations: 98.58 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.00121/0.00121, allocations: 164.2 kB / 38.73 MB, free: 2.371 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.962/0.962, allocations: 177.2 MB / 219.2 MB, free: 10.07 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.003913/0.003913, allocations: 0.8293 MB / 276.5 MB, free: 0.6953 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.746/1.746, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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 3.216e-06/3.216e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.778e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001715/0.001743, allocations: 0.6745 MB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.00588, allocations: 0.8741 MB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.005915, allocations: 0 / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.00594, allocations: 0 / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.006009, allocations: 7.938 kB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.006144, allocations: 15.92 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.006211, allocations: 23.92 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.006286, allocations: 11.97 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.006366, allocations: 15.98 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.00641, allocations: 11.92 kB / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.006427, allocations: 4 kB / 0.6395 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.006435, allocations: 4 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.006453, allocations: 8 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.006469, allocations: 4 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.6e-05/0.006545, allocations: 19.95 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006548, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.233e-06/0.006549, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006554, allocations: 7.875 kB / 0.6395 GB, free: 12.45 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.000319/0.006873, allocations: 233 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.006911, allocations: 11.98 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.006939, allocations: 0.9375 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.007032, allocations: 121.7 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.00705, allocations: 384 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.007061, allocations: 4.375 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.007199, allocations: 54.94 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.007206, allocations: 192 / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.007214, allocations: 384 / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007219, allocations: 384 / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.007246, allocations: 7.938 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.007496, allocations: 152.2 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.007552, allocations: 26.58 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.007568, allocations: 4.859 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.007584, allocations: 8.094 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.007608, allocations: 30.56 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.007609, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.007749, allocations: 41.64 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.007781, allocations: 55.34 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.00785, allocations: 110.7 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007862, allocations: 25.7 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.007894, allocations: 80.14 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.007915, allocations: 8.078 kB / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.00795, allocations: 21.7 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.008046, allocations: 314.8 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.008063, allocations: 4 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.008075, allocations: 4 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.008111, allocations: 12.84 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008113, allocations: 0 / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.773e-05/0.00818, allocations: 41.64 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.008193, allocations: 4.094 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008198, allocations: 4 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.008215, allocations: 8 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.008306, allocations: 11.92 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.00831, allocations: 3.984 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.008336, allocations: 7.938 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.008341, allocations: 0 / 0.6409 GB, free: 10.9 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 6.614e-05/0.008407, allocations: 109.8 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.008427, allocations: 4 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.008445, allocations: 3.312 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008447, allocations: 4 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.00845, allocations: 3.938 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008453, allocations: 0 / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.008571, allocations: 65.89 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008573, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.008622, allocations: 12.19 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008625, allocations: 3.938 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.00863, allocations: 0 / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008632, allocations: 0 / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.008635, allocations: 3.984 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.008759, allocations: 143.5 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.008766, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.008776, allocations: 3.984 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.008835, allocations: 4 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.008877, allocations: 7.984 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008881, allocations: 4 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.428e-05/0.008895, allocations: 8.797 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.008895, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001865/0.009082, allocations: 4 kB / 0.6412 GB, free: 10.48 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.0001025/0.009184, allocations: 80.45 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.009263, allocations: 20.78 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.009267, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.009289, allocations: 8.859 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.009476, allocations: 11.94 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.009767, allocations: 100.7 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.009811, allocations: 59.34 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.009838, allocations: 4.125 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.009896, allocations: 55.38 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of SimCode: time 1.323e-06/0.009898, allocations: 0 / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of Templates: time 0.003175/0.01307, allocations: 0.6422 MB / 0.6422 GB, free: 9.441 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4537925738841295]