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.001395/0.001395, allocations: 109 kB / 20.45 MB, free: 1.52 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.001603/0.001603, allocations: 211.1 kB / 23.76 MB, free: 4.746 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.01/1.01, allocations: 150 MB / 463.9 MB, free: 10.52 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.002243/0.002243, allocations: 66.33 kB / 0.6425 GB, free: 9.961 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.196, allocations: 89.17 MB / 0.7296 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002216/0.1982, allocations: 0.6076 MB / 0.7301 GB, free: 256 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1994, allocations: 0.8548 MB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.1995, allocations: 4 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.1995, allocations: 7.875 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.1995, allocations: 0 / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.1997, allocations: 15.92 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.1998, allocations: 27.91 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1999, allocations: 8 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2, allocations: 11.94 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.2, allocations: 15.98 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2, allocations: 4 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.2001, allocations: 0 / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.2001, allocations: 7.938 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.2001, allocations: 11.97 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.2002, allocations: 19.91 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2002, allocations: 0 / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2002, allocations: 4 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2002, allocations: 0 / 0.7311 GB, free: 15.25 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.0004869/0.2007, allocations: 266.3 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2008, allocations: 8.031 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2008, allocations: 4.938 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2009, allocations: 114.5 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.201, allocations: 4.375 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.201, allocations: 384 / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2012, allocations: 54.17 kB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2012, allocations: 192 / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2012, allocations: 3.938 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2012, allocations: 4 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.2014, allocations: 35.95 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2018, allocations: 220 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2019, allocations: 42.5 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.202, allocations: 32.77 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.202, allocations: 4 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.2021, allocations: 34.56 kB / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2021, allocations: 0 / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003818/0.2025, allocations: 81.64 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2025, allocations: 55.53 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.2026, allocations: 101.8 kB / 0.7321 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2026, allocations: 25.7 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.2027, allocations: 84.14 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2027, allocations: 3.953 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.2027, allocations: 13.72 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2029, allocations: 318.8 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.203, allocations: 19.97 kB / 0.7326 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.203, allocations: 19.98 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2032, allocations: 44.75 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2032, allocations: 0 / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.2034, allocations: 73.59 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2034, allocations: 10.59 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2034, allocations: 4 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2035, allocations: 192 / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2036, allocations: 11.98 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2036, allocations: 3.938 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.2036, allocations: 4 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2036, allocations: 0 / 0.7327 GB, free: 13.39 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.382e-05/0.2037, allocations: 121.8 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2038, allocations: 11.94 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.2038, allocations: 7.312 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2038, allocations: 0 / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2038, allocations: 4 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2038, allocations: 0 / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.204, allocations: 136.7 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.204, allocations: 0 / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.204, allocations: 8 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.204, allocations: 3.984 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.204, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.204, allocations: 4 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.204, allocations: 3.938 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.2043, allocations: 163.5 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.2044, allocations: 11.88 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2044, allocations: 0 / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.2044, allocations: 7.984 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.2045, allocations: 12.02 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.2045, allocations: 4 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.2046, allocations: 79.28 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002179/0.2048, allocations: 8 kB / 0.7333 GB, free: 12.75 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.0001486/0.2049, allocations: 95.25 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2052, allocations: 43.95 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2052, allocations: 0 / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.2053, allocations: 19.98 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2057, allocations: 7.922 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.2061, allocations: 139.2 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.2066, allocations: 0.6769 MB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.2066, allocations: 11.44 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.2066, allocations: 3.938 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.002624/0.2093, allocations: 0.6035 MB / 0.7349 GB, free: 11.08 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: 7.891997410915792] Failed to read output from testmodel.py, exit status != 0: 0.2186995279043913 0.235837978 0.032069401000000004 Calling exit ...