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.001379/0.001379, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001681/0.001681, allocations: 202.4 kB / 23.74 MB, free: 4.543 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.978/0.978, allocations: 149.9 MB / 463.8 MB, free: 10.3 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.002053/0.002053, allocations: 68.19 kB / 0.6423 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1856, allocations: 89.17 MB / 0.7294 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001808/0.1874, allocations: 0.5998 MB / 0.73 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1885, allocations: 0.8393 MB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1885, allocations: 0 / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1885, allocations: 0 / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.1886, allocations: 7.938 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1887, allocations: 15.98 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.1888, allocations: 27.75 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.1889, allocations: 7.984 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.189, allocations: 8 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.189, allocations: 15.92 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.189, allocations: 0 / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.189, allocations: 4 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.189, allocations: 7.984 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.1891, allocations: 11.94 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.1891, allocations: 27.83 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1892, allocations: 0 / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1892, allocations: 0 / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1892, allocations: 0 / 0.7309 GB, free: 14.91 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.000465/0.1896, allocations: 266.3 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1897, allocations: 8.031 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1897, allocations: 8.922 kB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1898, allocations: 114.4 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1898, allocations: 4.375 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1898, allocations: 8.359 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.19, allocations: 50.23 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.19, allocations: 192 / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.19, allocations: 3.938 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.19, allocations: 0 / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1902, allocations: 39.89 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1906, allocations: 192.6 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1907, allocations: 42.56 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.1908, allocations: 24.89 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1908, allocations: 3.938 kB / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1908, allocations: 34.56 kB / 0.7317 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1908, allocations: 0 / 0.7317 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003587/0.1912, allocations: 89.67 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1912, allocations: 51.41 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.1913, allocations: 105.8 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1914, allocations: 25.7 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.1914, allocations: 80.14 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1914, allocations: 7.953 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1914, allocations: 13.72 kB / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1916, allocations: 314.8 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.1917, allocations: 19.98 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.1918, allocations: 20.02 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1919, allocations: 44.75 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1919, allocations: 0 / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.1921, allocations: 69.59 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1922, allocations: 8 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1922, allocations: 0 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1922, allocations: 4.094 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1923, allocations: 7.984 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1923, allocations: 4 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1923, allocations: 7.984 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1923, allocations: 0 / 0.7325 GB, free: 13.09 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.254e-05/0.1924, allocations: 109.8 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1924, allocations: 15.83 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.1925, allocations: 7.25 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1925, allocations: 0 / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1925, allocations: 4 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1925, allocations: 0 / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1926, allocations: 105.3 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1926, allocations: 0 / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.1927, allocations: 15.92 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1927, allocations: 3.938 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1927, allocations: 4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1927, allocations: 0 / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1927, allocations: 4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.193, allocations: 163.5 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.193, allocations: 7.875 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.193, allocations: 7.984 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.1931, allocations: 4 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1931, allocations: 8.172 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1931, allocations: 0 / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.1932, allocations: 91.27 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1932, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002112/0.1934, allocations: 4 kB / 0.733 GB, free: 12.49 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.000122/0.1935, allocations: 103.3 kB / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1937, allocations: 35.91 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1937, allocations: 0 / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.1938, allocations: 23.97 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1941, allocations: 4 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1944, allocations: 139.3 kB / 0.7333 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.218e-05/0.1944, allocations: 71.33 kB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1945, allocations: 7.438 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1945, allocations: 0 / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.002126/0.1966, allocations: 0.6089 MB / 0.734 GB, free: 11.45 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.873884217813611] Failed to read output from testmodel.py, exit status != 0: 0.20493410667404532 0.21973356299999997 0.027551927 Calling exit ...