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.001084/0.001084, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.00264, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001162/0.001162, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.00266, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9724/0.9724, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07778/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6294/0.6294, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06958/0.699, allocations: 37.87 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.622e-05, allocations: 6.25 kB / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001146/0.001162, allocations: 0.6585 MB / 402.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.00189, allocations: 0.8626 MB / 403.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.001917, allocations: 0 / 403.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.001937, allocations: 3.938 kB / 403.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.001964, allocations: 7.922 kB / 403.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.439e-05/0.002039, allocations: 19.86 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.002106, allocations: 27.92 kB / 403.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.002191, allocations: 4 kB / 403.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.00227, allocations: 23.98 kB / 403.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.002315, allocations: 15.91 kB / 403.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.002336, allocations: 0 / 403.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-06/0.002344, allocations: 4 kB / 403.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.002356, allocations: 0 / 403.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.002376, allocations: 8 kB / 403.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.002447, allocations: 15.92 kB / 403.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.002462, allocations: 4 kB / 403.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002463, allocations: 0 / 403.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.002479, allocations: 0 / 403.9 MB, free: 10.79 MB / 394.7 MB 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.0003448/0.002823, allocations: 232.7 kB / 404.1 MB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.002854, allocations: 8.031 kB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.002878, allocations: 0.9375 kB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.002966, allocations: 125.6 kB / 404.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.002985, allocations: 384 / 404.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.002996, allocations: 8.375 kB / 404.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.003101, allocations: 50.95 kB / 404.3 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.003109, allocations: 4.172 kB / 404.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003116, allocations: 384 / 404.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.003122, allocations: 384 / 404.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.003148, allocations: 11.94 kB / 404.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.003337, allocations: 140.3 kB / 404.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.003382, allocations: 30.52 kB / 404.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.003398, allocations: 12.84 kB / 404.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.00341, allocations: 4.062 kB / 404.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.003429, allocations: 34.59 kB / 404.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.00343, allocations: 0 / 404.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 9.828e-05/0.003528, allocations: 37.64 kB / 404.5 MB, free: 9.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.003558, allocations: 55.34 kB / 404.6 MB, free: 9.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.003615, allocations: 114.8 kB / 404.7 MB, free: 9.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.003624, allocations: 25.7 kB / 404.7 MB, free: 9.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.003652, allocations: 80.14 kB / 404.8 MB, free: 9.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.003671, allocations: 7.953 kB / 404.8 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.003697, allocations: 13.72 kB / 404.8 MB, free: 9.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.003781, allocations: 322.8 kB / 405.1 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.003791, allocations: 3.938 kB / 405.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/0.003799, allocations: 4 kB / 405.2 MB, free: 9.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.003821, allocations: 12.84 kB / 405.2 MB, free: 9.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003823, allocations: 4.062 kB / 405.2 MB, free: 9.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.153e-05/0.003864, allocations: 37.64 kB / 405.2 MB, free: 9.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.003875, allocations: 4 kB / 405.2 MB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.003881, allocations: 4 kB / 405.2 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.00389, allocations: 0 / 405.2 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.003966, allocations: 11.92 kB / 405.2 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.003969, allocations: 0 / 405.2 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.003986, allocations: 4 kB / 405.2 MB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-06/0.003989, allocations: 0 / 405.2 MB, free: 9.246 MB / 394.7 MB 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 6.245e-05/0.004051, allocations: 113.9 kB / 405.3 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.004067, allocations: 8 kB / 405.3 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.004085, allocations: 3.312 kB / 405.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004086, allocations: 0 / 405.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.004089, allocations: 3.938 kB / 405.4 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004091, allocations: 0 / 405.4 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.197e-05/0.004163, allocations: 69.89 kB / 405.4 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004164, allocations: 0 / 405.4 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.004185, allocations: 4 kB / 405.4 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-06/0.004191, allocations: 4 kB / 405.4 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.004192, allocations: 4 kB / 405.4 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.004196, allocations: 7.984 kB / 405.4 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004197, allocations: 0 / 405.4 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.004198, allocations: 3.938 kB / 405.4 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.004265, allocations: 135.5 kB / 405.6 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.004276, allocations: 11.98 kB / 405.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.004303, allocations: 0 / 405.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.004335, allocations: 7.984 kB / 405.6 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.004336, allocations: 0 / 405.6 MB, free: 8.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.348e-06/0.004346, allocations: 12.8 kB / 405.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004346, allocations: 0 / 405.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001085/0.004454, allocations: 12.03 kB / 405.6 MB, free: 8.809 MB / 394.7 MB 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 6.03e-05/0.004515, allocations: 72.42 kB / 405.7 MB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.004568, allocations: 20.78 kB / 405.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.004571, allocations: 3.938 kB / 405.7 MB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.004586, allocations: 12.86 kB / 405.7 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.004706, allocations: 8 kB / 405.7 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.005008, allocations: 116.9 kB / 405.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.005037, allocations: 59.22 kB / 405.9 MB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.005057, allocations: 4 kB / 405.9 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.005097, allocations: 55.36 kB / 406 MB, free: 8.402 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.005098, allocations: 0 / 406 MB, free: 8.402 MB / 394.7 MB Notification: Performance of Templates: time 0.0019/0.006998, allocations: 0.655 MB / 406.6 MB, free: 7.75 MB / 394.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.28308742120862]