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.001404/0.001404, allocations: 83.69 kB / 21.74 MB, free: 2.508 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.001898/0.001898, allocations: 172.8 kB / 25.18 MB, free: 8.848 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.9302/0.9302, allocations: 177.1 MB / 205.6 MB, free: 4.371 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.962/1.962, allocations: 389.6 MB / 0.6364 GB, free: 13.3 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.723e-06/1.723e-06, allocations: 0 / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.689e-05, allocations: 5.828 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002414/0.002441, allocations: 0.6817 MB / 0.7762 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003535, allocations: 0.8624 MB / 0.777 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.003567, allocations: 4 kB / 0.777 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.003599, allocations: 3.938 kB / 0.7771 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.003662, allocations: 7.922 kB / 0.7771 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.003792, allocations: 19.86 kB / 0.7771 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.00385, allocations: 27.92 kB / 0.7771 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.003921, allocations: 3.984 kB / 0.7771 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.003993, allocations: 8 kB / 0.7771 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.004034, allocations: 19.98 kB / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.00405, allocations: 0 / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.004058, allocations: 4 kB / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.004075, allocations: 7.984 kB / 0.7771 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.004092, allocations: 7.922 kB / 0.7772 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.669e-05/0.004159, allocations: 19.98 kB / 0.7772 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004161, allocations: 0 / 0.7772 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004162, allocations: 0 / 0.7772 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004166, allocations: 0 / 0.7772 GB, free: 12.92 MB / 0.7448 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.0002502/0.004416, allocations: 233 kB / 0.7774 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.504e-05/0.004441, allocations: 8.031 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.889e-05/0.00446, allocations: 8.938 kB / 0.7774 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.004525, allocations: 105.7 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.004541, allocations: 8.375 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.004549, allocations: 384 / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.004635, allocations: 58.92 kB / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-06/0.00464, allocations: 192 / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.004646, allocations: 384 / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.004649, allocations: 384 / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.004667, allocations: 11.94 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.004842, allocations: 148.3 kB / 0.7777 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.004952, allocations: 34.53 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.004966, allocations: 8.922 kB / 0.7778 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.004974, allocations: 0 / 0.7778 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.004991, allocations: 34.5 kB / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.004992, allocations: 0 / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.297e-05/0.005085, allocations: 41.69 kB / 0.7778 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005111, allocations: 59.28 kB / 0.7779 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.005156, allocations: 98.72 kB / 0.778 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005166, allocations: 29.83 kB / 0.778 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.005194, allocations: 88.09 kB / 0.7781 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.005212, allocations: 15.91 kB / 0.7781 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.005234, allocations: 9.719 kB / 0.7781 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.005298, allocations: 314.8 kB / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.005305, allocations: 0 / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.005314, allocations: 4 kB / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.005335, allocations: 12.84 kB / 0.7784 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005336, allocations: 0 / 0.7784 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.662e-05/0.005373, allocations: 45.69 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.005383, allocations: 8 kB / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005387, allocations: 0 / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.005392, allocations: 0 / 0.7785 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.005438, allocations: 7.938 kB / 0.7785 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.005439, allocations: 0 / 0.7785 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.005457, allocations: 7.984 kB / 0.7785 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-06/0.005459, allocations: 0 / 0.7785 GB, free: 11.39 MB / 0.7448 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 5.038e-05/0.00551, allocations: 117.8 kB / 0.7786 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.005521, allocations: 0 / 0.7786 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.005535, allocations: 7.344 kB / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.005535, allocations: 0 / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005537, allocations: 3.938 kB / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00554, allocations: 0 / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.005607, allocations: 73.88 kB / 0.7787 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005608, allocations: 0 / 0.7787 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.005624, allocations: 4 kB / 0.7787 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005626, allocations: 3.984 kB / 0.7787 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.00563, allocations: 0 / 0.7787 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005631, allocations: 0 / 0.7787 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.005632, allocations: 4 kB / 0.7787 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.99e-05/0.005692, allocations: 143.5 kB / 0.7789 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.005697, allocations: 7.891 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-06/0.005703, allocations: 4 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.005731, allocations: 0 / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.005772, allocations: 12.17 kB / 0.7789 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.005776, allocations: 4 kB / 0.7789 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.428e-06/0.005785, allocations: 16.78 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005785, allocations: 0 / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001079/0.005893, allocations: 4 kB / 0.7789 GB, free: 10.94 MB / 0.7448 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.931e-05/0.005962, allocations: 84.44 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.855e-05/0.006011, allocations: 8.859 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.006015, allocations: 7.938 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.006029, allocations: 8.859 kB / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.006149, allocations: 7.984 kB / 0.779 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.006357, allocations: 142.4 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.006394, allocations: 59.48 kB / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.006439, allocations: 55.36 kB / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.00644, allocations: 0 / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.001189/0.007629, allocations: 0.5936 MB / 0.7798 GB, free: 9.914 MB / 0.7448 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 > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.51397945638746]