Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.61/1.61, allocations: 297.8 MB / 313.7 MB, free: 56 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 186.7 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007265/0.0007265, allocations: 101.5 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 19.92 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6573, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.8266, allocations: 141.3 MB / 1.164 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.8268, allocations: 71.48 kB / 1.164 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004645/0.8315, allocations: 1.818 MB / 1.166 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8315, allocations: 4 kB / 1.166 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8315, allocations: 0 / 1.166 GB, free: 0.8281 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.0003051/0.8318, allocations: 368.4 kB / 1.167 GB, free: 428 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.8318, allocations: 9.25 kB / 1.167 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.8319, allocations: 4.938 kB / 1.167 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.832, allocations: 169.7 kB / 1.167 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.832, allocations: 2.703 kB / 1.167 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.832, allocations: 11.36 kB / 1.167 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.8321, allocations: 42.28 kB / 1.167 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.8321, allocations: 192 / 1.167 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8321, allocations: 5.297 kB / 1.167 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8321, allocations: 0.6562 kB / 1.167 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.8322, allocations: 9.547 kB / 1.167 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.8326, allocations: 297.3 kB / 1.167 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.8326, allocations: 33.67 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.8327, allocations: 9.484 kB / 1.167 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.8327, allocations: 3.938 kB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.8328, allocations: 60.86 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.8328, allocations: 1.031 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.833, allocations: 74.64 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.833, allocations: 52.16 kB / 1.167 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.8331, allocations: 110.5 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.8332, allocations: 31.39 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.8332, allocations: 89.17 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.8332, allocations: 8.609 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.8332, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.8334, allocations: 317.3 kB / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.8334, allocations: 29.66 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.8335, allocations: 52.89 kB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.8336, allocations: 87.14 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8336, allocations: 3.938 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002302/0.8339, allocations: 152.8 kB / 1.168 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.8339, allocations: 39.02 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8339, allocations: 1.234 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.8339, allocations: 1.469 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.834, allocations: 5.859 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.834, allocations: 0 / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.8342, allocations: 34.53 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8342, allocations: 10.42 kB / 1.168 GB, free: 14.62 MB / 0.7448 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,booToInt.y,$PRE.booPul.y,booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.8343, allocations: 120.5 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.8343, allocations: 4.906 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.8343, allocations: 12.7 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8343, allocations: 1.828 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8343, allocations: 0 / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8343, allocations: 3.938 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.889e-05/0.8344, allocations: 167.3 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8344, allocations: 0 / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.8345, allocations: 1.062 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8345, allocations: 8.734 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.8345, allocations: 1.641 kB / 1.169 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8345, allocations: 2.484 kB / 1.169 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8345, allocations: 2.516 kB / 1.169 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.824e-05/0.8346, allocations: 86.33 kB / 1.169 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.8346, allocations: 84.34 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.8347, allocations: 4.797 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.8347, allocations: 2.078 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.8347, allocations: 0.7969 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.8347, allocations: 4.797 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.8348, allocations: 85.88 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8348, allocations: 0 / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000205/0.835, allocations: 25 kB / 1.169 GB, free: 13.95 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.8351, allocations: 109.3 kB / 1.169 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.8353, allocations: 123.8 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8353, allocations: 0.5625 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.8353, allocations: 17.59 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.8355, allocations: 16.11 kB / 1.169 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.8358, allocations: 137.3 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.836, allocations: 0.6815 MB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.836, allocations: 3.484 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.836, allocations: 13.97 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.836, allocations: 0 / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.002909/0.8389, allocations: 1.007 MB / 1.171 GB, free: 12.28 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)