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.001782/0.001782, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002115/0.002115, allocations: 211.1 kB / 22.99 MB, free: 4.609 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9561/0.9561, allocations: 149.9 MB / 463 MB, free: 10.41 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.002114/0.002114, allocations: 66.34 kB / 0.6415 GB, free: 9.711 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1982, allocations: 89.17 MB / 0.7286 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001957/0.2001, allocations: 0.6021 MB / 0.7292 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2013, allocations: 0.8433 MB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.2014, allocations: 0 / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.2014, allocations: 3.938 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.2015, allocations: 4 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.2016, allocations: 19.92 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.2017, allocations: 27.75 kB / 0.7301 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2018, allocations: 7.984 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.2019, allocations: 8 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.2019, allocations: 15.92 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2019, allocations: 4 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.202, allocations: 0 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.202, allocations: 3.984 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.202, allocations: 15.92 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.2021, allocations: 15.97 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2021, allocations: 4 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2021, allocations: 0 / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2021, allocations: 3.938 kB / 0.7301 GB, free: 15.02 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.0005119/0.2026, allocations: 266.3 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2027, allocations: 8.031 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2027, allocations: 8.875 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2028, allocations: 114.5 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2028, allocations: 4.375 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2028, allocations: 384 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.203, allocations: 58.17 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2031, allocations: 192 / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2031, allocations: 3.938 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2031, allocations: 0 / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.2032, allocations: 35.95 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.2036, allocations: 196.6 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2038, allocations: 34.56 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2039, allocations: 32.83 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2039, allocations: 7.938 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2039, allocations: 30.56 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2039, allocations: 0 / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.2043, allocations: 81.64 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2043, allocations: 51.41 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.2044, allocations: 106 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2044, allocations: 29.83 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.2045, allocations: 84.14 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2045, allocations: 3.953 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2046, allocations: 13.72 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2047, allocations: 314.8 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.2048, allocations: 23.92 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.2049, allocations: 15.98 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.205, allocations: 44.88 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2051, allocations: 0 / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.2052, allocations: 69.59 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2053, allocations: 8.781 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2053, allocations: 4.031 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2053, allocations: 3.984 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2054, allocations: 11.98 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2054, allocations: 0 / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.2055, allocations: 19.95 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2055, allocations: 0 / 0.7318 GB, free: 13.2 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 8.119e-05/0.2055, allocations: 105.8 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2056, allocations: 15.83 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.2056, allocations: 3.312 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2056, allocations: 0 / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2056, allocations: 3.938 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2056, allocations: 0 / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2057, allocations: 105.3 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2057, allocations: 4 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.2058, allocations: 11.98 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2058, allocations: 3.938 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2058, allocations: 0 / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2058, allocations: 8 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2058, allocations: 0 / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2061, allocations: 159.5 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.2061, allocations: 7.875 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2061, allocations: 11.92 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.2062, allocations: 12.03 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.2062, allocations: 3.984 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2062, allocations: 0 / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.2063, allocations: 87.28 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2063, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002138/0.2065, allocations: 4 kB / 0.7323 GB, free: 12.6 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.0001046/0.2066, allocations: 102 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2068, allocations: 35.97 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2068, allocations: 4 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2069, allocations: 23.97 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2072, allocations: 2.406 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.2075, allocations: 125.4 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.2076, allocations: 59.34 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.2076, allocations: 8.125 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.2077, allocations: 7.438 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2077, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.003228/0.2109, allocations: 0.6386 MB / 0.7333 GB, free: 11.56 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.701813688501716] Failed to read output from testmodel.py, exit status != 0: 0.21985293552279472 0.23541826000000002 0.029927494000000002 Calling exit ...