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.0008704/0.0008704, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 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.000883/0.000883, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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.9461/0.9461, allocations: 177.1 MB / 204.6 MB, free: 5.012 MB / 186.7 MB " [Timeout remaining time 179] 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.609/0.609, allocations: 115 MB / 376 MB, free: 7.375 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.688e-05, allocations: 2.312 kB / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00112/0.001137, allocations: 0.6233 MB / 429.3 MB, free: 2.195 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.001911, allocations: 0.8663 MB / 430.2 MB, free: 1.316 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.00194, allocations: 0 / 430.2 MB, free: 1.316 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.001965, allocations: 7.938 kB / 430.2 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.00202, allocations: 0 / 430.2 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.002141, allocations: 19.86 kB / 430.2 MB, free: 1.289 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.002193, allocations: 27.91 kB / 430.2 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.515e-05/0.002258, allocations: 12 kB / 430.2 MB, free: 1.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.002328, allocations: 11.98 kB / 430.2 MB, free: 1.238 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.002368, allocations: 15.92 kB / 430.3 MB, free: 1.223 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.002386, allocations: 4 kB / 430.3 MB, free: 1.219 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.002393, allocations: 4 kB / 430.3 MB, free: 1.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.002408, allocations: 3.984 kB / 430.3 MB, free: 1.211 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.002422, allocations: 4 kB / 430.3 MB, free: 1.207 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 6.216e-05/0.002484, allocations: 19.91 kB / 430.3 MB, free: 1.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002486, allocations: 4 kB / 430.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002487, allocations: 0 / 430.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.324e-06/0.002489, allocations: 0 / 430.3 MB, free: 1.184 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.0002349/0.002724, allocations: 233 kB / 430.5 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.002751, allocations: 8.031 kB / 430.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.002772, allocations: 4.938 kB / 430.5 MB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.63e-05/0.002839, allocations: 125.6 kB / 430.7 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.002853, allocations: 384 / 430.7 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.00286, allocations: 4.375 kB / 430.7 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.00295, allocations: 58.94 kB / 430.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.002955, allocations: 192 / 430.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.002962, allocations: 384 / 430.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.002965, allocations: 384 / 430.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.002985, allocations: 11.94 kB / 430.7 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.003155, allocations: 140.3 kB / 430.9 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.0032, allocations: 30.5 kB / 430.9 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.003213, allocations: 8.922 kB / 430.9 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.003223, allocations: 0 / 430.9 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.003243, allocations: 38.59 kB / 431 MB, free: 448 kB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.003243, allocations: 0 / 431 MB, free: 448 kB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 8.88e-05/0.003332, allocations: 33.7 kB / 431 MB, free: 408 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.00336, allocations: 67.41 kB / 431.1 MB, free: 328 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.003406, allocations: 102.7 kB / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.003414, allocations: 25.7 kB / 431.2 MB, free: 180 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.003438, allocations: 80.14 kB / 431.3 MB, free: 96 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.003453, allocations: 11.94 kB / 431.3 MB, free: 84 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.003477, allocations: 13.7 kB / 431.3 MB, free: 64 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.003559, allocations: 322.8 kB / 431.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.003569, allocations: 0 / 431.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.003576, allocations: 4 kB / 431.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.003599, allocations: 12.91 kB / 431.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0036, allocations: 4 kB / 431.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.944e-05/0.00364, allocations: 37.64 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.00365, allocations: 8 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.003654, allocations: 0 / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.003661, allocations: 3.938 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.003718, allocations: 11.92 kB / 431.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.003721, allocations: 0 / 431.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.003737, allocations: 4 kB / 431.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.00374, allocations: 0 / 431.7 MB, free: 15.64 MB / 410.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 4.921e-05/0.00379, allocations: 109.9 kB / 431.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.003804, allocations: 7.984 kB / 431.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.003821, allocations: 7.312 kB / 431.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003822, allocations: 0 / 431.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.003825, allocations: 3.938 kB / 431.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.003827, allocations: 0 / 431.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.478e-05/0.003902, allocations: 73.88 kB / 431.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003902, allocations: 0 / 431.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.003918, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003919, allocations: 0 / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.003923, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.003924, allocations: 0 / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.003925, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.003995, allocations: 139.6 kB / 432 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.003999, allocations: 0 / 432 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-06/0.004007, allocations: 3.984 kB / 432 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.004037, allocations: 7.984 kB / 432 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.00407, allocations: 8 kB / 432 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.004072, allocations: 3.984 kB / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.106e-05/0.004083, allocations: 8.797 kB / 432.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004084, allocations: 8.031 kB / 432.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.004192, allocations: 0 / 432.1 MB, free: 15.21 MB / 410.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 5.99e-05/0.004252, allocations: 76.42 kB / 432.1 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.198e-05/0.004304, allocations: 20.84 kB / 432.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004306, allocations: 3.938 kB / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.00432, allocations: 8.859 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.004431, allocations: 11.2 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.004609, allocations: 108.9 kB / 432.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.004642, allocations: 63.2 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.715e-05/0.00466, allocations: 0 / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.004702, allocations: 51.38 kB / 432.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.004702, allocations: 3.938 kB / 432.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of Templates: time 0.001858/0.00656, allocations: 0.6344 MB / 433 MB, free: 14.18 MB / 410.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.2089902590960264]