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.001044/0.001044, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001105/0.001105, allocations: 168.7 kB / 24.84 MB, free: 8.91 MB / 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.9341/0.9341, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.6004/0.6004, allocations: 115 MB / 376.8 MB, free: 7.508 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.373e-06/1.373e-06, allocations: 0 / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.358e-05, allocations: 5.812 kB / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009943/0.001008, allocations: 0.611 MB / 483.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.001677, allocations: 0.8638 MB / 484.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.001706, allocations: 1.188 kB / 484.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.001728, allocations: 0 / 484.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.001782, allocations: 7.875 kB / 484.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.00189, allocations: 20.91 kB / 484.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.001941, allocations: 26.61 kB / 484.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.219e-05/0.002013, allocations: 6.859 kB / 484.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.002072, allocations: 12.27 kB / 484.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.002104, allocations: 10.77 kB / 484.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.002119, allocations: 6.438 kB / 484.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.002125, allocations: 2.5 kB / 484.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.002139, allocations: 8.438 kB / 484.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.002153, allocations: 7.266 kB / 484.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.626e-05/0.002209, allocations: 20.02 kB / 484.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002211, allocations: 0 / 484.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002212, allocations: 4.25 kB / 484.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.002216, allocations: 2.781 kB / 484.3 MB, free: 10.7 MB / 410.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.0002287/0.002444, allocations: 352.2 kB / 484.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.002473, allocations: 9.812 kB / 484.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.002496, allocations: 3.5 kB / 484.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.994e-05/0.002546, allocations: 111.8 kB / 484.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.00256, allocations: 8.156 kB / 484.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.002565, allocations: 384 / 484.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.002649, allocations: 58.09 kB / 484.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002655, allocations: 5.188 kB / 484.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002662, allocations: 4.062 kB / 484.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002666, allocations: 384 / 484.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.002686, allocations: 8.719 kB / 484.9 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.002979, allocations: 231.4 kB / 485.1 MB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.003017, allocations: 35 kB / 485.1 MB, free: 25.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.003032, allocations: 14.97 kB / 485.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.003042, allocations: 0 / 485.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.003054, allocations: 40.48 kB / 485.2 MB, free: 25.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003055, allocations: 0 / 485.2 MB, free: 25.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001049/0.003159, allocations: 43.41 kB / 485.2 MB, free: 25.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.003175, allocations: 57.34 kB / 485.3 MB, free: 25.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.003228, allocations: 165.7 kB / 485.5 MB, free: 25.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-06/0.003234, allocations: 26.95 kB / 485.5 MB, free: 25.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.003261, allocations: 132.1 kB / 485.6 MB, free: 25.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.003275, allocations: 4.797 kB / 485.6 MB, free: 25.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.003296, allocations: 20.16 kB / 485.6 MB, free: 25.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.003378, allocations: 0.4891 MB / 486.1 MB, free: 24.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.003388, allocations: 1.312 kB / 486.1 MB, free: 24.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.003397, allocations: 6.625 kB / 486.1 MB, free: 24.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.003419, allocations: 18.12 kB / 486.2 MB, free: 24.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00342, allocations: 4 kB / 486.2 MB, free: 24.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.282e-05/0.003463, allocations: 39.78 kB / 486.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.003473, allocations: 5.438 kB / 486.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.003476, allocations: 0 / 486.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.003485, allocations: 5.125 kB / 486.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.003534, allocations: 8.453 kB / 486.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.003537, allocations: 1.062 kB / 486.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.003554, allocations: 3.25 kB / 486.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003558, allocations: 0.9375 kB / 486.2 MB, free: 24.77 MB / 426.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 5.141e-05/0.003609, allocations: 158.1 kB / 486.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.003625, allocations: 10.59 kB / 486.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.003639, allocations: 8.156 kB / 486.4 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.00364, allocations: 3.938 kB / 486.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.003642, allocations: 1.969 kB / 486.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.003644, allocations: 0 / 486.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.274e-05/0.003707, allocations: 96.89 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003707, allocations: 0.9688 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.003727, allocations: 5.531 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.003727, allocations: 1.5 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.003732, allocations: 0.75 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.003732, allocations: 1.031 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.003733, allocations: 0 / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.003806, allocations: 190.9 kB / 486.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.003811, allocations: 6.406 kB / 486.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.003817, allocations: 0 / 486.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.003849, allocations: 4.344 kB / 486.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.003878, allocations: 17.05 kB / 486.7 MB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.003881, allocations: 5.531 kB / 486.7 MB, free: 24.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.003912, allocations: 130.5 kB / 486.8 MB, free: 24.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003912, allocations: 0 / 486.8 MB, free: 24.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.004042, allocations: 4.219 kB / 486.9 MB, free: 24.15 MB / 426.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.318e-05/0.004095, allocations: 98.41 kB / 486.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.868e-05/0.004154, allocations: 15.28 kB / 487 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.11e-07/0.004155, allocations: 0 / 487 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.004173, allocations: 20.94 kB / 487 MB, free: 24.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.004326, allocations: 7.594 kB / 487 MB, free: 24.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001526/0.004479, allocations: 112.4 kB / 487.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.887e-05/0.004498, allocations: 60.84 kB / 487.2 MB, free: 23.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.004516, allocations: 3.062 kB / 487.2 MB, free: 23.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.004556, allocations: 74.64 kB / 487.2 MB, free: 23.77 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004556, allocations: 0.5 kB / 487.2 MB, free: 23.77 MB / 426.7 MB Notification: Performance of Templates: time 0.001793/0.006349, allocations: 0.7196 MB / 488 MB, free: 23.71 MB / 426.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.3184082857333124]