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.00145/0.00145, 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.001655/0.001655, allocations: 211.8 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 1.085/1.085, 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.03646/0.03646, allocations: 12.18 MB / 325.4 MB, free: 6.07 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.0004769/0.0004769, allocations: 31.94 kB / 384.8 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.785/1.785, allocations: 353.8 MB / 0.7794 GB, free: 4.562 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.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: 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.001547/0.001547, allocations: 120.6 kB / 1.061 GB, free: 24.38 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2897, allocations: 134.9 MB / 1.193 GB, free: 7.055 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001822/0.2915, allocations: 0.6087 MB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.2925, allocations: 0.8475 MB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.2925, allocations: 0 / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.2926, allocations: 0 / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.2927, allocations: 3.938 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2929, allocations: 15.92 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.491e-05/0.2929, allocations: 23.98 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2931, allocations: 4 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.2932, allocations: 11.98 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.2932, allocations: 19.92 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2932, allocations: 0 / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.2933, allocations: 4 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2933, allocations: 11.92 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.2933, allocations: 7.938 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2934, allocations: 27.89 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2934, allocations: 3.938 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2934, allocations: 0 / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.2934, allocations: 3.984 kB / 1.194 GB, free: 5.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004752/0.2939, allocations: 262.3 kB / 1.195 GB, free: 5.164 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.294, allocations: 12.03 kB / 1.195 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.294, allocations: 4.891 kB / 1.195 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.904e-05/0.2941, allocations: 106.5 kB / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2941, allocations: 384 / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.2941, allocations: 384 / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2943, allocations: 54.23 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2943, allocations: 192 / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2943, allocations: 7.938 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2943, allocations: 0 / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2944, allocations: 47.89 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.2948, allocations: 192.6 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2949, allocations: 38.55 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.295, allocations: 20.91 kB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.295, allocations: 3.938 kB / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.295, allocations: 38.56 kB / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.295, allocations: 0 / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002671/0.2953, allocations: 93.53 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2953, allocations: 51.41 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.2954, allocations: 101.8 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2954, allocations: 29.7 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2954, allocations: 84.14 kB / 1.196 GB, free: 4.176 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2955, allocations: 0 / 1.196 GB, free: 4.176 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2955, allocations: 17.7 kB / 1.196 GB, free: 4.152 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2957, allocations: 314.8 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.2958, allocations: 16.11 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.2958, allocations: 23.97 kB / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.2959, allocations: 40.77 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2959, allocations: 0 / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.296, allocations: 77.61 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2961, allocations: 8.031 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2961, allocations: 0 / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2961, allocations: 4 kB / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.2962, allocations: 11.92 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2962, allocations: 0 / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.2962, allocations: 7.984 kB / 1.196 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.2962, allocations: 0 / 1.196 GB, free: 3.641 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: 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 7.252e-05/0.2963, allocations: 109.8 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2963, allocations: 7.875 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.2963, allocations: 15.31 kB / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2963, allocations: 0 / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2963, allocations: 0 / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2963, allocations: 3.984 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.2964, allocations: 101.3 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2964, allocations: 3.938 kB / 1.196 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.2965, allocations: 11.98 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2965, allocations: 3.938 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2965, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.2965, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2965, allocations: 4 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2966, allocations: 167.5 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.2967, allocations: 11.83 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2967, allocations: 0 / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.2967, allocations: 8 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.2968, allocations: 11.98 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2968, allocations: 0 / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.2968, allocations: 83.27 kB / 1.197 GB, free: 3.051 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2968, allocations: 4.031 kB / 1.197 GB, free: 3.047 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000141/0.297, allocations: 4 kB / 1.197 GB, free: 3.043 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: 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.0001033/0.2971, allocations: 95.19 kB / 1.197 GB, free: 2.938 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.2972, allocations: 47.95 kB / 1.197 GB, free: 2.891 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2972, allocations: 0 / 1.197 GB, free: 2.891 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.2973, allocations: 15.98 kB / 1.197 GB, free: 2.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2975, allocations: 12.12 kB / 1.197 GB, free: 2.863 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.2979, allocations: 131.2 kB / 1.197 GB, free: 2.703 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.2979, allocations: 63.34 kB / 1.197 GB, free: 2.621 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.298, allocations: 7.438 kB / 1.197 GB, free: 2.613 MB / 0.823 GB Notification: Performance of SimCode: time 9.02e-07/0.298, allocations: 3.938 kB / 1.197 GB, free: 2.609 MB / 0.823 GB Notification: Performance of Templates: time 0.001958/0.2999, allocations: 0.6237 MB / 1.198 GB, free: 1.992 MB / 0.823 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: 7.851123822852969] Failed to read output from testmodel.py, exit status != 0: 0.30749910697340965 0.31896463399999997 0.022889512 Calling exit ...