Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.748/1.748, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005591/0.0005592, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6944, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001545/0.696, allocations: 1.026 MB / 0.729 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.6965, allocations: 180.4 kB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.6965, allocations: 0 / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.6965, allocations: 0 / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.6966, allocations: 11.98 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.6968, allocations: 11.92 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.6968, allocations: 15.98 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.6969, allocations: 11.92 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.697, allocations: 15.92 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.6971, allocations: 11.98 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.6971, allocations: 0 / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.6971, allocations: 0 / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.6971, allocations: 11.94 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.6972, allocations: 25.7 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.014e-05/0.6972, allocations: 19.95 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6973, allocations: 4 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6973, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.6973, allocations: 3.938 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005072/0.6978, allocations: 348.3 kB / 0.7296 GB, free: 9.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6978, allocations: 8.031 kB / 0.7296 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.6979, allocations: 7.906 kB / 0.7296 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.698, allocations: 167 kB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.6981, allocations: 7.984 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.6981, allocations: 0 / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6982, allocations: 41.64 kB / 0.7298 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6982, allocations: 0 / 0.7298 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6982, allocations: 3.984 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6982, allocations: 4 kB / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.6983, allocations: 12 kB / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.6987, allocations: 256.9 kB / 0.7301 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.6991, allocations: 90.45 kB / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.6991, allocations: 0 / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.6993, allocations: 63.53 kB / 0.7303 GB, free: 8.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.855e-06/0.6993, allocations: 7.984 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.6995, allocations: 61.59 kB / 0.7303 GB, free: 8.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.6995, allocations: 59.34 kB / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.6996, allocations: 105.8 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.6996, allocations: 25.7 kB / 0.7305 GB, free: 8.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6997, allocations: 84.14 kB / 0.7306 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.6997, allocations: 7.906 kB / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6997, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6999, allocations: 326.8 kB / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.6999, allocations: 8 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.6999, allocations: 25.91 kB / 0.7309 GB, free: 8.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.7, allocations: 7.984 kB / 0.7309 GB, free: 8.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7, allocations: 0 / 0.7309 GB, free: 8.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.845e-05/0.7001, allocations: 53.64 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7001, allocations: 4 kB / 0.731 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7001, allocations: 8.109 kB / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7001, allocations: 4.031 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.7001, allocations: 8 kB / 0.731 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7002, allocations: 0 / 0.731 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.7002, allocations: 7.906 kB / 0.731 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.7002, allocations: 4 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 9.054e-05/0.7003, allocations: 125.7 kB / 0.7312 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.7003, allocations: 0 / 0.7312 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.7004, allocations: 11.84 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7004, allocations: 4 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7004, allocations: 4 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7004, allocations: 0 / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.7005, allocations: 161.6 kB / 0.7313 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7005, allocations: 3.938 kB / 0.7313 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.7006, allocations: 4 kB / 0.7313 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7006, allocations: 0 / 0.7313 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7006, allocations: 0 / 0.7313 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7006, allocations: 0 / 0.7313 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7006, allocations: 4 kB / 0.7313 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.7007, allocations: 81.08 kB / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.7008, allocations: 85 kB / 0.7315 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.7008, allocations: 4 kB / 0.7315 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.7008, allocations: 8 kB / 0.7315 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.7009, allocations: 3.984 kB / 0.7315 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.7009, allocations: 4 kB / 0.7315 GB, free: 7.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.7009, allocations: 83.28 kB / 0.7316 GB, free: 7.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.701, allocations: 4 kB / 0.7316 GB, free: 7.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001874/0.7011, allocations: 7.984 kB / 0.7316 GB, free: 7.406 MB / 0.545 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,booToInt.y,booPul.y,booPul.pulseStart) * 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.0001159/0.7013, allocations: 103.2 kB / 0.7317 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.7014, allocations: 27.98 kB / 0.7317 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7014, allocations: 0 / 0.7317 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.7014, allocations: 12.31 kB / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.7016, allocations: 14.58 kB / 0.7318 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.7019, allocations: 138.5 kB / 0.7319 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.7023, allocations: 0.6848 MB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.7023, allocations: 0 / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.7023, allocations: 11.44 kB / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7023, allocations: 0 / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of Templates: time 0.002719/0.7051, allocations: 485.4 kB / 0.733 GB, free: 5.898 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) Environment - environmentSimulation: