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.001023/0.001023, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001482/0.001482, allocations: 172.7 kB / 15.95 MB, free: 208 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.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.644/1.644, allocations: 252 MB / 0.5102 GB, free: 4.84 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.0006135/0.0006137, allocations: 16 kB / 0.6243 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.652, allocations: 106.3 MB / 0.7281 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001867/0.6539, allocations: 1.03 MB / 0.7291 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.6544, allocations: 184.4 kB / 0.7293 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.6544, allocations: 0 / 0.7293 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.6544, allocations: 4 kB / 0.7293 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.6545, allocations: 3.938 kB / 0.7293 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.6547, allocations: 7.984 kB / 0.7293 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.6548, allocations: 31.86 kB / 0.7294 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.6549, allocations: 11.98 kB / 0.7294 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.6549, allocations: 4 kB / 0.7294 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.655, allocations: 15.92 kB / 0.7294 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.655, allocations: 0 / 0.7294 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.6551, allocations: 4 kB / 0.7294 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.6551, allocations: 3.938 kB / 0.7294 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.6551, allocations: 33.7 kB / 0.7294 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.414e-05/0.6552, allocations: 15.95 kB / 0.7294 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6552, allocations: 0 / 0.7294 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6552, allocations: 0 / 0.7294 GB, free: 10.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.6552, allocations: 0 / 0.7294 GB, free: 10.24 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.0005059/0.6557, allocations: 349.4 kB / 0.7298 GB, free: 9.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6558, allocations: 12.03 kB / 0.7298 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.6558, allocations: 7.844 kB / 0.7298 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.656, allocations: 167 kB / 0.73 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.656, allocations: 3.984 kB / 0.73 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.656, allocations: 4 kB / 0.73 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.6561, allocations: 33.7 kB / 0.73 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6562, allocations: 11.92 kB / 0.73 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.6562, allocations: 4 kB / 0.73 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6562, allocations: 0 / 0.73 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.6562, allocations: 12 kB / 0.73 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.6566, allocations: 260.9 kB / 0.7303 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.657, allocations: 94.45 kB / 0.7304 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.657, allocations: 20.94 kB / 0.7304 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.657, allocations: 4 kB / 0.7304 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.6572, allocations: 59.39 kB / 0.7304 GB, free: 9.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.6572, allocations: 0 / 0.7304 GB, free: 9.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.6574, allocations: 61.59 kB / 0.7305 GB, free: 8.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.6574, allocations: 51.41 kB / 0.7306 GB, free: 8.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.6575, allocations: 113.7 kB / 0.7307 GB, free: 8.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6575, allocations: 29.7 kB / 0.7307 GB, free: 8.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.6576, allocations: 84.14 kB / 0.7308 GB, free: 8.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.6576, allocations: 15.89 kB / 0.7308 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.6576, allocations: 0 / 0.7308 GB, free: 8.668 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6577, allocations: 314.8 kB / 0.7311 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.6578, allocations: 8 kB / 0.7311 GB, free: 8.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.6578, allocations: 21.7 kB / 0.7311 GB, free: 8.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.6578, allocations: 8 kB / 0.7311 GB, free: 8.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6579, allocations: 0 / 0.7311 GB, free: 8.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.942e-05/0.658, allocations: 61.62 kB / 0.7312 GB, free: 8.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.658, allocations: 4 kB / 0.7312 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.658, allocations: 0 / 0.7312 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.658, allocations: 0 / 0.7312 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.658, allocations: 4 kB / 0.7312 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.658, allocations: 4 kB / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.6581, allocations: 15.89 kB / 0.7312 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.6581, allocations: 7.938 kB / 0.7312 GB, free: 8.207 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.123e-05/0.6582, allocations: 117.8 kB / 0.7313 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.6582, allocations: 7.938 kB / 0.7313 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.6583, allocations: 7.906 kB / 0.7313 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6583, allocations: 0 / 0.7313 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6583, allocations: 0 / 0.7313 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6583, allocations: 0 / 0.7313 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.6584, allocations: 165.6 kB / 0.7315 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6584, allocations: 0 / 0.7315 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.6585, allocations: 7.938 kB / 0.7315 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6585, allocations: 0 / 0.7315 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6585, allocations: 4 kB / 0.7315 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6585, allocations: 4 kB / 0.7315 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6585, allocations: 3.984 kB / 0.7315 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6586, allocations: 80.98 kB / 0.7316 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.6587, allocations: 85.05 kB / 0.7317 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.6587, allocations: 384 / 0.7317 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.6587, allocations: 7.984 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6588, allocations: 4 kB / 0.7317 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.6588, allocations: 8 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.6588, allocations: 91.27 kB / 0.7318 GB, free: 7.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6588, allocations: 0 / 0.7318 GB, free: 7.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001896/0.659, allocations: 4 kB / 0.7318 GB, free: 7.516 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.0001719/0.6592, allocations: 99.19 kB / 0.7319 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.6593, allocations: 28.27 kB / 0.7319 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6593, allocations: 0 / 0.7319 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.6594, allocations: 16.06 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.6596, allocations: 16.81 kB / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.66, allocations: 146.6 kB / 0.7321 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.6603, allocations: 0.677 MB / 0.7327 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.6603, allocations: 7.984 kB / 0.7327 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.6604, allocations: 11.44 kB / 0.7328 GB, free: 6.457 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.6604, allocations: 0 / 0.7328 GB, free: 6.457 MB / 0.545 GB Notification: Performance of Templates: time 0.002961/0.6633, allocations: 470 kB / 0.7332 GB, free: 6.012 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: