Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008624/0.0008624, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0009232/0.0009232, allocations: 210.9 kB / 23 MB, free: 2.977 MB / 13.93 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.997/0.997, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.03764/0.03764, allocations: 12.19 MB / 325.4 MB, free: 6.074 MB / 250.7 MB " [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.0004856/0.0004856, allocations: 35.94 kB / 384.9 MB, free: 10.49 MB / 314.7 MB " [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.838/1.838, allocations: 353.8 MB / 0.7794 GB, free: 4.625 MB / 0.5105 GB " [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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 119.7 kB / 1.061 GB, free: 24.55 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 134.9 MB / 1.193 GB, free: 7.008 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001632/0.2906, allocations: 0.676 MB / 1.194 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.2915, allocations: 0.8588 MB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.2915, allocations: 3.938 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.2915, allocations: 3.938 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.2916, allocations: 3.938 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2918, allocations: 31.91 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.2919, allocations: 35.98 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.292, allocations: 19.91 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2921, allocations: 23.92 kB / 1.195 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.2922, allocations: 19.92 kB / 1.195 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2922, allocations: 4 kB / 1.195 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.2922, allocations: 7.938 kB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.2923, allocations: 11.92 kB / 1.195 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.2923, allocations: 19.92 kB / 1.195 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.2924, allocations: 55.78 kB / 1.195 GB, free: 5.227 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2924, allocations: 0 / 1.195 GB, free: 5.227 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2924, allocations: 4 kB / 1.195 GB, free: 5.223 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2924, allocations: 0 / 1.195 GB, free: 5.223 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005063/0.2929, allocations: 274.3 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.293, allocations: 8.031 kB / 1.195 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.293, allocations: 12.89 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2931, allocations: 118.4 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2932, allocations: 384 / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2932, allocations: 4.375 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2933, allocations: 65.59 kB / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2933, allocations: 8 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2934, allocations: 7.984 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2934, allocations: 0 / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2935, allocations: 51.89 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.2939, allocations: 232.4 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.294, allocations: 66.52 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.2941, allocations: 24.92 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2941, allocations: 11.98 kB / 1.195 GB, free: 4.254 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2941, allocations: 30.56 kB / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2941, allocations: 0 / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.2944, allocations: 109.6 kB / 1.196 GB, free: 4.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2945, allocations: 51.41 kB / 1.196 GB, free: 4.039 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.2945, allocations: 105.8 kB / 1.196 GB, free: 3.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2946, allocations: 33.7 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2946, allocations: 84.09 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2946, allocations: 11.95 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.2947, allocations: 21.7 kB / 1.196 GB, free: 3.762 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2948, allocations: 318.8 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.2948, allocations: 23.97 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.2949, allocations: 23.97 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.295, allocations: 48.83 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.295, allocations: 0 / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.2951, allocations: 97.53 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2951, allocations: 4 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2951, allocations: 0 / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2952, allocations: 0 / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.2953, allocations: 11.98 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2953, allocations: 0 / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.2953, allocations: 15.86 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.2953, allocations: 4 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.859e-05/0.2954, allocations: 121.8 kB / 1.197 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2954, allocations: 3.984 kB / 1.197 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.2954, allocations: 8 kB / 1.197 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2954, allocations: 0 / 1.197 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2954, allocations: 4 kB / 1.197 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2954, allocations: 0 / 1.197 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2955, allocations: 125.2 kB / 1.197 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2955, allocations: 0 / 1.197 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.2956, allocations: 11.98 kB / 1.197 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2956, allocations: 3.938 kB / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2956, allocations: 8 kB / 1.197 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2956, allocations: 4 kB / 1.197 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2956, allocations: 0 / 1.197 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2958, allocations: 183.8 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.2958, allocations: 7.938 kB / 1.197 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2958, allocations: 4 kB / 1.197 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.2959, allocations: 7.984 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.2959, allocations: 11.98 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2959, allocations: 4 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.296, allocations: 91.28 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.296, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000146/0.2961, allocations: 4 kB / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001092/0.2962, allocations: 99.23 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2964, allocations: 55.89 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2964, allocations: 0 / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.2965, allocations: 31.97 kB / 1.197 GB, free: 2.359 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2967, allocations: 7.938 kB / 1.197 GB, free: 2.352 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.297, allocations: 160.7 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.2971, allocations: 63.34 kB / 1.197 GB, free: 2.082 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.2971, allocations: 15.38 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.2971, allocations: 0 / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of Templates: time 0.002184/0.2993, allocations: 0.8247 MB / 1.198 GB, free: 1.246 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.194731798022985] Failed to read output from testmodel.py, exit status != 0: 0.3057377804070711 0.31463248999999993 0.020123572000000003 Calling exit ...