Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0009167/0.0009167, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.0009161/0.0009161, allocations: 165 kB / 24.17 MB, free: 168 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.97/0.97, allocations: 177.2 MB / 204.6 MB, free: 5.141 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.928/1.928, allocations: 389.6 MB / 0.6354 GB, free: 12.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.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.462e-05, allocations: 3.219 kB / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00228/0.002304, allocations: 0.625 MB / 0.7757 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.003873, allocations: 1.158 MB / 0.7769 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.003917, allocations: 4 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.003943, allocations: 3.938 kB / 0.7769 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.00401, allocations: 5.734 kB / 0.7769 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.004509, allocations: 119.6 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.004678, allocations: 94.83 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.00474, allocations: 0.9844 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.004839, allocations: 53.38 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.004932, allocations: 24.83 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.004954, allocations: 8.625 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.005022, allocations: 21.3 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.005045, allocations: 7.375 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.00509, allocations: 25.73 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.005253, allocations: 81.19 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005255, allocations: 0 / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005256, allocations: 0 / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.00526, allocations: 0.6562 kB / 0.7773 GB, free: 3.246 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.0004042/0.005664, allocations: 274.6 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.005709, allocations: 13.34 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.005752, allocations: 12.92 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.005848, allocations: 109.2 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.005869, allocations: 1.141 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.005888, allocations: 8.375 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.416e-05/0.005972, allocations: 50.89 kB / 0.7777 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005981, allocations: 4.172 kB / 0.7777 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.00599, allocations: 4.359 kB / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.005996, allocations: 384 / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.006019, allocations: 11.92 kB / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.006299, allocations: 169.1 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.006354, allocations: 19.73 kB / 0.7779 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.00637, allocations: 12.86 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.006377, allocations: 0.9062 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-05/0.00647, allocations: 59.39 kB / 0.778 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.006471, allocations: 0.5938 kB / 0.778 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001362/0.006608, allocations: 53.61 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.006647, allocations: 60.47 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.006724, allocations: 115.7 kB / 0.7782 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.006746, allocations: 25.7 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.00679, allocations: 89.58 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.006801, allocations: 7.953 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.006861, allocations: 29.69 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.006963, allocations: 322.8 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.007028, allocations: 46.34 kB / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.007101, allocations: 72.92 kB / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.007185, allocations: 74.06 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.007188, allocations: 0 / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001711/0.007359, allocations: 141.9 kB / 0.779 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.007398, allocations: 41.69 kB / 0.779 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007403, allocations: 0.5312 kB / 0.779 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.007418, allocations: 7.938 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.007462, allocations: 4.5 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007465, allocations: 1.656 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.007594, allocations: 23.94 kB / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.007612, allocations: 7.984 kB / 0.7791 GB, free: 1.203 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.184e-05/0.007694, allocations: 118.5 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.007706, allocations: 4.969 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.007728, allocations: 4 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.007733, allocations: 7.922 kB / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.007735, allocations: 1.781 kB / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007738, allocations: 4 kB / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.007819, allocations: 69.91 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007821, allocations: 0 / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.007837, allocations: 0 / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.007841, allocations: 8.578 kB / 0.7793 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.007847, allocations: 5.594 kB / 0.7793 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007849, allocations: 0 / 0.7793 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.00785, allocations: 0 / 0.7793 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.422e-05/0.007944, allocations: 69.06 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.007952, allocations: 288 / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.007965, allocations: 4.797 kB / 0.7794 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.007978, allocations: 4 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.007998, allocations: 0.875 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.008004, allocations: 7.922 kB / 0.7794 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.008028, allocations: 21.78 kB / 0.7794 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.008029, allocations: 3.938 kB / 0.7794 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002062/0.008235, allocations: 16.78 kB / 0.7794 GB, free: 0.8164 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001246/0.008359, allocations: 85.69 kB / 0.7795 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.008527, allocations: 133.9 kB / 0.7796 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.00853, allocations: 1.469 kB / 0.7796 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.008553, allocations: 16.78 kB / 0.7797 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.008673, allocations: 15.09 kB / 0.7797 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.008954, allocations: 132.5 kB / 0.7798 GB, free: 396 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.008985, allocations: 60.36 kB / 0.7799 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.009005, allocations: 4 kB / 0.7799 GB, free: 312 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.009072, allocations: 63.84 kB / 0.7799 GB, free: 248 kB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.009073, allocations: 7.938 kB / 0.7799 GB, free: 240 kB / 0.7292 GB Notification: Performance of Templates: time 0.002841/0.01191, allocations: 1.288 MB / 0.7812 GB, free: 15.02 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.917079785838723]