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.001351/0.001351, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001558/0.001558, allocations: 217 kB / 22.25 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.039 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.0644/0.0644, allocations: 12.19 MB / 324.6 MB, free: 7.281 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.001046/0.001046, allocations: 39.06 kB / 384.1 MB, free: 46.61 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.714/2.714, allocations: 353.8 MB / 0.7787 GB, free: 1.078 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.003825/0.003825, allocations: 116.3 kB / 1.06 GB, free: 13.1 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2956, allocations: 134.9 MB / 1.192 GB, free: 6.285 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002697/0.2983, allocations: 0.6074 MB / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3, allocations: 0.863 MB / 1.194 GB, free: 4.805 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3, allocations: 0 / 1.194 GB, free: 4.805 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.3, allocations: 0 / 1.194 GB, free: 4.805 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.3001, allocations: 3.938 kB / 1.194 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3003, allocations: 19.97 kB / 1.194 GB, free: 4.781 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3005, allocations: 31.92 kB / 1.194 GB, free: 4.75 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3006, allocations: 0 / 1.194 GB, free: 4.75 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.3007, allocations: 19.92 kB / 1.194 GB, free: 4.73 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.3008, allocations: 8 kB / 1.194 GB, free: 4.723 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3008, allocations: 0 / 1.194 GB, free: 4.723 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.3008, allocations: 4 kB / 1.194 GB, free: 4.719 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.3008, allocations: 11.97 kB / 1.194 GB, free: 4.707 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.3009, allocations: 7.938 kB / 1.194 GB, free: 4.699 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.301, allocations: 27.84 kB / 1.194 GB, free: 4.672 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.301, allocations: 0 / 1.194 GB, free: 4.672 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.104e-06/0.301, allocations: 0 / 1.194 GB, free: 4.672 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.301, allocations: 4 kB / 1.194 GB, free: 4.668 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.0005956/0.3016, allocations: 258.4 kB / 1.194 GB, free: 4.383 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.3017, allocations: 11.98 kB / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3017, allocations: 8.875 kB / 1.194 GB, free: 4.363 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3019, allocations: 110.5 kB / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3019, allocations: 384 / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3019, allocations: 384 / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3022, allocations: 54.23 kB / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3022, allocations: 192 / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3022, allocations: 7.938 kB / 1.194 GB, free: 4.164 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3022, allocations: 0 / 1.194 GB, free: 4.164 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.3025, allocations: 39.95 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.303, allocations: 227.9 kB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.3032, allocations: 42.5 kB / 1.195 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.3033, allocations: 28.89 kB / 1.195 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3033, allocations: 0 / 1.195 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.3034, allocations: 30.56 kB / 1.195 GB, free: 3.738 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3034, allocations: 0 / 1.195 GB, free: 3.738 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0005319/0.3039, allocations: 97.47 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.304, allocations: 55.41 kB / 1.195 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3041, allocations: 105.8 kB / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3041, allocations: 25.7 kB / 1.195 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3042, allocations: 80.14 kB / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3042, allocations: 0 / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3042, allocations: 17.72 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002702/0.3045, allocations: 319 kB / 1.195 GB, free: 3 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3046, allocations: 19.98 kB / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3047, allocations: 11.98 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.305, allocations: 44.81 kB / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.305, allocations: 0 / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003791/0.3054, allocations: 81.55 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3054, allocations: 8 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3054, allocations: 0 / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3054, allocations: 0 / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3056, allocations: 7.984 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3056, allocations: 4 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.3057, allocations: 7.984 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3057, allocations: 0 / 1.195 GB, free: 2.809 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.0001361/0.3058, allocations: 117.8 kB / 1.196 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3058, allocations: 4 kB / 1.196 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3059, allocations: 3.312 kB / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3059, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3059, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3059, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3062, allocations: 136.6 kB / 1.196 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3062, allocations: 0 / 1.196 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.3063, allocations: 11.98 kB / 1.196 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3063, allocations: 4 kB / 1.196 GB, free: 2.484 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3063, allocations: 8 kB / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3063, allocations: 0 / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3063, allocations: 4 kB / 1.196 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.3068, allocations: 165.2 kB / 1.196 GB, free: 2.297 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.3068, allocations: 7.953 kB / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3068, allocations: 4.031 kB / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.307, allocations: 15.86 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.307, allocations: 7.984 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.307, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.3071, allocations: 83.28 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3071, allocations: 0 / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0003637/0.3075, allocations: 4 kB / 1.196 GB, free: 2.176 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.000147/0.3076, allocations: 95.25 kB / 1.196 GB, free: 2.07 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3079, allocations: 47.89 kB / 1.196 GB, free: 2.023 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3079, allocations: 0 / 1.196 GB, free: 2.023 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.308, allocations: 23.97 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3085, allocations: 7.938 kB / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.309, allocations: 109.7 kB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.3095, allocations: 0.6768 MB / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.3095, allocations: 4 kB / 1.197 GB, free: 1.152 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.3095, allocations: 7.438 kB / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of SimCode: time 4.31e-07/0.3095, allocations: 0 / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of Templates: time 0.004381/0.3139, allocations: 0.6128 MB / 1.198 GB, free: 0.5391 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.235082600265741] Failed to read output from testmodel.py, exit status != 0: 0.3244769386947155 0.351153087 0.044962624 Calling exit ...