Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001734/0.001734, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.002315/0.002315, allocations: 226.7 kB / 23.01 MB, free: 4.926 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9673/0.9673, allocations: 150 MB / 463.1 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: IBPSA 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.002229/0.002229, allocations: 70.94 kB / 0.6417 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2004, allocations: 89.18 MB / 0.7288 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002374/0.2028, allocations: 0.6037 MB / 0.7294 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2042, allocations: 0.8549 MB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.2042, allocations: 0 / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.2043, allocations: 0 / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.2043, allocations: 7.922 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.2045, allocations: 8 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.2046, allocations: 35.91 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2048, allocations: 11.92 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.2048, allocations: 12 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.2049, allocations: 11.92 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2049, allocations: 0 / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.2049, allocations: 4 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.205, allocations: 4 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.205, allocations: 15.92 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2051, allocations: 23.89 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2051, allocations: 0 / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2051, allocations: 0 / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.2051, allocations: 4 kB / 0.7304 GB, free: 15.18 MB / 0.5606 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.0005807/0.2057, allocations: 266.3 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.2058, allocations: 8.031 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.2058, allocations: 0.9375 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.206, allocations: 122.4 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.206, allocations: 384 / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.206, allocations: 384 / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2062, allocations: 58.22 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2063, allocations: 192 / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2063, allocations: 11.92 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2063, allocations: 0 / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2065, allocations: 35.95 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.207, allocations: 220 kB / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2071, allocations: 46.48 kB / 0.7311 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.2072, allocations: 20.91 kB / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2072, allocations: 0 / 0.7311 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.2073, allocations: 34.56 kB / 0.7311 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2073, allocations: 0 / 0.7311 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004226/0.2077, allocations: 93.56 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2077, allocations: 55.41 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2079, allocations: 93.86 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2079, allocations: 29.7 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.208, allocations: 84.12 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.208, allocations: 3.953 kB / 0.7315 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.208, allocations: 13.72 kB / 0.7315 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2082, allocations: 319 kB / 0.7318 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.2083, allocations: 23.97 kB / 0.7318 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.2084, allocations: 15.98 kB / 0.7318 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2085, allocations: 36.83 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2085, allocations: 0 / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.2087, allocations: 81.59 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2088, allocations: 8 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2088, allocations: 3.984 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2088, allocations: 0 / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2089, allocations: 4 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2089, allocations: 4 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.209, allocations: 7.984 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.209, allocations: 0 / 0.732 GB, free: 13.32 MB / 0.5606 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.0001334/0.2092, allocations: 119.8 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.2092, allocations: 11.89 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.2092, allocations: 15.23 kB / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2092, allocations: 0 / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2092, allocations: 0 / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2093, allocations: 0 / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.2094, allocations: 132.7 kB / 0.7322 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2094, allocations: 4 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.2095, allocations: 11.98 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2095, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2095, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2095, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2095, allocations: 4 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.2098, allocations: 171.4 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.2098, allocations: 3.969 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2098, allocations: 4 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.2099, allocations: 7.984 kB / 0.7324 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.21, allocations: 8 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.21, allocations: 0 / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.21, allocations: 87.27 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.21, allocations: 0 / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002206/0.2103, allocations: 8 kB / 0.7325 GB, free: 12.68 MB / 0.5606 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.0001153/0.2104, allocations: 95.25 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.2106, allocations: 43.89 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2106, allocations: 0 / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.2107, allocations: 19.98 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2111, allocations: 7.938 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.2115, allocations: 113.6 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2118, allocations: 0.6729 MB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.2118, allocations: 4.328 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2119, allocations: 15.42 kB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2119, allocations: 0 / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.003889/0.2158, allocations: 0.6199 MB / 0.7341 GB, free: 11.04 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.845293342135847] Failed to read output from testmodel.py, exit status != 0: 0.22517479117959738 0.24884386200000003 0.038418459 Calling exit ...