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.001408/0.001408, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001693/0.001693, allocations: 161 kB / 24.16 MB, free: 336 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.9338/0.9338, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.305e-06/2.305e-06, allocations: 0 / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.229e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001514/0.001536, allocations: 0.6264 MB / 0.7758 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007623/0.002298, allocations: 0.862 MB / 0.7766 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.002327, allocations: 0 / 0.7766 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002354, allocations: 3.938 kB / 0.7766 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.002416, allocations: 9.188 kB / 0.7766 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.002544, allocations: 22.33 kB / 0.7766 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.002603, allocations: 23.92 kB / 0.7766 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.002671, allocations: 8 kB / 0.7767 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.002747, allocations: 12.97 kB / 0.7767 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.002797, allocations: 17.5 kB / 0.7767 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.00282, allocations: 4 kB / 0.7767 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.002828, allocations: 6.438 kB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.002843, allocations: 0.6562 kB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.002857, allocations: 4.875 kB / 0.7767 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.002926, allocations: 17.5 kB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002928, allocations: 0 / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002929, allocations: 4 kB / 0.7767 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.002932, allocations: 0 / 0.7767 GB, free: 3.836 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.0002656/0.003198, allocations: 238.3 kB / 0.7769 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.003229, allocations: 9.344 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.003253, allocations: 0.9375 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.003322, allocations: 115 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.003339, allocations: 4.359 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.00335, allocations: 10.81 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.003451, allocations: 58.94 kB / 0.7771 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003457, allocations: 192 / 0.7771 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.003463, allocations: 1.359 kB / 0.7771 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003468, allocations: 384 / 0.7771 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.003489, allocations: 7.938 kB / 0.7771 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.003663, allocations: 147 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.003704, allocations: 30.52 kB / 0.7773 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.003718, allocations: 4.969 kB / 0.7773 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.003729, allocations: 7.984 kB / 0.7773 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.003746, allocations: 34.56 kB / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.003747, allocations: 0 / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.598e-05/0.003843, allocations: 37.03 kB / 0.7774 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.003872, allocations: 59.34 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.858e-05/0.00392, allocations: 106.6 kB / 0.7776 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.003929, allocations: 25.7 kB / 0.7776 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.003952, allocations: 84.12 kB / 0.7777 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.003967, allocations: 7.953 kB / 0.7777 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.00399, allocations: 18.33 kB / 0.7777 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.004074, allocations: 316.4 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.004087, allocations: 0 / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.004097, allocations: 4.562 kB / 0.778 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.004122, allocations: 13.44 kB / 0.778 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004124, allocations: 0.7812 kB / 0.778 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.217e-05/0.004176, allocations: 34.33 kB / 0.778 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.004191, allocations: 10.34 kB / 0.778 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004195, allocations: 0.9062 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.004207, allocations: 5.141 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.004277, allocations: 13.36 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.004283, allocations: 0 / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.0043, allocations: 4 kB / 0.7781 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.004304, allocations: 0 / 0.7781 GB, free: 2.316 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 6.104e-05/0.004365, allocations: 118.5 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.004378, allocations: 5.719 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.004393, allocations: 7.312 kB / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.004394, allocations: 0 / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.004397, allocations: 3.938 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.0044, allocations: 0.8125 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.458e-05/0.004474, allocations: 66.44 kB / 0.7783 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004475, allocations: 4 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.004497, allocations: 8.5 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004498, allocations: 1.594 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.004502, allocations: 0 / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.004502, allocations: 0.7656 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004503, allocations: 0 / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.83e-05/0.004581, allocations: 140.3 kB / 0.7784 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.004587, allocations: 4.141 kB / 0.7784 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.004593, allocations: 0.9688 kB / 0.7784 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.004624, allocations: 7.984 kB / 0.7784 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.004657, allocations: 9.734 kB / 0.7784 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.004661, allocations: 8.641 kB / 0.7784 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.235e-05/0.004674, allocations: 8.797 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004674, allocations: 0 / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001094/0.004783, allocations: 4 kB / 0.7785 GB, free: 1.891 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 7.644e-05/0.004859, allocations: 78.02 kB / 0.7785 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.564e-05/0.004915, allocations: 25.48 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.004917, allocations: 0.6562 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.004935, allocations: 17.92 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.005056, allocations: 7.938 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.005272, allocations: 117 kB / 0.7787 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.005301, allocations: 55.88 kB / 0.7787 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.00532, allocations: 5.406 kB / 0.7787 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.005365, allocations: 52.14 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.005366, allocations: 0.5938 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of Templates: time 0.002065/0.007431, allocations: 0.6363 MB / 0.7794 GB, free: 0.875 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.117001625243574]