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.001289/0.001289, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.001471/0.001471, allocations: 204.6 kB / 23.04 MB, free: 5.008 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.73 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 1/1, allocations: 150 MB / 463.2 MB, free: 10.2 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.002015/0.002015, allocations: 66.53 kB / 0.6413 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1933, allocations: 89.18 MB / 0.7283 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001914/0.1953, allocations: 0.5929 MB / 0.7289 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1965, allocations: 0.847 MB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1965, allocations: 4 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.1966, allocations: 0 / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.1966, allocations: 3.938 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.1968, allocations: 15.97 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.1969, allocations: 23.92 kB / 0.7298 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1971, allocations: 8 kB / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.1971, allocations: 15.92 kB / 0.7298 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.1972, allocations: 11.98 kB / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1972, allocations: 4 kB / 0.7298 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1972, allocations: 3.938 kB / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.1973, allocations: 11.92 kB / 0.7298 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1973, allocations: 4 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1974, allocations: 24.17 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1974, allocations: 4 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1974, allocations: 0 / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.1974, allocations: 0 / 0.7299 GB, free: 15.16 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.0006203/0.1981, allocations: 266.3 kB / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1981, allocations: 15.97 kB / 0.7301 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1982, allocations: 34.75 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1982, allocations: 0.9375 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1983, allocations: 110.5 kB / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1984, allocations: 384 / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1984, allocations: 384 / 0.7303 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1986, allocations: 54.22 kB / 0.7303 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1986, allocations: 7.938 kB / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1986, allocations: 4 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1986, allocations: 0 / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.1988, allocations: 35.95 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1993, allocations: 216 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1994, allocations: 42.53 kB / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.1995, allocations: 20.91 kB / 0.7307 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1995, allocations: 8 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1996, allocations: 38.55 kB / 0.7307 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1996, allocations: 0 / 0.7307 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004036/0.2, allocations: 85.58 kB / 0.7308 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2, allocations: 51.41 kB / 0.7308 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2001, allocations: 97.8 kB / 0.7309 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2001, allocations: 29.7 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.2002, allocations: 88.12 kB / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.2002, allocations: 12.06 kB / 0.731 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.2003, allocations: 13.72 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2004, allocations: 314.8 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.2005, allocations: 15.97 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.2006, allocations: 23.98 kB / 0.7314 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.2008, allocations: 40.81 kB / 0.7314 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2008, allocations: 8 kB / 0.7314 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.201, allocations: 73.59 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.201, allocations: 4 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.201, allocations: 0 / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.201, allocations: 4 kB / 0.7315 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2011, allocations: 7.984 kB / 0.7315 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2011, allocations: 3.938 kB / 0.7315 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.2012, allocations: 4 kB / 0.7315 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.2012, allocations: 4.031 kB / 0.7315 GB, free: 13.26 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 9.947e-05/0.2013, allocations: 116 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2013, allocations: 7.938 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.2013, allocations: 11.31 kB / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2013, allocations: 0 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2013, allocations: 0 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2013, allocations: 192 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2015, allocations: 128.7 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2015, allocations: 3.984 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.2016, allocations: 11.98 kB / 0.7318 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2016, allocations: 4 kB / 0.7318 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2016, allocations: 0 / 0.7318 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2016, allocations: 3.938 kB / 0.7318 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2016, allocations: 0 / 0.7318 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2018, allocations: 167.5 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.2018, allocations: 7.938 kB / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2019, allocations: 0 / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.2019, allocations: 7.984 kB / 0.732 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.202, allocations: 16.02 kB / 0.732 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.202, allocations: 3.938 kB / 0.732 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.202, allocations: 79.28 kB / 0.7321 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.202, allocations: 0 / 0.7321 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002069/0.2023, allocations: 4 kB / 0.7321 GB, free: 12.63 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.0006027/0.2029, allocations: 0.7006 MB / 0.7328 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.2031, allocations: 40 kB / 0.7328 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2031, allocations: 0 / 0.7328 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.2032, allocations: 23.97 kB / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2035, allocations: 4 kB / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.204, allocations: 147 kB / 0.733 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.2041, allocations: 55.36 kB / 0.733 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.2041, allocations: 8.125 kB / 0.733 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.2041, allocations: 15.42 kB / 0.7331 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2041, allocations: 0 / 0.7331 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.2325, allocations: 1.987 MB / 0.735 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.12, allocations: 5.828 kB / 0.735 GB, free: 9.719 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.857164314948022] Failed to read output from testmodel.py, exit status != 0: 11.231613076059148 11.247345092 11.046760427 Calling exit ...