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.0009671/0.0009671, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001549/0.001549, allocations: 171.9 kB / 25.05 MB, free: 9.211 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.9136/0.9136, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.968/1.968, allocations: 389.6 MB / 0.6363 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.513e-06/1.513e-06, allocations: 0 / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.224e-05, allocations: 3.219 kB / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001194/0.001207, allocations: 0.6624 MB / 0.7768 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.00244, allocations: 1.154 MB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.00248, allocations: 0 / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.002516, allocations: 7.031 kB / 0.7779 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.002588, allocations: 6.5 kB / 0.7779 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.002907, allocations: 115.6 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003033, allocations: 95.81 kB / 0.7781 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.00309, allocations: 5.094 kB / 0.7781 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.003161, allocations: 49.61 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.003231, allocations: 28.7 kB / 0.7782 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.00325, allocations: 8.547 kB / 0.7782 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.003314, allocations: 25.7 kB / 0.7782 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.00333, allocations: 5.859 kB / 0.7782 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.003361, allocations: 24.73 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.003472, allocations: 80.42 kB / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003473, allocations: 0.8125 kB / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003474, allocations: 0 / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003477, allocations: 0.5 kB / 0.7783 GB, free: 3.086 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.0002661/0.003743, allocations: 278.6 kB / 0.7786 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.003774, allocations: 10.09 kB / 0.7786 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.003802, allocations: 8.922 kB / 0.7786 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.787e-05/0.00387, allocations: 112.4 kB / 0.7787 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.003883, allocations: 4.375 kB / 0.7787 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.003896, allocations: 4.375 kB / 0.7787 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.27e-05/0.003959, allocations: 54.89 kB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.003964, allocations: 192 / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.00397, allocations: 384 / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003974, allocations: 4.359 kB / 0.7788 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.00399, allocations: 14.67 kB / 0.7788 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.004167, allocations: 156.3 kB / 0.7789 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.004202, allocations: 26.52 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.004215, allocations: 12.89 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.004221, allocations: 0 / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.004289, allocations: 59.44 kB / 0.779 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.00429, allocations: 2.406 kB / 0.779 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 9.291e-05/0.004382, allocations: 53.62 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.004409, allocations: 55.34 kB / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.004466, allocations: 110.7 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.004482, allocations: 33.7 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.004515, allocations: 84.12 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.004525, allocations: 13.06 kB / 0.7794 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.004561, allocations: 25.7 kB / 0.7794 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.004637, allocations: 322.8 kB / 0.7797 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.004675, allocations: 46.5 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.004734, allocations: 76.25 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.00479, allocations: 76.95 kB / 0.7799 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004792, allocations: 0.6562 kB / 0.7799 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.004901, allocations: 153.8 kB / 0.78 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.004926, allocations: 37.69 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00493, allocations: 1.438 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.004939, allocations: 7.938 kB / 0.7801 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.004973, allocations: 0 / 0.7801 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.004977, allocations: 4.656 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.005069, allocations: 29.31 kB / 0.7801 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.005081, allocations: 7.984 kB / 0.7801 GB, free: 1.031 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 5.545e-05/0.005136, allocations: 113.8 kB / 0.7802 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/0.005142, allocations: 4.875 kB / 0.7802 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.00516, allocations: 8 kB / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.005167, allocations: 8.375 kB / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.00517, allocations: 3.984 kB / 0.7803 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.005175, allocations: 0.8125 kB / 0.7803 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.447e-05/0.00523, allocations: 65.91 kB / 0.7803 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005231, allocations: 1.75 kB / 0.7803 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.005239, allocations: 4 kB / 0.7803 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.00524, allocations: 0 / 0.7803 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.005245, allocations: 3.984 kB / 0.7803 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005245, allocations: 0 / 0.7803 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005246, allocations: 0.5 kB / 0.7803 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.34e-05/0.005299, allocations: 74.14 kB / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.005304, allocations: 0 / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.005311, allocations: 7.984 kB / 0.7804 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.005318, allocations: 0.5312 kB / 0.7804 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.005335, allocations: 5.219 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005338, allocations: 3.938 kB / 0.7804 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.318e-05/0.005351, allocations: 20.78 kB / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005351, allocations: 0.5312 kB / 0.7804 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001071/0.005458, allocations: 12.66 kB / 0.7804 GB, free: 0.6602 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 7.623e-05/0.005535, allocations: 86.27 kB / 0.7805 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.005655, allocations: 137.9 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005657, allocations: 1.625 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.005676, allocations: 24.77 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.517e-05/0.005751, allocations: 4 kB / 0.7807 GB, free: 392 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.005928, allocations: 140.4 kB / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.857e-05/0.005957, allocations: 59.3 kB / 0.7809 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.005969, allocations: 1.031 kB / 0.7809 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.006029, allocations: 67.34 kB / 0.7809 GB, free: 80 kB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.006029, allocations: 0 / 0.7809 GB, free: 80 kB / 0.7292 GB Notification: Performance of Templates: time 0.002525/0.008554, allocations: 1.302 MB / 0.7822 GB, free: 14.85 MB / 0.7448 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.868007652461529]