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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.764/1.764, allocations: 251.7 MB / 0.5092 GB, free: 3.145 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.001581/0.001581, allocations: 67.91 kB / 0.6223 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.658, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002781/0.6608, allocations: 1.305 MB / 0.7258 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.6613, allocations: 191.2 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.6613, allocations: 8 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.6614, allocations: 3.938 kB / 0.726 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.6615, allocations: 15.91 kB / 0.726 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.6616, allocations: 7.938 kB / 0.726 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.6617, allocations: 31.92 kB / 0.726 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.6618, allocations: 4 kB / 0.7261 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.6619, allocations: 15.92 kB / 0.7261 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.6619, allocations: 15.92 kB / 0.7261 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.6619, allocations: 0 / 0.7261 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.662, allocations: 8 kB / 0.7261 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.662, allocations: 4 kB / 0.7261 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.662, allocations: 15.92 kB / 0.7261 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.6621, allocations: 31.89 kB / 0.7261 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6621, allocations: 0 / 0.7261 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6621, allocations: 0 / 0.7261 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.6622, allocations: 0 / 0.7261 GB, free: 11.38 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.0004917/0.6626, allocations: 353.4 kB / 0.7265 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6627, allocations: 8.031 kB / 0.7265 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.6627, allocations: 8.938 kB / 0.7265 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.6629, allocations: 164.4 kB / 0.7266 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6629, allocations: 4.375 kB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.6629, allocations: 384 / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.663, allocations: 42.25 kB / 0.7267 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.663, allocations: 192 / 0.7267 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6631, allocations: 3.938 kB / 0.7267 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6631, allocations: 0 / 0.7267 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.6631, allocations: 12 kB / 0.7267 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.6635, allocations: 264.8 kB / 0.727 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.6639, allocations: 78.44 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.6639, allocations: 12.86 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.6639, allocations: 0 / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.6641, allocations: 67.44 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.6641, allocations: 0 / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.6643, allocations: 57.69 kB / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.6643, allocations: 55.39 kB / 0.7272 GB, free: 10.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.6644, allocations: 109.9 kB / 0.7273 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.6645, allocations: 25.7 kB / 0.7273 GB, free: 9.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.6645, allocations: 92.12 kB / 0.7274 GB, free: 9.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.6645, allocations: 11.89 kB / 0.7274 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.6646, allocations: 17.72 kB / 0.7275 GB, free: 9.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6647, allocations: 322.8 kB / 0.7278 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.6647, allocations: 7.984 kB / 0.7278 GB, free: 9.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.6648, allocations: 17.72 kB / 0.7278 GB, free: 9.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.6648, allocations: 33.66 kB / 0.7278 GB, free: 9.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6648, allocations: 7.938 kB / 0.7278 GB, free: 9.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.376e-05/0.6649, allocations: 61.75 kB / 0.7279 GB, free: 9.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6649, allocations: 4 kB / 0.7279 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.665, allocations: 4 kB / 0.7279 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.665, allocations: 3.984 kB / 0.7279 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.02e-05/0.665, allocations: 8 kB / 0.7279 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.665, allocations: 0 / 0.7279 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.6651, allocations: 4 kB / 0.7279 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.6651, allocations: 0 / 0.7279 GB, free: 9.32 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,booPul.pulseStart,$PRE.booPul.pulseStart,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): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.636e-05/0.6652, allocations: 121.8 kB / 0.728 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.6652, allocations: 7.984 kB / 0.728 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.6652, allocations: 7.906 kB / 0.7281 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.6652, allocations: 0 / 0.7281 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6652, allocations: 0 / 0.7281 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6652, allocations: 0 / 0.7281 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.6654, allocations: 173.5 kB / 0.7282 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6654, allocations: 0 / 0.7282 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.6654, allocations: 3.938 kB / 0.7282 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6654, allocations: 4 kB / 0.7282 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.6654, allocations: 4 kB / 0.7282 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6655, allocations: 0 / 0.7282 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6655, allocations: 3.938 kB / 0.7282 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.6656, allocations: 77.06 kB / 0.7283 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.6656, allocations: 85.09 kB / 0.7284 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.6657, allocations: 384 / 0.7284 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.6657, allocations: 4 kB / 0.7284 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.6657, allocations: 3.984 kB / 0.7284 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.6658, allocations: 12 kB / 0.7284 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.6658, allocations: 83.28 kB / 0.7285 GB, free: 8.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6658, allocations: 0 / 0.7285 GB, free: 8.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001851/0.666, allocations: 12 kB / 0.7285 GB, free: 8.625 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 (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.0001181/0.6661, allocations: 103.2 kB / 0.7286 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.6663, allocations: 23.94 kB / 0.7286 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6663, allocations: 0 / 0.7286 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.6663, allocations: 20.05 kB / 0.7286 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.6665, allocations: 16.25 kB / 0.7287 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.6669, allocations: 137.7 kB / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.6671, allocations: 0.6807 MB / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.6671, allocations: 0 / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.6672, allocations: 11.44 kB / 0.7295 GB, free: 7.582 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6672, allocations: 4 kB / 0.7295 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Templates: time 0.002653/0.6698, allocations: 0.5508 MB / 0.73 GB, free: 7.043 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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)