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/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.0007113/0.0007113, allocations: 75.69 kB / 20.03 MB, free: 4.496 MB / 18.57 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.0007321/0.0007321, allocations: 169.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8345/0.8345, allocations: 177.1 MB / 203.7 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.04193/0.04193, allocations: 9.118 MB / 269.2 MB, free: 4.438 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004138/0.0004138, allocations: 23.95 kB / 328.7 MB, free: 20.61 MB / 266.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.459/1.459, allocations: 275 MB / 0.6476 GB, free: 2.473 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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 1.833e-06/1.833e-06, allocations: 2.188 kB / 0.9294 GB, free: 8.137 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.566e-05, allocations: 4.953 kB / 0.9294 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001018/0.001034, allocations: 0.6071 MB / 0.93 GB, free: 7.539 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006625/0.001696, allocations: 0.8514 MB / 0.9309 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.001725, allocations: 1.062 kB / 0.9309 GB, free: 6.676 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.001749, allocations: 3.938 kB / 0.9309 GB, free: 6.672 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.001804, allocations: 3.938 kB / 0.9309 GB, free: 6.668 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.001928, allocations: 12.89 kB / 0.9309 GB, free: 6.656 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.001985, allocations: 27.92 kB / 0.9309 GB, free: 6.629 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.002067, allocations: 6.422 kB / 0.9309 GB, free: 6.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.002132, allocations: 23.92 kB / 0.9309 GB, free: 6.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.00217, allocations: 7.984 kB / 0.9309 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.002185, allocations: 0 / 0.9309 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.002192, allocations: 4 kB / 0.9309 GB, free: 6.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.002206, allocations: 4 kB / 0.9309 GB, free: 6.586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.002227, allocations: 9.031 kB / 0.931 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.029e-05/0.002297, allocations: 31.88 kB / 0.931 GB, free: 6.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002299, allocations: 0 / 0.931 GB, free: 6.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.0023, allocations: 1.188 kB / 0.931 GB, free: 6.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.746e-06/0.002302, allocations: 0 / 0.931 GB, free: 6.547 MB / 0.698 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.000307/0.002609, allocations: 262.3 kB / 0.9312 GB, free: 6.258 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.002644, allocations: 12.83 kB / 0.9313 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.002666, allocations: 0.9375 kB / 0.9313 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.711e-05/0.002733, allocations: 109.1 kB / 0.9314 GB, free: 6.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.002751, allocations: 4.375 kB / 0.9314 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.002762, allocations: 384 / 0.9314 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.002875, allocations: 54.22 kB / 0.9314 GB, free: 6.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002882, allocations: 4.188 kB / 0.9314 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.00289, allocations: 384 / 0.9314 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.002893, allocations: 384 / 0.9314 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.002984, allocations: 44.55 kB / 0.9315 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.003217, allocations: 194.2 kB / 0.9316 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.003293, allocations: 42.53 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.00334, allocations: 25.41 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.003353, allocations: 0.8438 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.00337, allocations: 34.5 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003371, allocations: 3.938 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.003586, allocations: 95.69 kB / 0.9318 GB, free: 5.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.003606, allocations: 51.41 kB / 0.9319 GB, free: 5.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.003657, allocations: 98.42 kB / 0.932 GB, free: 5.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.003665, allocations: 26.42 kB / 0.932 GB, free: 5.367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.003696, allocations: 88.12 kB / 0.9321 GB, free: 5.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.003712, allocations: 9.203 kB / 0.9321 GB, free: 5.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.003734, allocations: 17.72 kB / 0.9321 GB, free: 5.246 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.003799, allocations: 310.8 kB / 0.9324 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.003842, allocations: 21.28 kB / 0.9324 GB, free: 4.914 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.003878, allocations: 15.98 kB / 0.9324 GB, free: 4.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.00396, allocations: 45.92 kB / 0.9325 GB, free: 4.852 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.003965, allocations: 0.7188 kB / 0.9325 GB, free: 4.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.004066, allocations: 66.56 kB / 0.9326 GB, free: 4.781 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004077, allocations: 11.48 kB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004081, allocations: 0 / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004092, allocations: 3.938 kB / 0.9326 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.00415, allocations: 8 kB / 0.9326 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.004157, allocations: 3.984 kB / 0.9326 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.00418, allocations: 4.594 kB / 0.9326 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.004186, allocations: 7.984 kB / 0.9326 GB, free: 4.746 MB / 0.698 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 4.659e-05/0.004233, allocations: 115 kB / 0.9327 GB, free: 4.625 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.004246, allocations: 192 / 0.9327 GB, free: 4.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.004259, allocations: 8.016 kB / 0.9327 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.004264, allocations: 11.92 kB / 0.9327 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004265, allocations: 7.375 kB / 0.9327 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.00427, allocations: 3.953 kB / 0.9327 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.004278, allocations: 0 / 0.9327 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.004318, allocations: 7.984 kB / 0.9327 GB, free: 4.594 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.004359, allocations: 8 kB / 0.9328 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001266/0.004485, allocations: 148.9 kB / 0.9329 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.004624, allocations: 246.9 kB / 0.9331 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.075e-05/0.004675, allocations: 23.97 kB / 0.9332 GB, free: 4.152 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.064e-05/0.004696, allocations: 79.28 kB / 0.9332 GB, free: 4.074 MB / 0.698 GB Notification: Performance of Backend: time 1.3e-07/0.004696, allocations: 0 / 0.9332 GB, free: 4.074 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.004932, allocations: 94.38 kB / 0.9333 GB, free: 3.977 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003224/0.005254, allocations: 0.5691 MB / 0.9339 GB, free: 3.359 MB / 0.698 GB Notification: Performance of Templates: time 0.001995/0.007249, allocations: 0.7401 MB / 0.9346 GB, free: 2.637 MB / 0.698 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4090506145730615] Failed to read output from testmodel.py, exit status != 0: 0.011376758106052876 0.018772622000000003 0.014792920000000001 Calling exit ...