Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009323/0.0009323, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00164/0.00164, allocations: 164.5 kB / 25.05 MB, free: 9.148 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.969/0.969, allocations: 177.1 MB / 205.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.99/1.99, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.278e-05, allocations: 6.312 kB / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001347/0.00137, allocations: 0.6777 MB / 0.7768 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.002176, allocations: 0.8656 MB / 0.7776 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.002211, allocations: 0.6562 kB / 0.7776 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.002247, allocations: 0 / 0.7776 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.002311, allocations: 10.19 kB / 0.7776 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.002442, allocations: 16.52 kB / 0.7776 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.002501, allocations: 23.7 kB / 0.7777 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.002568, allocations: 8.859 kB / 0.7777 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.002636, allocations: 16.97 kB / 0.7777 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.002675, allocations: 5.875 kB / 0.7777 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.002691, allocations: 4 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.002699, allocations: 0.875 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.002717, allocations: 13.7 kB / 0.7777 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.002732, allocations: 1.094 kB / 0.7777 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.933e-05/0.002801, allocations: 25.27 kB / 0.7777 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002803, allocations: 0 / 0.7777 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002804, allocations: 1.406 kB / 0.7777 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.002807, allocations: 4 kB / 0.7777 GB, free: 3.648 MB / 0.7292 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.0002634/0.00307, allocations: 233.5 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.003104, allocations: 9.344 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.003124, allocations: 1.469 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.003203, allocations: 114.6 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.003218, allocations: 384 / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.003227, allocations: 5.031 kB / 0.7781 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.003326, allocations: 56.66 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003333, allocations: 4.172 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.003339, allocations: 384 / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.003345, allocations: 384 / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.003368, allocations: 16.36 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.003542, allocations: 146.2 kB / 0.7783 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.003581, allocations: 26.58 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.003594, allocations: 7.734 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.003606, allocations: 4.062 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.003622, allocations: 30.56 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003623, allocations: 0 / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001005/0.003724, allocations: 41.62 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.003754, allocations: 64.11 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.003805, allocations: 110.5 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.003813, allocations: 25.7 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.003844, allocations: 80.14 kB / 0.7787 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.003859, allocations: 3.953 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.003882, allocations: 17.7 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.003957, allocations: 314.8 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.00397, allocations: 4.531 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.003979, allocations: 4 kB / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.004002, allocations: 12.8 kB / 0.779 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004004, allocations: 1.594 kB / 0.779 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.491e-05/0.004049, allocations: 37.69 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.004059, allocations: 4.875 kB / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.004063, allocations: 4.719 kB / 0.7791 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.00407, allocations: 0 / 0.7791 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.004129, allocations: 12.95 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.004131, allocations: 0 / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.004148, allocations: 8 kB / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.004151, allocations: 1.219 kB / 0.7791 GB, free: 2.133 MB / 0.7292 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 4.97e-05/0.004201, allocations: 109.8 kB / 0.7792 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.004216, allocations: 5.547 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.004229, allocations: 3.312 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.004232, allocations: 5.344 kB / 0.7792 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.004236, allocations: 7.922 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004238, allocations: 0 / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.353e-05/0.004311, allocations: 65.89 kB / 0.7793 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.004313, allocations: 9.062 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.004333, allocations: 11.81 kB / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.004334, allocations: 0 / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.004338, allocations: 5.062 kB / 0.7793 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.004339, allocations: 0 / 0.7793 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00434, allocations: 0 / 0.7793 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.216e-05/0.004412, allocations: 136.9 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.004418, allocations: 3.953 kB / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-06/0.004425, allocations: 0 / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.004454, allocations: 5.312 kB / 0.7794 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.004486, allocations: 11.98 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.004488, allocations: 0 / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.236e-05/0.0045, allocations: 17.59 kB / 0.7795 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0045, allocations: 0 / 0.7795 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001133/0.004614, allocations: 4.531 kB / 0.7795 GB, free: 1.707 MB / 0.7292 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 6.242e-05/0.004676, allocations: 78.48 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.004733, allocations: 12.86 kB / 0.7796 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.004737, allocations: 4 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.004754, allocations: 17.41 kB / 0.7796 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.004881, allocations: 9.5 kB / 0.7796 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.005067, allocations: 108.8 kB / 0.7797 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.005094, allocations: 52.48 kB / 0.7797 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.005114, allocations: 4.906 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.005158, allocations: 63.3 kB / 0.7798 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.005159, allocations: 0.8438 kB / 0.7798 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of Templates: time 0.001951/0.00711, allocations: 0.6347 MB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.995922630652785]