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.001051/0.001051, allocations: 80.75 kB / 20.83 MB, free: 3.629 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.001029/0.001029, allocations: 169 kB / 24.25 MB, free: 208 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 1.017/1.017, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.908/1.908, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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 1.734e-06/1.734e-06, allocations: 0.5469 kB / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.98e-05, allocations: 6.25 kB / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001219/0.001239, allocations: 0.674 MB / 0.776 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008518/0.00209, allocations: 0.8749 MB / 0.7769 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.002124, allocations: 0.875 kB / 0.7769 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.002153, allocations: 0 / 0.7769 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.002212, allocations: 4.812 kB / 0.7769 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.002338, allocations: 15.92 kB / 0.7769 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.002408, allocations: 30.78 kB / 0.7769 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.002477, allocations: 4 kB / 0.7769 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.002545, allocations: 20.73 kB / 0.7769 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.002585, allocations: 4.875 kB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.002606, allocations: 5.094 kB / 0.7769 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.002613, allocations: 0 / 0.7769 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.00263, allocations: 7.984 kB / 0.7769 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002647, allocations: 10.08 kB / 0.777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.217e-05/0.002719, allocations: 21.33 kB / 0.777 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002721, allocations: 0 / 0.777 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002722, allocations: 2.906 kB / 0.777 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002725, allocations: 0 / 0.777 GB, free: 3.668 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.0002738/0.002999, allocations: 233.9 kB / 0.7772 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003034, allocations: 13.34 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.003055, allocations: 0.9375 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.096e-05/0.003126, allocations: 105.8 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.003141, allocations: 384 / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003149, allocations: 384 / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.003241, allocations: 58.75 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.003247, allocations: 192 / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003254, allocations: 9.25 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003258, allocations: 384 / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.003283, allocations: 15.86 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.00346, allocations: 144.3 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/0.003499, allocations: 22.58 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.003514, allocations: 8.922 kB / 0.7776 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.003525, allocations: 0.5625 kB / 0.7776 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.003543, allocations: 35.25 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 6.02e-07/0.003544, allocations: 1.312 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001024/0.003646, allocations: 46.22 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.003674, allocations: 56.25 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.003724, allocations: 106.7 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.003734, allocations: 31.02 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.003759, allocations: 84.08 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.003775, allocations: 3.953 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.003796, allocations: 13.72 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.00386, allocations: 315.6 kB / 0.7782 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.00387, allocations: 7.984 kB / 0.7782 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.003877, allocations: 1.406 kB / 0.7782 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.003905, allocations: 16.8 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.003907, allocations: 1.625 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.97e-05/0.003947, allocations: 42.62 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.003957, allocations: 4 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.003961, allocations: 1.906 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.003967, allocations: 0 / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.004022, allocations: 15.92 kB / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.004024, allocations: 0 / 0.7783 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.00404, allocations: 4.516 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.004045, allocations: 4 kB / 0.7783 GB, free: 2.148 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.64e-05/0.004091, allocations: 111.4 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.004102, allocations: 0.9844 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.004118, allocations: 11.3 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.00412, allocations: 4.75 kB / 0.7784 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.004122, allocations: 3.938 kB / 0.7785 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004125, allocations: 1 kB / 0.7785 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.39e-05/0.004199, allocations: 65.91 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004199, allocations: 0 / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.00422, allocations: 13.11 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.004221, allocations: 4 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.004225, allocations: 0.5469 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004225, allocations: 0.8125 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004226, allocations: 0 / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.817e-05/0.004294, allocations: 132.8 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-06/0.004298, allocations: 4 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-06/0.004305, allocations: 0.7656 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.004334, allocations: 5.125 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.004369, allocations: 7.984 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004372, allocations: 0 / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.108e-05/0.004383, allocations: 21.83 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004383, allocations: 0 / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001115/0.004494, allocations: 7.953 kB / 0.7787 GB, free: 1.727 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.248e-05/0.004557, allocations: 83 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.004607, allocations: 12.86 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.004609, allocations: 0.625 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.004627, allocations: 13.62 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.004746, allocations: 8 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.004938, allocations: 110.5 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.761e-05/0.004965, allocations: 55.36 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.004984, allocations: 6.094 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.005026, allocations: 52.78 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.005026, allocations: 0 / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.002026/0.007053, allocations: 0.6399 MB / 0.7797 GB, free: 0.7227 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: 5.025942276231945]