Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.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.00138/0.00138, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001532/0.001532, allocations: 210.8 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.06721/0.06721, allocations: 12.19 MB / 324.6 MB, free: 7.082 MB / 254.1 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.0007915/0.0007915, allocations: 32.95 kB / 384.1 MB, free: 47.57 MB / 302.1 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 2.685/2.685, allocations: 353.9 MB / 0.7787 GB, free: 1.629 MB / 0.5138 GB " [Timeout remaining time 177] 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max") [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.003824/0.003824, allocations: 119.6 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2875, allocations: 134.9 MB / 1.192 GB, free: 5.785 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Max): time 0.002309/0.2899, allocations: 0.7446 MB / 1.193 GB, free: 5.043 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2912, allocations: 0.8801 MB / 1.194 GB, free: 4.152 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.2913, allocations: 4 kB / 1.194 GB, free: 4.148 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.2913, allocations: 7.875 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.2914, allocations: 15.86 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2916, allocations: 43.95 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.2918, allocations: 87.75 kB / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2919, allocations: 19.98 kB / 1.194 GB, free: 3.977 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.292, allocations: 39.84 kB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.2921, allocations: 39.83 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.2922, allocations: 8 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.2922, allocations: 8 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2922, allocations: 23.91 kB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.2923, allocations: 35.84 kB / 1.194 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2924, allocations: 83.67 kB / 1.194 GB, free: 3.742 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2924, allocations: 0 / 1.194 GB, free: 3.742 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2924, allocations: 7.938 kB / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2924, allocations: 0 / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006899/0.2931, allocations: 314 kB / 1.194 GB, free: 3.398 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2932, allocations: 15.98 kB / 1.194 GB, free: 3.383 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2932, allocations: 8.891 kB / 1.194 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2933, allocations: 118.5 kB / 1.195 GB, free: 3.234 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2934, allocations: 4.375 kB / 1.195 GB, free: 3.23 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.2934, allocations: 8.375 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.2937, allocations: 113.5 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2937, allocations: 0 / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2937, allocations: 4 kB / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2937, allocations: 0 / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.2941, allocations: 107.8 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.2947, allocations: 272.3 kB / 1.195 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.2953, allocations: 118.5 kB / 1.195 GB, free: 2.574 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2955, allocations: 52.81 kB / 1.195 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.2956, allocations: 4 kB / 1.195 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2956, allocations: 30.56 kB / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2956, allocations: 0 / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.000696/0.2963, allocations: 181.5 kB / 1.195 GB, free: 2.293 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2963, allocations: 59.33 kB / 1.196 GB, free: 2.223 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2964, allocations: 120.1 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.2965, allocations: 25.7 kB / 1.196 GB, free: 2.066 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.2965, allocations: 100.1 kB / 1.196 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2966, allocations: 19.8 kB / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.2966, allocations: 29.69 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2968, allocations: 322.8 kB / 1.196 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.297, allocations: 47.94 kB / 1.196 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.2971, allocations: 43.95 kB / 1.196 GB, free: 1.496 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.2975, allocations: 96.78 kB / 1.196 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2975, allocations: 4 kB / 1.196 GB, free: 1.395 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004141/0.2979, allocations: 137.5 kB / 1.196 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2979, allocations: 10.19 kB / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2979, allocations: 0 / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.298, allocations: 0 / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.2981, allocations: 23.97 kB / 1.196 GB, free: 1.223 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2981, allocations: 3.938 kB / 1.196 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2983, allocations: 19.97 kB / 1.196 GB, free: 1.199 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2983, allocations: 15.92 kB / 1.196 GB, free: 1.184 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001025/0.2984, allocations: 117.8 kB / 1.197 GB, free: 1.059 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2984, allocations: 3.953 kB / 1.197 GB, free: 1.055 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.2989, allocations: 158.4 kB / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2989, allocations: 0 / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2989, allocations: 0 / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2989, allocations: 0 / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2991, allocations: 133.2 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2991, allocations: 0 / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.2993, allocations: 23.97 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.2993, allocations: 7.984 kB / 1.197 GB, free: 0.6992 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2993, allocations: 0 / 1.197 GB, free: 0.6992 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2993, allocations: 0 / 1.197 GB, free: 0.6992 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2993, allocations: 80 / 1.197 GB, free: 0.6992 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.2998, allocations: 247.3 kB / 1.197 GB, free: 452 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.2998, allocations: 12.02 kB / 1.197 GB, free: 440 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2998, allocations: 7.938 kB / 1.197 GB, free: 432 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3, allocations: 11.98 kB / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3001, allocations: 23.97 kB / 1.197 GB, free: 396 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3001, allocations: 3.984 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.3001, allocations: 103.3 kB / 1.197 GB, free: 288 kB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3001, allocations: 0 / 1.197 GB, free: 288 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002322/0.3004, allocations: 12 kB / 1.197 GB, free: 276 kB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000113/0.3005, allocations: 95.19 kB / 1.197 GB, free: 172 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.3009, allocations: 107.9 kB / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3009, allocations: 0 / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.3011, allocations: 71.95 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3014, allocations: 4 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.3019, allocations: 178.1 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.3019, allocations: 75.08 kB / 1.198 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.302, allocations: 12 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.3021, allocations: 27.36 kB / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3021, allocations: 0 / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.004742/0.3068, allocations: 1.742 MB / 1.2 GB, free: 13.94 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.46052336320281] Failed to read output from testmodel.py, exit status != 0: 0.3172782398760319 0.342425488 0.044684553 Calling exit ...