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.001683/0.001683, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001875/0.001875, allocations: 210 kB / 22.24 MB, free: 5.262 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.777 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.06396/0.06396, allocations: 12.18 MB / 324.6 MB, free: 7.066 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.0008376/0.0008376, allocations: 32.23 kB / 384.1 MB, free: 47.38 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.601/2.601, allocations: 353.9 MB / 0.7787 GB, free: 1.605 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.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.005983/0.005983, allocations: 119.1 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4095, allocations: 134.9 MB / 1.192 GB, free: 5.809 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002691/0.4122, allocations: 0.6024 MB / 1.193 GB, free: 5.211 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4139, allocations: 0.8474 MB / 1.194 GB, free: 4.352 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.4139, allocations: 4 kB / 1.194 GB, free: 4.348 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.414, allocations: 3.938 kB / 1.194 GB, free: 4.344 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.414, allocations: 3.938 kB / 1.194 GB, free: 4.34 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.4142, allocations: 19.97 kB / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.4143, allocations: 27.92 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4144, allocations: 4 kB / 1.194 GB, free: 4.289 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.4145, allocations: 11.98 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.4146, allocations: 15.92 kB / 1.194 GB, free: 4.262 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.4146, allocations: 7.984 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.4146, allocations: 0 / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.4146, allocations: 4 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.4147, allocations: 7.938 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.4148, allocations: 35.81 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4148, allocations: 0 / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4148, allocations: 4 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4148, allocations: 0 / 1.194 GB, free: 4.203 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000593/0.4154, allocations: 254.4 kB / 1.194 GB, free: 3.922 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4155, allocations: 15.98 kB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.4155, allocations: 4.891 kB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4156, allocations: 110.5 kB / 1.194 GB, free: 3.77 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4157, allocations: 4.312 kB / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4157, allocations: 384 / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4159, allocations: 54.22 kB / 1.194 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.416, allocations: 4.188 kB / 1.194 GB, free: 3.703 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.416, allocations: 7.922 kB / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.416, allocations: 4 kB / 1.194 GB, free: 3.691 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.4163, allocations: 31.97 kB / 1.194 GB, free: 3.66 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.4167, allocations: 196.6 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.417, allocations: 42.48 kB / 1.194 GB, free: 3.387 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.4171, allocations: 28.91 kB / 1.194 GB, free: 3.355 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4172, allocations: 3.938 kB / 1.194 GB, free: 3.352 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4172, allocations: 30.56 kB / 1.194 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.4172, allocations: 0 / 1.194 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.000584/0.4178, allocations: 85.59 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.4179, allocations: 63.33 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.418, allocations: 97.86 kB / 1.195 GB, free: 3.043 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.418, allocations: 25.83 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.4181, allocations: 85.98 kB / 1.195 GB, free: 2.926 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4181, allocations: 8 kB / 1.195 GB, free: 2.918 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.4182, allocations: 17.64 kB / 1.195 GB, free: 2.895 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4184, allocations: 314.8 kB / 1.195 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.4185, allocations: 15.98 kB / 1.195 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4187, allocations: 23.97 kB / 1.195 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4189, allocations: 40.89 kB / 1.195 GB, free: 2.496 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4189, allocations: 0 / 1.195 GB, free: 2.496 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003647/0.4193, allocations: 73.55 kB / 1.195 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4193, allocations: 7.938 kB / 1.195 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4193, allocations: 3.938 kB / 1.195 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4194, allocations: 0 / 1.195 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4195, allocations: 15.98 kB / 1.195 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4195, allocations: 0 / 1.195 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.4196, allocations: 12.02 kB / 1.195 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4196, allocations: 4 kB / 1.195 GB, free: 2.375 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: 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 0.000129/0.4198, allocations: 109.8 kB / 1.195 GB, free: 2.258 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4198, allocations: 3.938 kB / 1.195 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.4198, allocations: 3.312 kB / 1.195 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4198, allocations: 0 / 1.195 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4198, allocations: 7.984 kB / 1.195 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4198, allocations: 0 / 1.195 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.4201, allocations: 105.3 kB / 1.196 GB, free: 2.109 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4201, allocations: 0 / 1.196 GB, free: 2.109 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4202, allocations: 11.98 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4202, allocations: 7.938 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4202, allocations: 0 / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4202, allocations: 0 / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4202, allocations: 0 / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.4206, allocations: 167.4 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.4207, allocations: 11.89 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.4207, allocations: 0 / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4208, allocations: 16.02 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.4209, allocations: 0 / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4209, allocations: 4 kB / 1.196 GB, free: 1.879 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.421, allocations: 87.45 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.1e-07/0.421, allocations: 0 / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0003904/0.4213, allocations: 4 kB / 1.196 GB, free: 1.789 MB / 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: 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.0001486/0.4215, allocations: 91.25 kB / 1.196 GB, free: 1.688 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.4218, allocations: 43.95 kB / 1.196 GB, free: 1.645 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4218, allocations: 0 / 1.196 GB, free: 1.645 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.422, allocations: 23.92 kB / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.4225, allocations: 8.078 kB / 1.196 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.4229, allocations: 113.5 kB / 1.196 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.423, allocations: 63.3 kB / 1.196 GB, free: 1.395 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.423, allocations: 8.109 kB / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.4231, allocations: 15.42 kB / 1.196 GB, free: 1.371 MB / 0.8263 GB Notification: Performance of SimCode: time 4.81e-07/0.4231, allocations: 0 / 1.196 GB, free: 1.371 MB / 0.8263 GB Notification: Performance of Templates: time 0.004523/0.4276, allocations: 0.6292 MB / 1.197 GB, free: 0.7539 MB / 0.8263 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: 8.79538906365633] Failed to read output from testmodel.py, exit status != 0: 0.44102929159998894 0.466057147 0.046240451 Calling exit ...