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.0009122/0.0009122, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0009009/0.0009009, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.9002/0.9002, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.03697/0.03697, allocations: 12.18 MB / 325.4 MB, free: 3.5 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.0004173/0.0004173, allocations: 37.52 kB / 384.9 MB, free: 45.71 MB / 298.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.63/1.63, allocations: 353.8 MB / 0.7795 GB, free: 13.03 MB / 0.5262 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.001395/0.001395, allocations: 118.5 kB / 1.061 GB, free: 9.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2186, allocations: 134.9 MB / 1.193 GB, free: 2.605 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001355/0.22, allocations: 0.6114 MB / 1.194 GB, free: 1.996 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.2207, allocations: 0.8654 MB / 1.194 GB, free: 1.121 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2207, allocations: 0 / 1.194 GB, free: 1.121 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.2207, allocations: 7.875 kB / 1.194 GB, free: 1.113 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.2208, allocations: 0 / 1.194 GB, free: 1.113 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.2209, allocations: 15.92 kB / 1.194 GB, free: 1.098 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.221, allocations: 27.91 kB / 1.194 GB, free: 1.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.2211, allocations: 8 kB / 1.194 GB, free: 1.062 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.2212, allocations: 7.984 kB / 1.194 GB, free: 1.055 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.2212, allocations: 15.92 kB / 1.194 GB, free: 1.039 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2212, allocations: 4 kB / 1.194 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.2212, allocations: 0 / 1.194 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.2213, allocations: 12 kB / 1.194 GB, free: 1.023 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.2213, allocations: 11.92 kB / 1.195 GB, free: 1.012 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.886e-05/0.2214, allocations: 23.89 kB / 1.195 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2214, allocations: 4 kB / 1.195 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2214, allocations: 0 / 1.195 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2214, allocations: 0 / 1.195 GB, free: 0.9844 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.0003449/0.2217, allocations: 264 kB / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2217, allocations: 11.98 kB / 1.195 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.2218, allocations: 8.891 kB / 1.195 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.2219, allocations: 106.5 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2219, allocations: 8.375 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.2219, allocations: 384 / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.222, allocations: 58.16 kB / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.222, allocations: 192 / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.222, allocations: 3.938 kB / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.222, allocations: 0 / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.2221, allocations: 39.95 kB / 1.195 GB, free: 444 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.2224, allocations: 224 kB / 1.195 GB, free: 176 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.2225, allocations: 46.42 kB / 1.195 GB, free: 120 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.2225, allocations: 16.91 kB / 1.195 GB, free: 100 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2225, allocations: 4 kB / 1.195 GB, free: 96 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2226, allocations: 38.56 kB / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.2226, allocations: 0 / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000226/0.2228, allocations: 85.59 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2228, allocations: 55.39 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.2229, allocations: 97.8 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.2229, allocations: 29.83 kB / 1.196 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.2229, allocations: 88.14 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2229, allocations: 7.922 kB / 1.196 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2229, allocations: 17.7 kB / 1.196 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.223, allocations: 314.8 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.223, allocations: 11.98 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.2231, allocations: 23.97 kB / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.2232, allocations: 44.83 kB / 1.196 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2232, allocations: 0 / 1.196 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001058/0.2233, allocations: 77.55 kB / 1.196 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2233, allocations: 4 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2233, allocations: 0 / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2233, allocations: 4 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.2234, allocations: 15.95 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2234, allocations: 0 / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.2234, allocations: 7.984 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2234, allocations: 4 kB / 1.196 GB, free: 15.11 MB / 0.8387 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 5.506e-05/0.2235, allocations: 114.4 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2235, allocations: 0 / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.2235, allocations: 7.312 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2235, allocations: 0 / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2235, allocations: 11.98 kB / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2235, allocations: 0 / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.644e-05/0.2236, allocations: 128.7 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2236, allocations: 0 / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.2236, allocations: 11.98 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.2236, allocations: 0 / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2236, allocations: 0 / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2236, allocations: 0 / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2236, allocations: 0 / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2238, allocations: 171.4 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.2238, allocations: 15.88 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.2238, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.2238, allocations: 4 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2239, allocations: 7.984 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2239, allocations: 7.938 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.2239, allocations: 79.31 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2239, allocations: 4 kB / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000137/0.224, allocations: 4 kB / 1.197 GB, free: 14.49 MB / 0.8387 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 7.587e-05/0.2241, allocations: 99.23 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2242, allocations: 39.95 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2242, allocations: 0 / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.2243, allocations: 27.98 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2245, allocations: 3.938 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.2247, allocations: 131.2 kB / 1.197 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2251, allocations: 0.6768 MB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.2251, allocations: 7.438 kB / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of SimCode: time 4.61e-07/0.2251, allocations: 3.938 kB / 1.198 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of Templates: time 0.001308/0.2264, allocations: 0.6102 MB / 1.198 GB, free: 12.84 MB / 0.8387 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: 6.8885385654866695] Failed to read output from testmodel.py, exit status != 0: 0.2316912841051817 0.23960699399999996 0.01646291 Calling exit ...